摘要: 在用户控件中:.......publicdelegatevoidMessage_str(stringmessageText);publicpartialclassTEST2:UserControl{publiceventMessage_strMessage_Arrived;publicTEST2(){InitializeComponent();this.button1.Click+=newEventHandler(button1_Click);}voidbutton1_Click(objectsender,EventArgse){Message_Arrived(textBox1.Text);} 阅读全文
posted @ 2013-10-21 17:04 小锋神 阅读(1314) 评论(0) 推荐(0) 编辑