Posted on 2003-12-08
I have an MDI application.
When my parent opens a child form I am able to hook into the close event of the child form in my parent's code as follows:
private void File_New_Click(object sender, System.EventArgs e)
NewPartitionForm1 objForm = new NewPartitionForm1();
objForm.MdiParent = this;
objForm.Closing += new CancelEventHandler(Form1_Closed);
How can I hook into events such as click events of buttons on my child though?