/// <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 }
public void ShowEffectsWindow(double top = -1, double left = -1) { if (EffectsWindow is null) { EffectsWindow = new EffectsWindow(this, top, left); EffectsWindow.Show(); } else { EffectsWindow.Focus(); } }
/// <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(); } } }