Esempio n. 1
0
 private void SbookTimer_Tick(object sender, EventArgs e)
 {
     if (isCollapsed2)
     {
         studentPassPanel.Height = studentPassPanel.Height - 400;
         if (studentPassPanel.Height >= PanelHeight)
         {
             SpassTimer.Stop();
             isCollapsed2 = false;
             this.Refresh();
         }
     }
     else if (isCollapsed1)
     {
         infoPanelS.Width = infoPanelS.Width - 825;
         if (infoPanelS.Width >= PanelWidth1)
         {
             SinfoTimer.Stop();
             isCollapsed1 = false;
             this.Refresh();
         }
     }
     else
     {
         SbookTimer.Stop();
     }
 }
Esempio n. 2
0
 private void studentChangePassBtn_Click(object sender, EventArgs e)
 {
     SpassTimer.Start();
 }