/// <summary> /// Adds a new SpreadsheetWindow to the Application Context. Doing this opens the window /// and makes sure that the form doesn't close if the new window closes. /// </summary> private void NewToolStripMenuItem_Click(object sender, EventArgs e) { SpreadsheetApplicationContext.GetAppContext().RunForm(new SpreadsheetWindow()); }