private static void AnimationEditorTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) { animationEditorTimer.Stop(); System.Windows.Application.Current.Dispatcher.Invoke(() => { if (frmLiveAnimationEditor == null) { frmLiveAnimationEditor = new FrmLiveAnimationEditor(); } frmLiveAnimationEditor.Show(); }); // image_source //HubtasticBaseStation.ShowImageFront(@"Editor/FrontTest.png"); //HubtasticBaseStation.ShowImageBack(@"Editor/BackTest.png"); }
public static void ClosingEditor() { frmLiveAnimationEditor = null; }