예제 #1
0
파일: MainForm.cs 프로젝트: TeaRX27/MAUEK
 private void PrintTimer_Tick(object sender, EventArgs e)
 {
     if (pcollapsed)
     {
         Print.BringToFront();
         Print.Width += 100;
         if (Print.Size == Print.MaximumSize)
         {
             PrintTimer.Stop();
             pcollapsed              = false;
             HomeButton.Enabled      = true;
             EventListButton.Enabled = true;
             EventRegButton.Enabled  = true;
             PrintButton.Enabled     = true;
         }
     }
     else
     {
         Print.SendToBack();
         Print.Width -= 100;
         if (Print.Size == Print.MinimumSize)
         {
             PrintTimer.Stop();
             pcollapsed              = true;
             HomeButton.Enabled      = true;
             EventListButton.Enabled = true;
             EventRegButton.Enabled  = true;
             PrintButton.Enabled     = true;
         }
     }
 }