private void uxSearch_Click(object sender, EventArgs e)
 {
     if (uxSearchButton.Enabled == true)
     {
         uxSearchForm              = new uxDBSearchForm();
         uxSearchForm.SubmitEvent += new enableSearchButton(uxDBSearchForm_ButtonEnabled);
         uxSearchForm.Show();
         uxSearchButton.Enabled = false;
     }
 }
Exemple #2
0
 /// <summary>
 ///  Creates an instance of the DBSearchForm. The form allows the user to search for a movie within the database.
 /// </summary>
 private void uxSearch_Click(object sender, EventArgs e)
 {
     if (uxSearchButton.Enabled == true)
     {
         uxSearchForm = new uxDBSearchForm();
         uxSearchForm._enableButtons += new enableButtonsSearch(uxDBMenu_ButtonsEnabled);
         uxSearchForm.Show();
         uxSearchButton.Enabled       = false;
         uxInsertMoviewButton.Enabled = false;
         uxAddReviewButton.Enabled    = false;
     }
 }