From 213b4eb226051b7a8dc916521a7c75453882a5ca Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 2 Aug 2014 10:46:28 +0100 Subject: [PATCH] added function to run on form close, and added comment for the population of the device tab --- Saviour Backup System/mainWindow.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Saviour Backup System/mainWindow.cs b/Saviour Backup System/mainWindow.cs index 87a3e54..917206d 100644 --- a/Saviour Backup System/mainWindow.cs +++ b/Saviour Backup System/mainWindow.cs @@ -134,9 +134,10 @@ namespace Saviour_Backup_System private void formatDriveCapacityTimer_Tick(object sender, EventArgs e) { try { formatDriveCapacity(); } catch { } } //Because background workers cant interact with the GUI (very quickly) private void populateDeviceTab() { - + // put stuff in here!! deviceTab.Visible = true; deviceTab.Select(); } + private void mainWindow_FormClosing(object sender, FormClosingEventArgs e) { setup.closeProgram(sender, e); } } }