TurnOffMonitor() публичный статический Метод

public static TurnOffMonitor ( Window wnd ) : void
wnd System.Windows.Window
Результат void
 /// <summary>
 /// Hyperlink clicked method.
 /// </summary>
 /// <param name="sender">The sender of the message.</param>
 /// <param name="e">Routed event arguments.</param>
 private void Hyperlink_Click(object sender, RoutedEventArgs e)
 {
     this.HideWindow(); // todo remove pinning
     MonitorOff.TurnOffMonitor(this);
 }
 private void MonitorOffMenuEventHandler(object sender, EventArgs e)
 {
     MonitorOff.TurnOffMonitor(this);
 }