作业1

作者: 羊羊羊SHADOW | 来源:发表于2018-10-18 08:44 被阅读0次

    #作业要求

    #代码

    using System;

    using System.Collections.Generic;

    using System.ComponentModel;

    using System.Data;

    using System.Drawing;

    using System.Linq; using System.Text;

    using System.Windows.Forms;

    namespace _1 {

    public partial class Form1 : Form {

    public Form1() {

    InitializeComponent(); }

    private void button1_Click(object sender, EventArgs e) {

    //向文本框输入"""hello world"

    textBox1.Text = "hello world"; }

    private void button2_Click(object sender, EventArgs e) {

    //清除文本框的内容

    textBox1.Text="";

    #效果

    作业1

    相关文章

      网友评论

          本文标题:作业1

          本文链接:https://www.haomeiwen.com/subject/vekrzftx.html