private void StartScreenSaverMenuEventHandler(object sender, EventArgs e) { MonitorOff.StartScreenSaver(this); }
/// <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); }