private void Settings_ExecutableExited(object sender, ExecutableEventArgs e) { if (TrayIcon is null) { return; } TrayIcon.ShowBalloonTip(3000, e.Executable.Name, l.ExecutableStoppedMessage, WF.ToolTipIcon.Info); }
private void Settings_ExecutableError(object sender, ExecutableEventArgs e) { if (TrayIcon is null) { return; } TrayIcon.ShowBalloonTip(3000, e.Executable.Name, l.ExecutableErrorMessage, WF.ToolTipIcon.Error); }
private void Executable_ProcessExited(object sender, ExecutableEventArgs e) { OnExecutableExited(e.Executable); }
private void Executable_ProcessPathError(object sender, ExecutableEventArgs e) { OnExecutablePathError(e.Executable); }
private void Settings_ExecutablePathError(object sender, ExecutableEventArgs e) { TrayIcon.ShowBalloonTip(3000, string.Format("{0}: {1}", e.Executable.Name, l.ExecutableNotFoundWarningCaption), l.ExecutableNotFoundWarningMessage, WF.ToolTipIcon.Warning); }