摘要:
User Control ClosingEventusing System.Windows.Forms;namespace UserControlClosingEvent{ public partial class UserControl1 : UserControl { public UserControl1() { InitializeComponent(); } protected override void OnCreateControl() { base.OnCreateControl(); this.ParentForm.FormClosing += new FormClosing 阅读全文