1
Fork 0

i'm not actually sure

This commit is contained in:
Jake Howard 2014-08-02 10:45:29 +01:00
parent 5cbb4c35a6
commit 07d394c519

View file

@ -31,11 +31,14 @@
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.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel(); this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar1 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar(); this.ribbonBar3 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem4 = new DevComponents.DotNetBar.ButtonItem();
this.ribbonBar2 = new DevComponents.DotNetBar.RibbonBar(); this.ribbonBar2 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem3 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem3 = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel4 = new DevComponents.DotNetBar.RibbonPanel(); this.ribbonPanel4 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar(); this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
@ -44,8 +47,6 @@
this.buttonItem6 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem6 = new DevComponents.DotNetBar.ButtonItem();
this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar(); this.ribbonBar4 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem5 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem5 = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar7 = new DevComponents.DotNetBar.RibbonBar();
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();
@ -69,17 +70,16 @@
this.driveLetterLabel = new System.Windows.Forms.Label(); this.driveLetterLabel = new System.Windows.Forms.Label();
this.driveSystemLabel = new System.Windows.Forms.Label(); this.driveSystemLabel = new System.Windows.Forms.Label();
this.driveNameLabel = new System.Windows.Forms.Label(); this.driveNameLabel = new System.Windows.Forms.Label();
this.driveIconBox = new System.Windows.Forms.PictureBox();
this.driveCapacityDisplay = new DevComponents.DotNetBar.Controls.ProgressBarX(); this.driveCapacityDisplay = new DevComponents.DotNetBar.Controls.ProgressBarX();
this.driveRefreshTimer = new System.Windows.Forms.Timer(this.components); this.driveRefreshTimer = new System.Windows.Forms.Timer(this.components);
this.formatDriveCapacityTimer = new System.Windows.Forms.Timer(this.components); this.formatDriveCapacityTimer = new System.Windows.Forms.Timer(this.components);
this.ribbonBar1 = new DevComponents.DotNetBar.RibbonBar(); this.driveIconBox = new System.Windows.Forms.PictureBox();
this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem4 = new DevComponents.DotNetBar.ButtonItem();
this.backupDeviceButton = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem();
this.ribbonControl.SuspendLayout(); this.ribbonControl.SuspendLayout();
this.ribbonPanel3.SuspendLayout();
this.ribbonPanel2.SuspendLayout(); this.ribbonPanel2.SuspendLayout();
this.ribbonPanel4.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();
@ -132,6 +132,72 @@
this.ribbonControl.TabIndex = 0; this.ribbonControl.TabIndex = 0;
this.ribbonControl.Text = "Saviour Backup System"; this.ribbonControl.Text = "Saviour Backup System";
// //
// ribbonPanel3
//
this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonPanel3.Controls.Add(this.ribbonBar7);
this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.ribbonPanel3.Location = new System.Drawing.Point(0, 53);
this.ribbonPanel3.Name = "ribbonPanel3";
this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
this.ribbonPanel3.Size = new System.Drawing.Size(992, 108);
//
//
//
this.ribbonPanel3.Style.Class = "";
this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonPanel3.StyleMouseDown.Class = "";
this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonPanel3.StyleMouseOver.Class = "";
this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel3.TabIndex = 5;
//
// ribbonBar7
//
this.ribbonBar7.AutoOverflowEnabled = true;
//
//
//
this.ribbonBar7.BackgroundMouseOverStyle.Class = "";
this.ribbonBar7.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar7.BackgroundStyle.Class = "";
this.ribbonBar7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonBar7.ContainerControlProcessDialogKey = true;
this.ribbonBar7.Dock = System.Windows.Forms.DockStyle.Left;
this.ribbonBar7.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.backupDeviceButton});
this.ribbonBar7.Location = new System.Drawing.Point(3, 0);
this.ribbonBar7.Name = "ribbonBar7";
this.ribbonBar7.Size = new System.Drawing.Size(170, 105);
this.ribbonBar7.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar7.TabIndex = 0;
this.ribbonBar7.Text = "Backup / Restore";
//
//
//
this.ribbonBar7.TitleStyle.Class = "";
this.ribbonBar7.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar7.TitleStyleMouseOver.Class = "";
this.ribbonBar7.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// backupDeviceButton
//
this.backupDeviceButton.Name = "backupDeviceButton";
this.backupDeviceButton.SubItemsExpandWidth = 14;
this.backupDeviceButton.Text = "Backup Device";
//
// ribbonPanel2 // ribbonPanel2
// //
this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@ -161,6 +227,47 @@
this.ribbonPanel2.TabIndex = 2; this.ribbonPanel2.TabIndex = 2;
this.ribbonPanel2.Visible = false; this.ribbonPanel2.Visible = false;
// //
// ribbonBar1
//
this.ribbonBar1.AutoOverflowEnabled = true;
//
//
//
this.ribbonBar1.BackgroundMouseOverStyle.Class = "";
this.ribbonBar1.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar1.BackgroundStyle.Class = "";
this.ribbonBar1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonBar1.ContainerControlProcessDialogKey = true;
this.ribbonBar1.Dock = System.Windows.Forms.DockStyle.Left;
this.ribbonBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.buttonItem8});
this.ribbonBar1.Location = new System.Drawing.Point(437, 0);
this.ribbonBar1.Name = "ribbonBar1";
this.ribbonBar1.Size = new System.Drawing.Size(100, 105);
this.ribbonBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar1.TabIndex = 2;
this.ribbonBar1.Text = "Manage";
//
//
//
this.ribbonBar1.TitleStyle.Class = "";
this.ribbonBar1.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar1.TitleStyleMouseOver.Class = "";
this.ribbonBar1.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// buttonItem8
//
this.buttonItem8.ImageFixedSize = new System.Drawing.Size(55, 55);
this.buttonItem8.Name = "buttonItem8";
this.buttonItem8.SubItemsExpandWidth = 14;
this.buttonItem8.Text = "View All Rules";
//
// ribbonBar3 // ribbonBar3
// //
this.ribbonBar3.AutoOverflowEnabled = true; this.ribbonBar3.AutoOverflowEnabled = true;
@ -195,16 +302,6 @@
this.ribbonBar3.TitleStyleMouseOver.Class = ""; this.ribbonBar3.TitleStyleMouseOver.Class = "";
this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar3.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// buttonItem4
//
this.buttonItem4.Image = global::Saviour_Backup_System.Properties.Resources.restoreIcon;
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 // ribbonBar2
// //
this.ribbonBar2.AutoOverflowEnabled = true; this.ribbonBar2.AutoOverflowEnabled = true;
@ -240,17 +337,6 @@
this.ribbonBar2.TitleStyleMouseOver.Class = ""; this.ribbonBar2.TitleStyleMouseOver.Class = "";
this.ribbonBar2.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar2.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// buttonItem2
//
this.buttonItem2.Image = global::Saviour_Backup_System.Properties.Resources.backupIcon;
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";
//
// buttonItem3 // buttonItem3
// //
this.buttonItem3.Name = "buttonItem3"; this.buttonItem3.Name = "buttonItem3";
@ -406,66 +492,6 @@
this.buttonItem5.SubItemsExpandWidth = 14; this.buttonItem5.SubItemsExpandWidth = 14;
this.buttonItem5.Text = "Edit Preferences"; this.buttonItem5.Text = "Edit Preferences";
// //
// ribbonPanel3
//
this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonPanel3.Controls.Add(this.ribbonBar7);
this.ribbonPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.ribbonPanel3.Location = new System.Drawing.Point(0, 53);
this.ribbonPanel3.Name = "ribbonPanel3";
this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
this.ribbonPanel3.Size = new System.Drawing.Size(992, 108);
//
//
//
this.ribbonPanel3.Style.Class = "";
this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonPanel3.StyleMouseDown.Class = "";
this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonPanel3.StyleMouseOver.Class = "";
this.ribbonPanel3.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel3.TabIndex = 5;
//
// ribbonBar7
//
this.ribbonBar7.AutoOverflowEnabled = true;
//
//
//
this.ribbonBar7.BackgroundMouseOverStyle.Class = "";
this.ribbonBar7.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar7.BackgroundStyle.Class = "";
this.ribbonBar7.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonBar7.ContainerControlProcessDialogKey = true;
this.ribbonBar7.Dock = System.Windows.Forms.DockStyle.Left;
this.ribbonBar7.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.backupDeviceButton});
this.ribbonBar7.Location = new System.Drawing.Point(3, 0);
this.ribbonBar7.Name = "ribbonBar7";
this.ribbonBar7.Size = new System.Drawing.Size(170, 105);
this.ribbonBar7.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar7.TabIndex = 0;
this.ribbonBar7.Text = "Backup / Restore";
//
//
//
this.ribbonBar7.TitleStyle.Class = "";
this.ribbonBar7.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar7.TitleStyleMouseOver.Class = "";
this.ribbonBar7.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// backupRestoreTab // backupRestoreTab
// //
this.backupRestoreTab.Name = "backupRestoreTab"; this.backupRestoreTab.Name = "backupRestoreTab";
@ -734,17 +760,6 @@
this.driveNameLabel.TabIndex = 2; this.driveNameLabel.TabIndex = 2;
this.driveNameLabel.Text = "Label:"; this.driveNameLabel.Text = "Label:";
// //
// driveIconBox
//
this.driveIconBox.BackColor = System.Drawing.Color.Transparent;
this.driveIconBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.driveIconBox.Location = new System.Drawing.Point(3, -1);
this.driveIconBox.Name = "driveIconBox";
this.driveIconBox.Size = new System.Drawing.Size(183, 143);
this.driveIconBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.driveIconBox.TabIndex = 1;
this.driveIconBox.TabStop = false;
//
// driveCapacityDisplay // driveCapacityDisplay
// //
this.driveCapacityDisplay.BackColor = System.Drawing.SystemColors.ActiveCaption; this.driveCapacityDisplay.BackColor = System.Drawing.SystemColors.ActiveCaption;
@ -777,53 +792,37 @@
this.formatDriveCapacityTimer.Interval = 300; this.formatDriveCapacityTimer.Interval = 300;
this.formatDriveCapacityTimer.Tick += new System.EventHandler(this.formatDriveCapacityTimer_Tick); this.formatDriveCapacityTimer.Tick += new System.EventHandler(this.formatDriveCapacityTimer_Tick);
// //
// ribbonBar1 // driveIconBox
// //
this.ribbonBar1.AutoOverflowEnabled = true; this.driveIconBox.BackColor = System.Drawing.Color.Transparent;
this.driveIconBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.driveIconBox.Location = new System.Drawing.Point(3, -1);
this.driveIconBox.Name = "driveIconBox";
this.driveIconBox.Size = new System.Drawing.Size(183, 143);
this.driveIconBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.driveIconBox.TabIndex = 1;
this.driveIconBox.TabStop = false;
// //
// buttonItem4
// //
this.buttonItem4.Image = global::Saviour_Backup_System.Properties.Resources.restoreIcon;
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";
// //
this.ribbonBar1.BackgroundMouseOverStyle.Class = ""; // buttonItem2
this.ribbonBar1.BackgroundMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// this.buttonItem2.Image = global::Saviour_Backup_System.Properties.Resources.backupIcon;
// this.buttonItem2.ImageFixedSize = new System.Drawing.Size(55, 55);
this.ribbonBar1.BackgroundStyle.Class = ""; this.buttonItem2.ImagePosition = DevComponents.DotNetBar.eImagePosition.Top;
this.ribbonBar1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.buttonItem2.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Center;
this.ribbonBar1.ContainerControlProcessDialogKey = true; this.buttonItem2.Name = "buttonItem2";
this.ribbonBar1.Dock = System.Windows.Forms.DockStyle.Left; this.buttonItem2.PopupFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ribbonBar1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.buttonItem2.SubItemsExpandWidth = 14;
this.buttonItem8}); this.buttonItem2.Text = "Backup All Devices";
this.ribbonBar1.Location = new System.Drawing.Point(437, 0);
this.ribbonBar1.Name = "ribbonBar1";
this.ribbonBar1.Size = new System.Drawing.Size(100, 105);
this.ribbonBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonBar1.TabIndex = 2;
this.ribbonBar1.Text = "Manage";
//
//
//
this.ribbonBar1.TitleStyle.Class = "";
this.ribbonBar1.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonBar1.TitleStyleMouseOver.Class = "";
this.ribbonBar1.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
// buttonItem8
//
this.buttonItem8.ImageFixedSize = new System.Drawing.Size(55, 55);
this.buttonItem8.Name = "buttonItem8";
this.buttonItem8.SubItemsExpandWidth = 14;
this.buttonItem8.Text = "View All Rules";
//
// backupDeviceButton
//
this.backupDeviceButton.Name = "backupDeviceButton";
this.backupDeviceButton.SubItemsExpandWidth = 14;
this.backupDeviceButton.Text = "Backup Device";
this.backupDeviceButton.ThemeAware = true;
// //
// mainWindow // mainWindow
// //
@ -840,11 +839,12 @@
this.Name = "mainWindow"; this.Name = "mainWindow";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Saviour Backup System"; this.Text = "Saviour Backup System";
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.ribbonPanel2.ResumeLayout(false); this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel4.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();