//------------------------------------------------------------- public void UndisposeForm() { if (this.Form.IsDisposed) { // When user manually closes Form, recreate this.Form = new forms.TimerForm(); } }
List<int> TimerIdCache = new List<int>(); // for timer ordering in UI //------------------------------------------------------------- public Controller() { // init ui and timer container this.Form = new forms.TimerForm(); Timers = new Timers(); }