/// <summary>
 /// Set selection form to an existing form
 /// </summary>
 /// <param name="selectionForm"></param>
 public void setSelectionForm(selectionForm selectionForm)
 {
     this.selectionForm = selectionForm;
 }
 /// <summary>
 /// reopens previous form and hides this form
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void cancelButton_Click(object sender, EventArgs e)
 {
     if (selectionForm == null)
     {
         this.selectionForm = new selectionForm();
     }
     this.selectionForm.setPrevForm(this);
     this.selectionForm.Show();
     this.Hide();
 }