Пример #1
0
 public DebugSpatial(float time, string label, Color? col)
 {
     Colour   = col.HasValue ? col.Value : Color.White;
     Label    = label;
     Lifespan = new TimerSimple(time);
 }
Пример #2
0
 public MainWindowViewModel()
 {
     Timer = new TimerSimple(1000);
     Timer.TimerElapsed += _timer_Elapsed;
     _defaultTime        = Time = OddTime = EvenTime = "00:00:00";
 }