1
Fork 0

put code on 1 line

This commit is contained in:
Jake Howard 2014-11-08 09:23:54 +00:00
parent 38d84788ce
commit 8c0ef2af64

View file

@ -35,10 +35,7 @@ namespace Saviour_Backup_System
{ {
string exitMessage = "Are you sure you want to close Saviour Backup System? \n All copying backups and backup scanning will cease."; string exitMessage = "Are you sure you want to close Saviour Backup System? \n All copying backups and backup scanning will cease.";
DialogResult result = MessageBox.Show(exitMessage, "Saviour Backup System Exiting...", MessageBoxButtons.YesNo, MessageBoxIcon.Warning); DialogResult result = MessageBox.Show(exitMessage, "Saviour Backup System Exiting...", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
if ( result == System.Windows.Forms.DialogResult.Yes) if ( result == System.Windows.Forms.DialogResult.Yes) { Application.Exit(); }
{
Application.Exit();
}
} }
} }
} }