예제 #1
0
        protected override void OnClosing(CancelEventArgs e)
        {
            base.OnClosing(e);

            Config.EndOfApplication = true;
            UiUpdater?.Stop();
            EnvironmentThread?.Abort();
            AnimationThread?.Abort();
        }
예제 #2
0
        private void BtnStopClick(object sender, EventArgs e)
        {
            EnvironmentThread?.Abort();
            AnimationThread?.Abort();
            UiUpdater?.Stop();
            RefreshInfo();

            SetButtonsEnable(false);
        }
예제 #3
0
 public void End()
 {
     AnimationThread?.Abort();
 }