put code on 1 line
This commit is contained in:
parent
38d84788ce
commit
8c0ef2af64
1 changed files with 1 additions and 4 deletions
|
@ -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.";
|
||||
DialogResult result = MessageBox.Show(exitMessage, "Saviour Backup System Exiting...", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
|
||||
if ( result == System.Windows.Forms.DialogResult.Yes)
|
||||
{
|
||||
Application.Exit();
|
||||
}
|
||||
if ( result == System.Windows.Forms.DialogResult.Yes) { Application.Exit(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue