예제 #1
0
파일: Form1.cs 프로젝트: amozoss/CS3505
 private void LoadStartupGUIConnection(object o, EventArgs e)
 {
     CreateOrJoin firstForm = new CreateOrJoin(CreateDelegate, JoinDelegate);
     firstForm.ShowDialog();
 }
예제 #2
0
파일: Form1.cs 프로젝트: amozoss/CS3505
 /// <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();
 }
예제 #3
0
파일: MainGUI.cs 프로젝트: amozoss/CS3505
 private void newConnectionToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CreateOrJoin firstForm = new CreateOrJoin(CreateDelegate, JoinDelegate);
     firstForm.ShowDialog();
 }