/// <summary> /// Shows the Encoder window. /// </summary> /// <param name="scale">Screen scale.</param> public static void Start(double scale) { #region If already started if (_encoder != null) { if (_encoder.WindowState == WindowState.Minimized) { Restore(); } _encoder.Activate(); return; } #endregion _encoder = new Encoder(); var screen = ScreenHelper.GetScreen(_encoder); //Lower Right corner. _encoder.Left = screen.WorkingArea.Width / scale - _encoder.Width; _encoder.Top = screen.WorkingArea.Height / scale - _encoder.Height; _encoder.Show(); }