private void LoadStartupGUIConnection(object o, EventArgs e) { CreateOrJoin firstForm = new CreateOrJoin(CreateDelegate, JoinDelegate); firstForm.ShowDialog(); }
/// <summary> /// Deals with the New menu /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void newToolStripMenuItem_Click(object sender, EventArgs e) { // Tell the application context to run the form on the same // thread as the other forms. //SpreadsheetApplicationContext.getAppContext().RunForm(new SpreadsheetGUI()); spreadsheet = new Spreadsheet(); //spreadsheetPanel1 = new SpreadsheetPanel(); CreateOrJoin cj = new CreateOrJoin(CreateDelegate, JoinDelegate); cj.ShowDialog(); }
private void newConnectionToolStripMenuItem_Click(object sender, EventArgs e) { CreateOrJoin firstForm = new CreateOrJoin(CreateDelegate, JoinDelegate); firstForm.ShowDialog(); }