子窗体关闭,父窗体也关闭
摘要:
其实是窗口间通讯的问题 实现方法: 在子窗口中声明事件: public event childclose closefather; 然后在它的关闭事件中触发本事件: private void Form1_Closed(object sender, System.EventArgs e) { //用事件去关闭主窗口 clo... 阅读全文
posted @ 2008-06-07 01:09 与非门 阅读(1170) 评论(0) 推荐(0) 编辑