diff --git a/Saviour Backup System/mainWindow.Designer.cs b/Saviour Backup System/mainWindow.Designer.cs index c0cc1c2..609531e 100644 --- a/Saviour Backup System/mainWindow.Designer.cs +++ b/Saviour Backup System/mainWindow.Designer.cs @@ -34,27 +34,24 @@ this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel(); this.ribbonBar1 = new DevComponents.DotNetBar.RibbonBar(); this.viewAllRulesButton = new DevComponents.DotNetBar.ButtonItem(); + this.buttonItem3 = new DevComponents.DotNetBar.ButtonItem(); this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar(); this.buttonItem4 = new DevComponents.DotNetBar.ButtonItem(); this.ribbonBar2 = new DevComponents.DotNetBar.RibbonBar(); this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem(); this.addBackupRuleButton = new DevComponents.DotNetBar.ButtonItem(); - 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.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar(); - this.exitButton = new DevComponents.DotNetBar.ButtonItem(); 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.deviceTab = new DevComponents.DotNetBar.RibbonTabItem(); this.settingsTab = new DevComponents.DotNetBar.RibbonTabItem(); - this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem(); - this.qatCustomizeItem1 = new DevComponents.DotNetBar.QatCustomizeItem(); - this.styleManager1 = new DevComponents.DotNetBar.StyleManager(this.components); + this.styleManager = new DevComponents.DotNetBar.StyleManager(this.components); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); @@ -78,8 +75,8 @@ this.formatDriveCapacityTimer = new System.Windows.Forms.Timer(this.components); this.ribbonControl.SuspendLayout(); this.ribbonPanel2.SuspendLayout(); - this.ribbonPanel3.SuspendLayout(); this.ribbonPanel4.SuspendLayout(); + this.ribbonPanel3.SuspendLayout(); this.statusStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.sideBar)).BeginInit(); this.sideBar.SuspendLayout(); @@ -95,9 +92,10 @@ // this.ribbonControl.BackgroundStyle.Class = ""; this.ribbonControl.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.ribbonControl.CanCustomize = false; this.ribbonControl.CaptionVisible = true; - this.ribbonControl.Controls.Add(this.ribbonPanel4); this.ribbonControl.Controls.Add(this.ribbonPanel2); + this.ribbonControl.Controls.Add(this.ribbonPanel4); this.ribbonControl.Controls.Add(this.ribbonPanel3); this.ribbonControl.Dock = System.Windows.Forms.DockStyle.Top; this.ribbonControl.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { @@ -108,9 +106,6 @@ this.ribbonControl.Location = new System.Drawing.Point(0, 0); this.ribbonControl.Name = "ribbonControl"; this.ribbonControl.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2); - this.ribbonControl.QuickToolbarItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { - this.buttonItem1, - this.qatCustomizeItem1}); this.ribbonControl.Size = new System.Drawing.Size(992, 163); this.ribbonControl.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonControl.SystemText.MaximizeRibbonText = "&Maximize the Ribbon"; @@ -159,7 +154,6 @@ this.ribbonPanel2.StyleMouseOver.Class = ""; this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonPanel2.TabIndex = 2; - this.ribbonPanel2.Visible = false; // // ribbonBar1 // @@ -177,10 +171,11 @@ this.ribbonBar1.ContainerControlProcessDialogKey = true; this.ribbonBar1.Dock = System.Windows.Forms.DockStyle.Left; this.ribbonBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { - this.viewAllRulesButton}); + this.viewAllRulesButton, + this.buttonItem3}); this.ribbonBar1.Location = new System.Drawing.Point(437, 0); this.ribbonBar1.Name = "ribbonBar1"; - this.ribbonBar1.Size = new System.Drawing.Size(100, 105); + this.ribbonBar1.Size = new System.Drawing.Size(176, 105); this.ribbonBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonBar1.TabIndex = 2; this.ribbonBar1.Text = "Manage"; @@ -202,6 +197,13 @@ this.viewAllRulesButton.SubItemsExpandWidth = 14; this.viewAllRulesButton.Text = "View All Rules"; // + // buttonItem3 + // + this.buttonItem3.Name = "buttonItem3"; + this.buttonItem3.SubItemsExpandWidth = 14; + this.buttonItem3.Text = "Current Transfers"; + this.buttonItem3.Click += new System.EventHandler(this.buttonItem3_Click); + // // ribbonBar3 // this.ribbonBar3.AutoOverflowEnabled = true; @@ -299,6 +301,114 @@ this.addBackupRuleButton.Text = "Add Backup Rule"; this.addBackupRuleButton.Click += new System.EventHandler(this.addBackupRuleButton_Click); // + // ribbonPanel4 + // + this.ribbonPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.ribbonPanel4.Controls.Add(this.ribbonBar5); + this.ribbonPanel4.Controls.Add(this.ribbonBar4); + this.ribbonPanel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.ribbonPanel4.Location = new System.Drawing.Point(0, 53); + this.ribbonPanel4.Name = "ribbonPanel4"; + this.ribbonPanel4.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); + this.ribbonPanel4.Size = new System.Drawing.Size(992, 108); + // + // + // + this.ribbonPanel4.Style.Class = ""; + this.ribbonPanel4.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.ribbonPanel4.StyleMouseDown.Class = ""; + this.ribbonPanel4.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.ribbonPanel4.StyleMouseOver.Class = ""; + this.ribbonPanel4.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.ribbonPanel4.TabIndex = 4; + this.ribbonPanel4.Visible = false; + // + // ribbonBar5 + // + this.ribbonBar5.AutoOverflowEnabled = true; + // + // + // + this.ribbonBar5.BackgroundMouseOverStyle.Class = ""; + this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.ribbonBar5.BackgroundStyle.Class = ""; + this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.ribbonBar5.ContainerControlProcessDialogKey = true; + this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left; + this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.buttonItem6}); + this.ribbonBar5.Location = new System.Drawing.Point(103, 0); + this.ribbonBar5.Name = "ribbonBar5"; + this.ribbonBar5.Size = new System.Drawing.Size(123, 105); + this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.ribbonBar5.TabIndex = 1; + this.ribbonBar5.Text = "About"; + // + // + // + this.ribbonBar5.TitleStyle.Class = ""; + this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.ribbonBar5.TitleStyleMouseOver.Class = ""; + this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // buttonItem6 + // + this.buttonItem6.Name = "buttonItem6"; + this.buttonItem6.SubItemsExpandWidth = 14; + this.buttonItem6.Text = "About Saviour Backup"; + // + // ribbonBar4 + // + this.ribbonBar4.AutoOverflowEnabled = true; + // + // + // + this.ribbonBar4.BackgroundMouseOverStyle.Class = ""; + this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.ribbonBar4.BackgroundStyle.Class = ""; + this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.ribbonBar4.ContainerControlProcessDialogKey = true; + this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left; + this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.buttonItem5}); + this.ribbonBar4.Location = new System.Drawing.Point(3, 0); + this.ribbonBar4.Name = "ribbonBar4"; + this.ribbonBar4.Size = new System.Drawing.Size(100, 105); + this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.ribbonBar4.TabIndex = 0; + this.ribbonBar4.Text = "Preferences"; + // + // + // + this.ribbonBar4.TitleStyle.Class = ""; + this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.ribbonBar4.TitleStyleMouseOver.Class = ""; + this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // buttonItem5 + // + this.buttonItem5.Name = "buttonItem5"; + this.buttonItem5.SubItemsExpandWidth = 14; + this.buttonItem5.Text = "Edit Preferences"; + // // ribbonPanel3 // this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; @@ -366,160 +476,13 @@ this.backupDeviceButton.SubItemsExpandWidth = 14; this.backupDeviceButton.Text = "Backup Device"; // - // ribbonPanel4 - // - this.ribbonPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.ribbonPanel4.Controls.Add(this.ribbonBar6); - this.ribbonPanel4.Controls.Add(this.ribbonBar5); - this.ribbonPanel4.Controls.Add(this.ribbonBar4); - this.ribbonPanel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.ribbonPanel4.Location = new System.Drawing.Point(0, 53); - this.ribbonPanel4.Name = "ribbonPanel4"; - this.ribbonPanel4.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); - this.ribbonPanel4.Size = new System.Drawing.Size(992, 108); - // - // - // - this.ribbonPanel4.Style.Class = ""; - this.ribbonPanel4.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.ribbonPanel4.StyleMouseDown.Class = ""; - this.ribbonPanel4.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.ribbonPanel4.StyleMouseOver.Class = ""; - this.ribbonPanel4.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ribbonPanel4.TabIndex = 4; - // - // ribbonBar6 - // - this.ribbonBar6.AutoOverflowEnabled = true; - // - // - // - this.ribbonBar6.BackgroundMouseOverStyle.Class = ""; - this.ribbonBar6.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.ribbonBar6.BackgroundStyle.Class = ""; - this.ribbonBar6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ribbonBar6.ContainerControlProcessDialogKey = true; - this.ribbonBar6.Dock = System.Windows.Forms.DockStyle.Left; - this.ribbonBar6.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { - this.exitButton}); - this.ribbonBar6.Location = new System.Drawing.Point(203, 0); - this.ribbonBar6.Name = "ribbonBar6"; - this.ribbonBar6.Size = new System.Drawing.Size(100, 105); - this.ribbonBar6.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.ribbonBar6.TabIndex = 2; - this.ribbonBar6.Text = "Exit"; - // - // - // - this.ribbonBar6.TitleStyle.Class = ""; - this.ribbonBar6.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.ribbonBar6.TitleStyleMouseOver.Class = ""; - this.ribbonBar6.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // exitButton - // - this.exitButton.Name = "exitButton"; - this.exitButton.SubItemsExpandWidth = 14; - this.exitButton.Text = "Exit Saviour Backup"; - this.exitButton.Click += new System.EventHandler(this.exitButton_Click); - // - // ribbonBar5 - // - this.ribbonBar5.AutoOverflowEnabled = true; - // - // - // - this.ribbonBar5.BackgroundMouseOverStyle.Class = ""; - this.ribbonBar5.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.ribbonBar5.BackgroundStyle.Class = ""; - this.ribbonBar5.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ribbonBar5.ContainerControlProcessDialogKey = true; - this.ribbonBar5.Dock = System.Windows.Forms.DockStyle.Left; - this.ribbonBar5.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { - this.buttonItem6}); - this.ribbonBar5.Location = new System.Drawing.Point(103, 0); - this.ribbonBar5.Name = "ribbonBar5"; - this.ribbonBar5.Size = new System.Drawing.Size(100, 105); - this.ribbonBar5.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.ribbonBar5.TabIndex = 1; - this.ribbonBar5.Text = "About"; - // - // - // - this.ribbonBar5.TitleStyle.Class = ""; - this.ribbonBar5.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.ribbonBar5.TitleStyleMouseOver.Class = ""; - this.ribbonBar5.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // buttonItem6 - // - this.buttonItem6.Name = "buttonItem6"; - this.buttonItem6.SubItemsExpandWidth = 14; - this.buttonItem6.Text = "About Saviour Backup"; - // - // ribbonBar4 - // - this.ribbonBar4.AutoOverflowEnabled = true; - // - // - // - this.ribbonBar4.BackgroundMouseOverStyle.Class = ""; - this.ribbonBar4.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.ribbonBar4.BackgroundStyle.Class = ""; - this.ribbonBar4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ribbonBar4.ContainerControlProcessDialogKey = true; - this.ribbonBar4.Dock = System.Windows.Forms.DockStyle.Left; - this.ribbonBar4.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { - this.buttonItem5}); - this.ribbonBar4.Location = new System.Drawing.Point(3, 0); - this.ribbonBar4.Name = "ribbonBar4"; - this.ribbonBar4.Size = new System.Drawing.Size(100, 105); - this.ribbonBar4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.ribbonBar4.TabIndex = 0; - this.ribbonBar4.Text = "Preferences"; - // - // - // - this.ribbonBar4.TitleStyle.Class = ""; - this.ribbonBar4.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.ribbonBar4.TitleStyleMouseOver.Class = ""; - this.ribbonBar4.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // buttonItem5 - // - this.buttonItem5.Name = "buttonItem5"; - this.buttonItem5.SubItemsExpandWidth = 14; - this.buttonItem5.Text = "Edit Preferences"; - // // backupRestoreTab // + this.backupRestoreTab.Checked = true; this.backupRestoreTab.Name = "backupRestoreTab"; this.backupRestoreTab.Panel = this.ribbonPanel2; this.backupRestoreTab.Text = "Backup and Restore"; + this.backupRestoreTab.Click += new System.EventHandler(this.backupRestoreTab_Click); // // deviceTab // @@ -531,25 +494,15 @@ // // settingsTab // - this.settingsTab.Checked = true; this.settingsTab.Name = "settingsTab"; this.settingsTab.Panel = this.ribbonPanel4; this.settingsTab.Text = "Settings"; // - // buttonItem1 + // styleManager // - this.buttonItem1.Name = "buttonItem1"; - this.buttonItem1.Text = "buttonItem1"; - // - // qatCustomizeItem1 - // - this.qatCustomizeItem1.Name = "qatCustomizeItem1"; - // - // styleManager1 - // - this.styleManager1.ManagerColorTint = System.Drawing.Color.Black; - this.styleManager1.ManagerStyle = DevComponents.DotNetBar.eStyle.Office2010Black; - this.styleManager1.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(163)))), ((int)(((byte)(26)))))); + this.styleManager.ManagerColorTint = System.Drawing.Color.Black; + this.styleManager.ManagerStyle = DevComponents.DotNetBar.eStyle.Office2010Black; + this.styleManager.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(163)))), ((int)(((byte)(26)))))); // // statusStrip1 // @@ -845,8 +798,8 @@ this.ribbonControl.ResumeLayout(false); this.ribbonControl.PerformLayout(); this.ribbonPanel2.ResumeLayout(false); - this.ribbonPanel3.ResumeLayout(false); this.ribbonPanel4.ResumeLayout(false); + this.ribbonPanel3.ResumeLayout(false); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.sideBar)).EndInit(); @@ -865,8 +818,6 @@ private DevComponents.DotNetBar.RibbonControl ribbonControl; private DevComponents.DotNetBar.RibbonPanel ribbonPanel2; private DevComponents.DotNetBar.RibbonTabItem backupRestoreTab; - private DevComponents.DotNetBar.ButtonItem buttonItem1; - private DevComponents.DotNetBar.QatCustomizeItem qatCustomizeItem1; private DevComponents.DotNetBar.RibbonPanel ribbonPanel4; private DevComponents.DotNetBar.RibbonTabItem settingsTab; private DevComponents.DotNetBar.RibbonBar ribbonBar3; @@ -874,8 +825,6 @@ private DevComponents.DotNetBar.RibbonBar ribbonBar2; private DevComponents.DotNetBar.ButtonItem buttonItem2; private DevComponents.DotNetBar.ButtonItem addBackupRuleButton; - private DevComponents.DotNetBar.RibbonBar ribbonBar6; - private DevComponents.DotNetBar.ButtonItem exitButton; private DevComponents.DotNetBar.RibbonBar ribbonBar5; private DevComponents.DotNetBar.ButtonItem buttonItem6; private DevComponents.DotNetBar.RibbonBar ribbonBar4; @@ -907,7 +856,8 @@ private DevComponents.DotNetBar.RibbonBar ribbonBar1; private DevComponents.DotNetBar.ButtonItem viewAllRulesButton; private DevComponents.DotNetBar.ButtonItem backupDeviceButton; - public DevComponents.DotNetBar.StyleManager styleManager1; + public DevComponents.DotNetBar.StyleManager styleManager; + private DevComponents.DotNetBar.ButtonItem buttonItem3; } }