Beispiel #1
0
        private void RecorderLogic_ReplayFinished(object sender, EventArgs e)
        {
            imageLogic.ClearCache();

            Dispatcher.Invoke(async() =>
            {
                await stateMachine.TransitAsync(StateMachine.Event.Stop);
            });
        }
Beispiel #2
0
        private void RecorderLogic_ReplayFinished(object sender, EventArgs e)
        {
            imageLogic.ClearCache();

            Dispatcher.Invoke(() =>
            {
                viewModel.State        = State.Idle;
                viewModel.CurrentFrame = 0;

                Draw();
            });
        }
 public void ClearCache()
 {
     imageLogic.ClearCache();
 }