/// <summary> /// When user cliks on red cross /// </summary> /// <param name="sender">LoginForm</param> /// <param name="e">System.EventArgs</param> private void LoginForm_Closed(object sender, EventArgs e) { CalculatorForm calculatorForm = new CalculatorForm(); calculatorForm.Show(); }
private void lommeregnerToolStripMenuItem_Click(object sender, EventArgs e) { CalculatorForm form = new CalculatorForm(); form.Show(dp_main, DockState.Document); }