作业1

2018-10-18  本文已影响0人  羊羊羊SHADOW

#作业要求

#代码

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
上一篇 下一篇

猜你喜欢

热点阅读