1
Fork 0

event handler testing for oneclick update on college network

This commit is contained in:
Jake Howard 2015-01-14 11:12:23 +00:00
parent dedc08ceb0
commit 86e23f3ef8
2 changed files with 208 additions and 202 deletions

View file

@ -31,14 +31,6 @@
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(mainWindow)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(mainWindow));
this.ribbonControl = new DevComponents.DotNetBar.RibbonControl(); this.ribbonControl = new DevComponents.DotNetBar.RibbonControl();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar7 = new DevComponents.DotNetBar.RibbonBar();
this.backupDeviceButton = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel4 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem6 = new DevComponents.DotNetBar.ButtonItem();
this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem5 = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel(); this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar1 = new DevComponents.DotNetBar.RibbonBar(); this.ribbonBar1 = new DevComponents.DotNetBar.RibbonBar();
this.viewAllRulesButton = new DevComponents.DotNetBar.ButtonItem(); this.viewAllRulesButton = new DevComponents.DotNetBar.ButtonItem();
@ -48,6 +40,14 @@
this.ribbonBar2 = new DevComponents.DotNetBar.RibbonBar(); this.ribbonBar2 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem();
this.addBackupRuleButton = new DevComponents.DotNetBar.ButtonItem(); this.addBackupRuleButton = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel4 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem6 = new DevComponents.DotNetBar.ButtonItem();
this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem5 = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar7 = new DevComponents.DotNetBar.RibbonBar();
this.backupDeviceButton = new DevComponents.DotNetBar.ButtonItem();
this.backupRestoreTab = new DevComponents.DotNetBar.RibbonTabItem(); this.backupRestoreTab = new DevComponents.DotNetBar.RibbonTabItem();
this.deviceTab = new DevComponents.DotNetBar.RibbonTabItem(); this.deviceTab = new DevComponents.DotNetBar.RibbonTabItem();
this.settingsTab = new DevComponents.DotNetBar.RibbonTabItem(); this.settingsTab = new DevComponents.DotNetBar.RibbonTabItem();
@ -81,9 +81,9 @@
this.backupDirectoryDisplay = new System.Windows.Forms.Label(); this.backupDirectoryDisplay = new System.Windows.Forms.Label();
this.backupDirectoryLabel = new System.Windows.Forms.Label(); this.backupDirectoryLabel = new System.Windows.Forms.Label();
this.ribbonControl.SuspendLayout(); this.ribbonControl.SuspendLayout();
this.ribbonPanel3.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
this.ribbonPanel2.SuspendLayout(); this.ribbonPanel2.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
this.ribbonPanel3.SuspendLayout();
this.statusStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.sideBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sideBar)).BeginInit();
this.sideBar.SuspendLayout(); this.sideBar.SuspendLayout();
@ -102,9 +102,9 @@
this.ribbonControl.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonControl.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonControl.CanCustomize = false; this.ribbonControl.CanCustomize = false;
this.ribbonControl.CaptionVisible = true; this.ribbonControl.CaptionVisible = true;
this.ribbonControl.Controls.Add(this.ribbonPanel2);
this.ribbonControl.Controls.Add(this.ribbonPanel4); this.ribbonControl.Controls.Add(this.ribbonPanel4);
this.ribbonControl.Controls.Add(this.ribbonPanel3); this.ribbonControl.Controls.Add(this.ribbonPanel3);
this.ribbonControl.Controls.Add(this.ribbonPanel2);
this.ribbonControl.Dock = System.Windows.Forms.DockStyle.Top; this.ribbonControl.Dock = System.Windows.Forms.DockStyle.Top;
this.ribbonControl.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.ribbonControl.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.backupRestoreTab, this.backupRestoreTab,
@ -135,73 +135,179 @@
this.ribbonControl.TabIndex = 0; this.ribbonControl.TabIndex = 0;
this.ribbonControl.Text = "Saviour Backup System"; this.ribbonControl.Text = "Saviour Backup System";
// //
// ribbonPanel3 // ribbonPanel2
// //
this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonPanel3.Controls.Add(this.ribbonBar7); this.ribbonPanel2.Controls.Add(this.ribbonBar1);
this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.ribbonPanel2.Controls.Add(this.ribbonBar3);
this.ribbonPanel3.Location = new System.Drawing.Point(0, 53); this.ribbonPanel2.Controls.Add(this.ribbonBar2);
this.ribbonPanel3.Name = "ribbonPanel3"; this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); this.ribbonPanel2.Location = new System.Drawing.Point(0, 53);
this.ribbonPanel3.Size = new System.Drawing.Size(992, 108); this.ribbonPanel2.Name = "ribbonPanel2";
this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
this.ribbonPanel2.Size = new System.Drawing.Size(992, 108);
// //
// //
// //
this.ribbonPanel3.Style.Class = ""; this.ribbonPanel2.Style.Class = "";
this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// //
// //
this.ribbonPanel3.StyleMouseDown.Class = ""; this.ribbonPanel2.StyleMouseDown.Class = "";
this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// //
// //
this.ribbonPanel3.StyleMouseOver.Class = ""; this.ribbonPanel2.StyleMouseOver.Class = "";
this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel3.TabIndex = 5; this.ribbonPanel2.TabIndex = 2;
this.ribbonPanel3.Visible = false; this.ribbonPanel2.Visible = false;
// //
// ribbonBar7 // ribbonBar1
// //
this.ribbonBar7.AutoOverflowEnabled = true; this.ribbonBar1.AutoOverflowEnabled = true;
// //
// //
// //
this.ribbonBar7.BackgroundMouseOverStyle.Class = ""; this.ribbonBar1.BackgroundMouseOverStyle.Class = "";
this.ribbonBar7.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar1.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// //
// //
this.ribbonBar7.BackgroundStyle.Class = ""; this.ribbonBar1.BackgroundStyle.Class = "";
this.ribbonBar7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonBar7.ContainerControlProcessDialogKey = true; this.ribbonBar1.ContainerControlProcessDialogKey = true;
this.ribbonBar7.Dock = System.Windows.Forms.DockStyle.Left; this.ribbonBar1.Dock = System.Windows.Forms.DockStyle.Left;
this.ribbonBar7.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.ribbonBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.backupDeviceButton}); this.viewAllRulesButton,
this.ribbonBar7.Location = new System.Drawing.Point(3, 0); this.currentTransfersButton});
this.ribbonBar7.Name = "ribbonBar7"; this.ribbonBar1.Location = new System.Drawing.Point(362, 0);
this.ribbonBar7.Size = new System.Drawing.Size(170, 105); this.ribbonBar1.Name = "ribbonBar1";
this.ribbonBar7.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonBar1.Size = new System.Drawing.Size(176, 105);
this.ribbonBar7.TabIndex = 0; this.ribbonBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar7.Text = "Backup / Restore"; this.ribbonBar1.TabIndex = 2;
this.ribbonBar1.Text = "Manage";
// //
// //
// //
this.ribbonBar7.TitleStyle.Class = ""; this.ribbonBar1.TitleStyle.Class = "";
this.ribbonBar7.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar1.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// //
// //
this.ribbonBar7.TitleStyleMouseOver.Class = ""; this.ribbonBar1.TitleStyleMouseOver.Class = "";
this.ribbonBar7.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar1.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// backupDeviceButton // viewAllRulesButton
// //
this.backupDeviceButton.Name = "backupDeviceButton"; this.viewAllRulesButton.ImageFixedSize = new System.Drawing.Size(55, 55);
this.backupDeviceButton.SubItemsExpandWidth = 14; this.viewAllRulesButton.Name = "viewAllRulesButton";
this.backupDeviceButton.Text = "Backup Device"; this.viewAllRulesButton.SubItemsExpandWidth = 14;
this.backupDeviceButton.Click += new System.EventHandler(this.backupDeviceButton_Click); this.viewAllRulesButton.Text = "View All Rules";
this.viewAllRulesButton.Click += new System.EventHandler(this.viewAllRulesButton_Click);
//
// currentTransfersButton
//
this.currentTransfersButton.Name = "currentTransfersButton";
this.currentTransfersButton.SubItemsExpandWidth = 14;
this.currentTransfersButton.Text = "Current Transfers";
this.currentTransfersButton.Click += new System.EventHandler(this.currentTransfersButton_Click);
//
// ribbonBar3
//
this.ribbonBar3.AutoOverflowEnabled = true;
//
//
//
this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar3.BackgroundStyle.Class = "";
this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonBar3.ContainerControlProcessDialogKey = true;
this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.buttonItem4});
this.ribbonBar3.Location = new System.Drawing.Point(209, 0);
this.ribbonBar3.Name = "ribbonBar3";
this.ribbonBar3.Size = new System.Drawing.Size(153, 105);
this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar3.TabIndex = 1;
this.ribbonBar3.Text = "Restore";
//
//
//
this.ribbonBar3.TitleStyle.Class = "";
this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar3.TitleStyleMouseOver.Class = "";
this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// buttonItem4
//
this.buttonItem4.ImageFixedSize = new System.Drawing.Size(55, 55);
this.buttonItem4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.buttonItem4.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Center;
this.buttonItem4.Name = "buttonItem4";
this.buttonItem4.SubItemsExpandWidth = 14;
this.buttonItem4.Text = "Restore Device from Backup";
//
// ribbonBar2
//
this.ribbonBar2.AutoOverflowEnabled = true;
//
//
//
this.ribbonBar2.BackgroundMouseOverStyle.Class = "";
this.ribbonBar2.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar2.BackgroundStyle.Class = "";
this.ribbonBar2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonBar2.ContainerControlProcessDialogKey = true;
this.ribbonBar2.Dock = System.Windows.Forms.DockStyle.Left;
this.ribbonBar2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.buttonItem2,
this.addBackupRuleButton});
this.ribbonBar2.Location = new System.Drawing.Point(3, 0);
this.ribbonBar2.Name = "ribbonBar2";
this.ribbonBar2.Size = new System.Drawing.Size(206, 105);
this.ribbonBar2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar2.TabIndex = 0;
this.ribbonBar2.Text = "Backup";
//
//
//
this.ribbonBar2.TitleStyle.Class = "";
this.ribbonBar2.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar2.TitleStyleMouseOver.Class = "";
this.ribbonBar2.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// buttonItem2
//
this.buttonItem2.ImageFixedSize = new System.Drawing.Size(55, 55);
this.buttonItem2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.buttonItem2.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Center;
this.buttonItem2.Name = "buttonItem2";
this.buttonItem2.PopupFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonItem2.SubItemsExpandWidth = 14;
this.buttonItem2.Text = "Backup All Devices";
//
// addBackupRuleButton
//
this.addBackupRuleButton.Name = "addBackupRuleButton";
this.addBackupRuleButton.SubItemsExpandWidth = 14;
this.addBackupRuleButton.Text = "Add Backup Rule";
this.addBackupRuleButton.Click += new System.EventHandler(this.addBackupRuleButton_Click);
// //
// ribbonPanel4 // ribbonPanel4
// //
@ -229,7 +335,6 @@
this.ribbonPanel4.StyleMouseOver.Class = ""; this.ribbonPanel4.StyleMouseOver.Class = "";
this.ribbonPanel4.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonPanel4.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel4.TabIndex = 4; this.ribbonPanel4.TabIndex = 4;
this.ribbonPanel4.Visible = false;
// //
// ribbonBar5 // ribbonBar5
// //
@ -310,183 +415,78 @@
this.buttonItem5.Name = "buttonItem5"; this.buttonItem5.Name = "buttonItem5";
this.buttonItem5.SubItemsExpandWidth = 14; this.buttonItem5.SubItemsExpandWidth = 14;
this.buttonItem5.Text = "Edit Preferences"; this.buttonItem5.Text = "Edit Preferences";
this.buttonItem5.Click += new System.EventHandler(this.buttonItem5_Click);
// //
// ribbonPanel2 // ribbonPanel3
// //
this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonPanel2.Controls.Add(this.ribbonBar1); this.ribbonPanel3.Controls.Add(this.ribbonBar7);
this.ribbonPanel2.Controls.Add(this.ribbonBar3); this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.ribbonPanel2.Controls.Add(this.ribbonBar2); this.ribbonPanel3.Location = new System.Drawing.Point(0, 53);
this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.ribbonPanel3.Name = "ribbonPanel3";
this.ribbonPanel2.Location = new System.Drawing.Point(0, 53); this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
this.ribbonPanel2.Name = "ribbonPanel2"; this.ribbonPanel3.Size = new System.Drawing.Size(992, 108);
this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
this.ribbonPanel2.Size = new System.Drawing.Size(992, 108);
// //
// //
// //
this.ribbonPanel2.Style.Class = ""; this.ribbonPanel3.Style.Class = "";
this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// //
// //
this.ribbonPanel2.StyleMouseDown.Class = ""; this.ribbonPanel3.StyleMouseDown.Class = "";
this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// //
// //
this.ribbonPanel2.StyleMouseOver.Class = ""; this.ribbonPanel3.StyleMouseOver.Class = "";
this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel2.TabIndex = 2; this.ribbonPanel3.TabIndex = 5;
this.ribbonPanel3.Visible = false;
// //
// ribbonBar1 // ribbonBar7
// //
this.ribbonBar1.AutoOverflowEnabled = true; this.ribbonBar7.AutoOverflowEnabled = true;
// //
// //
// //
this.ribbonBar1.BackgroundMouseOverStyle.Class = ""; this.ribbonBar7.BackgroundMouseOverStyle.Class = "";
this.ribbonBar1.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar7.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// //
// //
this.ribbonBar1.BackgroundStyle.Class = ""; this.ribbonBar7.BackgroundStyle.Class = "";
this.ribbonBar1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonBar1.ContainerControlProcessDialogKey = true; this.ribbonBar7.ContainerControlProcessDialogKey = true;
this.ribbonBar1.Dock = System.Windows.Forms.DockStyle.Left; this.ribbonBar7.Dock = System.Windows.Forms.DockStyle.Left;
this.ribbonBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.ribbonBar7.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.viewAllRulesButton, this.backupDeviceButton});
this.currentTransfersButton}); this.ribbonBar7.Location = new System.Drawing.Point(3, 0);
this.ribbonBar1.Location = new System.Drawing.Point(437, 0); this.ribbonBar7.Name = "ribbonBar7";
this.ribbonBar1.Name = "ribbonBar1"; this.ribbonBar7.Size = new System.Drawing.Size(170, 105);
this.ribbonBar1.Size = new System.Drawing.Size(176, 105); this.ribbonBar7.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonBar7.TabIndex = 0;
this.ribbonBar1.TabIndex = 2; this.ribbonBar7.Text = "Backup / Restore";
this.ribbonBar1.Text = "Manage";
// //
// //
// //
this.ribbonBar1.TitleStyle.Class = ""; this.ribbonBar7.TitleStyle.Class = "";
this.ribbonBar1.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar7.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// //
// //
this.ribbonBar1.TitleStyleMouseOver.Class = ""; this.ribbonBar7.TitleStyleMouseOver.Class = "";
this.ribbonBar1.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar7.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// viewAllRulesButton // backupDeviceButton
// //
this.viewAllRulesButton.ImageFixedSize = new System.Drawing.Size(55, 55); this.backupDeviceButton.Name = "backupDeviceButton";
this.viewAllRulesButton.Name = "viewAllRulesButton"; this.backupDeviceButton.SubItemsExpandWidth = 14;
this.viewAllRulesButton.SubItemsExpandWidth = 14; this.backupDeviceButton.Text = "Backup Device";
this.viewAllRulesButton.Text = "View All Rules"; this.backupDeviceButton.Click += new System.EventHandler(this.backupDeviceButton_Click);
this.viewAllRulesButton.Click += new System.EventHandler(this.viewAllRulesButton_Click);
//
// currentTransfersButton
//
this.currentTransfersButton.Name = "currentTransfersButton";
this.currentTransfersButton.SubItemsExpandWidth = 14;
this.currentTransfersButton.Text = "Current Transfers";
this.currentTransfersButton.Click += new System.EventHandler(this.currentTransfersButton_Click);
//
// ribbonBar3
//
this.ribbonBar3.AutoOverflowEnabled = true;
//
//
//
this.ribbonBar3.BackgroundMouseOverStyle.Class = "";
this.ribbonBar3.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar3.BackgroundStyle.Class = "";
this.ribbonBar3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonBar3.ContainerControlProcessDialogKey = true;
this.ribbonBar3.Dock = System.Windows.Forms.DockStyle.Left;
this.ribbonBar3.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.buttonItem4});
this.ribbonBar3.Location = new System.Drawing.Point(270, 0);
this.ribbonBar3.Name = "ribbonBar3";
this.ribbonBar3.Size = new System.Drawing.Size(167, 105);
this.ribbonBar3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar3.TabIndex = 1;
this.ribbonBar3.Text = "Restore";
//
//
//
this.ribbonBar3.TitleStyle.Class = "";
this.ribbonBar3.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar3.TitleStyleMouseOver.Class = "";
this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// buttonItem4
//
this.buttonItem4.ImageFixedSize = new System.Drawing.Size(55, 55);
this.buttonItem4.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.buttonItem4.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Center;
this.buttonItem4.Name = "buttonItem4";
this.buttonItem4.SubItemsExpandWidth = 14;
this.buttonItem4.Text = "Restore Device from Backup";
//
// ribbonBar2
//
this.ribbonBar2.AutoOverflowEnabled = true;
//
//
//
this.ribbonBar2.BackgroundMouseOverStyle.Class = "";
this.ribbonBar2.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar2.BackgroundStyle.Class = "";
this.ribbonBar2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonBar2.ContainerControlProcessDialogKey = true;
this.ribbonBar2.Dock = System.Windows.Forms.DockStyle.Left;
this.ribbonBar2.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.buttonItem2,
this.addBackupRuleButton});
this.ribbonBar2.Location = new System.Drawing.Point(3, 0);
this.ribbonBar2.Name = "ribbonBar2";
this.ribbonBar2.Size = new System.Drawing.Size(267, 105);
this.ribbonBar2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar2.TabIndex = 0;
this.ribbonBar2.Text = "Backup";
//
//
//
this.ribbonBar2.TitleStyle.Class = "";
this.ribbonBar2.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar2.TitleStyleMouseOver.Class = "";
this.ribbonBar2.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// buttonItem2
//
this.buttonItem2.ImageFixedSize = new System.Drawing.Size(55, 55);
this.buttonItem2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.buttonItem2.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Center;
this.buttonItem2.Name = "buttonItem2";
this.buttonItem2.PopupFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonItem2.SubItemsExpandWidth = 14;
this.buttonItem2.Text = "Backup All Devices";
//
// addBackupRuleButton
//
this.addBackupRuleButton.Name = "addBackupRuleButton";
this.addBackupRuleButton.SubItemsExpandWidth = 14;
this.addBackupRuleButton.Text = "Add Backup Rule";
this.addBackupRuleButton.Click += new System.EventHandler(this.addBackupRuleButton_Click);
// //
// backupRestoreTab // backupRestoreTab
// //
this.backupRestoreTab.Checked = true;
this.backupRestoreTab.Name = "backupRestoreTab"; this.backupRestoreTab.Name = "backupRestoreTab";
this.backupRestoreTab.Panel = this.ribbonPanel2; this.backupRestoreTab.Panel = this.ribbonPanel2;
this.backupRestoreTab.Text = "Backup and Restore"; this.backupRestoreTab.Text = "Backup and Restore";
@ -501,6 +501,7 @@
// //
// settingsTab // settingsTab
// //
this.settingsTab.Checked = true;
this.settingsTab.Name = "settingsTab"; this.settingsTab.Name = "settingsTab";
this.settingsTab.Panel = this.ribbonPanel4; this.settingsTab.Panel = this.ribbonPanel4;
this.settingsTab.Text = "Settings"; this.settingsTab.Text = "Settings";
@ -918,9 +919,9 @@
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.mainWindow_FormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.mainWindow_FormClosing);
this.ribbonControl.ResumeLayout(false); this.ribbonControl.ResumeLayout(false);
this.ribbonControl.PerformLayout(); this.ribbonControl.PerformLayout();
this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
this.ribbonPanel2.ResumeLayout(false); this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
this.ribbonPanel3.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false); this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout(); this.statusStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.sideBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sideBar)).EndInit();

View file

@ -214,5 +214,10 @@ namespace Saviour_Backup_System
{ {
MessageBox.Show(databaseTools.conn.State.ToString()); MessageBox.Show(databaseTools.conn.State.ToString());
} }
private void buttonItem5_Click(object sender, EventArgs e)
{
MessageBox.Show("Unavailable.");
}
} }
} }