예제 #1
0
 private void StopTimerTick()
 {
     if (UiTimer != null)
     {
         UiTimer.Stop();
     }
 }
예제 #2
0
        private void TrainTimer_Elapsed(object sender, ElapsedEventArgs e)
        {
            Counter        = 0;
            FirstEventTime = DateTime.MinValue;
            LastEventTime  = DateTime.MinValue;

            UiTimer.Stop();
        }
예제 #3
0
 private async Task StartAnimation()
 {
     UiTimer.Stop();
     await InvokeAsync(StateHasChanged);
 }
예제 #4
0
 private void StopTimerTick()
 {
     UiTimer?.Stop();
 }