Beispiel #1
0
 private void FbookTimer_Tick(object sender, EventArgs e)
 {
     if (isCollapsed2)
     {
         facultyPassPanel.Height = facultyPassPanel.Height - 400;
         if (facultyPassPanel.Height >= PanelHeight)
         {
             FpassTime.Stop();
             isCollapsed2 = false;
             this.Refresh();
         }
     }
     else if (isCollapsed1)
     {
         infoPanelF.Width = infoPanelF.Width - 825;
         if (infoPanelF.Width >= PanelWidth1)
         {
             FinfoBoxTimer.Stop();
             isCollapsed1 = false;
             this.Refresh();
         }
     }
     else
     {
         FbookTimer.Stop();
     }
 }
Beispiel #2
0
 private void fcaultyChangePassBtn_Click(object sender, EventArgs e)
 {
     FpassTime.Start();
 }