Little and Mickle

All things are difficult before they are easy.

导航

2005年8月15日 #

C#中调用控件的事件

摘要: 常常需要在button1的事件中调用另button2的事件,我们可以通过直接调用button2的方法,如下: private void button2_Click(object sender, System.EventArgs e) { MessageBox.Show("message from button 2","message"); } private void button... 阅读全文

posted @ 2005-08-15 18:19 davidullua 阅读(1923) 评论(0) 推荐(0)