/// <summary> /// Passes the start form to this form /// </summary> /// <param name="startForm"></param> public void setStartForm(startForm startForm) { this.startForm = startForm; }
/// <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(); }