示例#1
0
文件: MainForm.cs 项目: TeaRX27/MAUEK
 private void EventListButton_Click(object sender, EventArgs e)
 {
     distance = Marker.Top - EventListButton.Top;
     checksize();
     timer1.Start();
     if (elcollapsed)
     {
         HomeButton.Enabled      = false;
         EventListButton.Enabled = false;
         EventRegButton.Enabled  = false;
         PrintButton.Enabled     = false;
         EventListTimer.Start();
         if (!hcollapsed)
         {
             HomeTimer.Start();
         }
         if (!ercollapsed)
         {
             EventRegTimer.Start();
         }
         if (!pcollapsed)
         {
             PrintTimer.Start();
         }
     }
 }
示例#2
0
        private void FrmMain_Load(object sender, EventArgs e)
        {
            openConnection();



            timer1.Start();
            PrintTimer.Start();
        }
示例#3
0
 public void Print(string text)
 {
     _lines.Add(text);
     PrintTimer.Start();
 }
示例#4
0
 public void Clear()
 {
     _lines.Clear();
     PrintTimer.Start();
 }