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(); } } }
private void FrmMain_Load(object sender, EventArgs e) { openConnection(); timer1.Start(); PrintTimer.Start(); }
public void Print(string text) { _lines.Add(text); PrintTimer.Start(); }
public void Clear() { _lines.Clear(); PrintTimer.Start(); }