作业one

2018-10-17  本文已影响0人  零二幺五

private void button1_Click(object sender, EventArgs e)

        {

            textBox1.Text = "你好"; //在文本框中显示你好

        }

        private void button2_Click(object sender, EventArgs e)

        {

            textBox1.Text = ""; //清除文本框内容

        }

        private void button3_Click(object sender, EventArgs e)

        {

            MessageBox.Show("你好你好你好你好"); //弹窗显示你好你好你好你好

        }

end

上一篇 下一篇

猜你喜欢

热点阅读