/// <summary> /// Show Effects window /// </summary> internal static void EffectsWindow() { if (GetEffectsWindow == null) { GetEffectsWindow = new EffectsWindow { Owner = GetMainWindow }; GetEffectsWindow.Show(); } else { if (GetEffectsWindow.Visibility == Visibility.Visible) { GetEffectsWindow.Focus(); } else { GetEffectsWindow.Show(); } } #if DEBUG Trace.WriteLine("EffectsWindow loaded "); #endif }
/// <summary> /// Show Effects window /// </summary> internal static void EffectsWindow() { if (GetEffectsWindow == null) { GetEffectsWindow = new EffectsWindow(); GetEffectsWindow.Show(); } else { if (GetEffectsWindow.Visibility == Visibility.Visible) { GetEffectsWindow.Focus(); } else { GetEffectsWindow.Show(); } } }