private void uxInsertMovie_Click(object sender, EventArgs e)
 {
     if (uxInsertMoviewButton.Enabled == true)
     {
         uxInsertForm              = new uxDBInsertForm();
         uxInsertForm.SubmitEvent += new enableInsertButton(uxDBInsertForm_ButtonEnabled);
         uxInsertForm.Show();
         uxInsertMoviewButton.Enabled = false;
     }
 }
Exemple #2
0
 /// <summary>
 /// Creates an instance of the DBInsertForm. The form allows the user to add a movie to the Movie Database.
 /// </summary>
 private void uxInsertMovie_Click(object sender, EventArgs e)
 {
     if (uxInsertMoviewButton.Enabled == true)
     {
         uxInsertForm = new uxDBInsertForm();
         uxInsertForm._enableButtons += new enableButtonsInsert(uxDBMenu_ButtonsEnabled);
         uxInsertForm.Show();
         uxInsertMoviewButton.Enabled = false;
         uxAddReviewButton.Enabled    = false;
         uxSearchButton.Enabled       = false;
     }
 }