예제 #1
0
 /// <summary>
 /// Passes the start form to this form
 /// </summary>
 /// <param name="startForm"></param>
 public void setStartForm(startForm startForm)
 {
     this.startForm = startForm;
 }
예제 #2
0
 /// <summary>
 /// Cancel selection and return to start
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void cancelButton_Click(object sender, EventArgs e)
 {
     if (this.startForm == null)
     {
         startForm = new startForm();
     }
     startForm.setFormLocation(this.Location);
     startForm.Show();
     this.Hide();
 }