public void Stop()
 {
     if (!IsRunning()) return;
     _timer.Enabled = false;
     Controller.Dispose();
     Controller = null;
 }
        public void Start()
        {
            if (IsRunning()) return;

            Controller = new rklcd.Controller();
            Controller.ButtonUp += Controller_ButtonUp;
            PaintImage();
            _timer = new System.Timers.Timer(40);
            _timer.Elapsed += Timer_Tick;
            _timer.Enabled = true;
        }
        public void Start()
        {
            if (IsRunning())
            {
                return;
            }

            Controller           = new rklcd.Controller();
            Controller.ButtonUp += Controller_ButtonUp;
            PaintImage();
            _timer          = new System.Timers.Timer(40);
            _timer.Elapsed += Timer_Tick;
            _timer.Enabled  = true;
        }