Пример #1
0
 private void Form4_FormClosing(Object sender, FormClosingEventArgs e)
 {
     openFindForm = null;
 }
Пример #2
0
 private void Find()
 {
     Form4 newForm = new Form4();
     openFindForm = newForm;
     openFindForm.btnFind.Click += new System.EventHandler(this.PressedFind);
     newForm.Show();
     openFindForm.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form4_FormClosing);
 }