1
Fork 0

added close program button to notification icon

This commit is contained in:
Jake Howard 2014-11-08 09:27:36 +00:00
parent 8c0ef2af64
commit d0ad8170e8

View file

@ -25,10 +25,13 @@ namespace Saviour_Backup_System
{
contextMenu.MenuItems.Add("Show Interface", displayWindow);
contextMenu.MenuItems.Add("Copy Progress", showProgress);
contextMenu.MenuItems.Add("Exit", closeProgram);
}
private void displayWindow(object sender, EventArgs e) { setup.MW.showDisplay(); }
private void showProgress(object sender, EventArgs e) { return; }
private void closeProgram(object sender, EventArgs e) { setup.closeProgram(); }
internal void displayStillRunning() {
notifyIcon.BalloonTipText = "Saviour backup system is still running in the background";
notifyIcon.BalloonTipTitle = "Still running...";