Beispiel #1
0
 private void AllDirectorsBtn_Click(object sender, EventArgs e)
 {
     DirectorDropDownTimer.Start();
     ActiveUserControl.ActiveUserControl = directorsUserControl;
     dataGrid1.LoadAllDirectorsToGrid();
     directorsUserControl.SetControlAsSearch();
 }
Beispiel #2
0
 private void EditDirectorsBtn_Click(object sender, EventArgs e)
 {
     DirectorDropDownTimer.Start();
     ActiveUserControl.ActiveUserControl = directorsUserControl;
     dataGrid1.LoadAllDirectorsToGrid();
     directorsUserControl.SetControlAsEdit();
     SelectedRowChange_Event(sender, e);
 }
Beispiel #3
0
 private void DirectorDropDownTimer_Tick(object sender, EventArgs e)
 {
     if (!DirectorTabOpening)
     {
         DirectorPanel.Height -= 11;
         if (DirectorPanel.Height <= 0)
         {
             DirectorPanel.Height = 0;
             DirectorTabOpening   = true;
             DirectorDropDownTimer.Stop();
         }
     }
     else if (DirectorTabOpening)
     {
         DirectorPanel.Height += 11;
         if (DirectorPanel.Height >= 99)
         {
             DirectorPanel.Height = 99;
             DirectorTabOpening   = false;
             DirectorDropDownTimer.Stop();
         }
     }
 }
Beispiel #4
0
 private void DirectorDropDownBtn_Click(object sender, EventArgs e)
 {
     DirectorDropDownTimer.Start();
 }