1
Fork 0

changed closing code to stop errors

This commit is contained in:
Jake Howard 2014-11-16 17:15:53 +00:00
parent eacd021200
commit eb4dfe7f60

View file

@ -162,6 +162,7 @@ namespace Saviour_Backup_System
formatDriveCapacityTimer.Stop();
driveRefreshTimer.Stop();
this.Close();
this.Dispose();
break;
case(CloseReason.UserClosing):
this.removeDisplay();
@ -179,10 +180,6 @@ namespace Saviour_Backup_System
setup.ABW.Show();
}
private void exitButton_Click(object sender, EventArgs e)
{
this.removeDisplay();
setup.closeProgram();
}
private void exitButton_Click(object sender, EventArgs e) { setup.closeProgram(); }
}
}