private void button2_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.Cancel; MDIParent1.Form3Close(this.DialogResult); this.Hide(); }
private void Form1_FormClosing(object sender, FormClosingEventArgs e) { MDIParent1.DecrementCount(); }
public MDIParent1() { InitializeComponent(); mdiparent = this; }
private void webBrowser1_Navigated(object sender, WebBrowserNavigatedEventArgs e) { Cursor.Current = oldCursor; MDIParent1.SetStatus("Done"); }