From 8ebf8d5e9eb9d1702eac861b3e27e4dcd54168e0 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 8 Dec 2014 15:20:07 +0000 Subject: [PATCH] added button events for displaying backups window --- Saviour Backup System/mainWindow.Designer.cs | 1 + Saviour Backup System/mainWindow.cs | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/Saviour Backup System/mainWindow.Designer.cs b/Saviour Backup System/mainWindow.Designer.cs index eed9a35..436668d 100644 --- a/Saviour Backup System/mainWindow.Designer.cs +++ b/Saviour Backup System/mainWindow.Designer.cs @@ -204,6 +204,7 @@ this.viewAllRulesButton.Name = "viewAllRulesButton"; this.viewAllRulesButton.SubItemsExpandWidth = 14; this.viewAllRulesButton.Text = "View All Rules"; + this.viewAllRulesButton.Click += new System.EventHandler(this.viewAllRulesButton_Click); // // currentTransfersButton // diff --git a/Saviour Backup System/mainWindow.cs b/Saviour Backup System/mainWindow.cs index af74f6c..5f9449c 100644 --- a/Saviour Backup System/mainWindow.cs +++ b/Saviour Backup System/mainWindow.cs @@ -188,5 +188,11 @@ namespace Saviour_Backup_System { } + + private void viewAllRulesButton_Click(object sender, EventArgs e) + { + setup.BV = new backupViewer(); + setup.BV.Show(); + } } }