예제 #1
0
 private void AllDirectorsBtn_Click(object sender, EventArgs e)
 {
     DirectorDropDownTimer.Start();
     ActiveUserControl.ActiveUserControl = directorsUserControl;
     dataGrid1.LoadAllDirectorsToGrid();
     directorsUserControl.SetControlAsSearch();
 }
예제 #2
0
 private void EditDirectorsBtn_Click(object sender, EventArgs e)
 {
     DirectorDropDownTimer.Start();
     ActiveUserControl.ActiveUserControl = directorsUserControl;
     dataGrid1.LoadAllDirectorsToGrid();
     directorsUserControl.SetControlAsEdit();
     SelectedRowChange_Event(sender, e);
 }
예제 #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();
         }
     }
 }
예제 #4
0
 private void DirectorDropDownBtn_Click(object sender, EventArgs e)
 {
     DirectorDropDownTimer.Start();
 }