예제 #1
0
 override public void Start(ICore core)
 {
     _core = core;
     _miniWindow = new FrmMiniWindow(this);
     _miniWindow.Opacity = _settings.Opacity;
     _miniWindow.Location = _settings.Position;
     _miniWindow.Size = _settings.Size;
     if (_settings.AutoScroll)
     {
         _timer = new Timer();
         _timer.Interval = _settings.AutoScrollTimer;
         _timer.Tick += _timer_Tick;
     }
     else
         _timer = null;
     InvokeStartedEvent(null);
 }
예제 #2
0
 override public void Stop()
 {
     if (_timer != null)
         _timer.Enabled = false;
     if (_miniWindow != null)
     {
         _miniWindow.Close();
         _miniWindow = null;
     }
 }