1
Fork 0

Added panel for drive details, and removed rules tab

This commit is contained in:
Jake Howard 2014-07-27 21:01:19 +01:00
parent 6753feb8be
commit f7f0abd98d

View file

@ -31,15 +31,14 @@
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(mainWindow));
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar7 = new DevComponents.DotNetBar.RibbonBar();
this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
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.buttonItem3 = new DevComponents.DotNetBar.ButtonItem();
this.ribbonPanel5 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar7 = new DevComponents.DotNetBar.RibbonBar();
this.ribbonPanel4 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem7 = new DevComponents.DotNetBar.ButtonItem();
@ -49,7 +48,6 @@
this.buttonItem5 = new DevComponents.DotNetBar.ButtonItem();
this.backupRestoreTab = new DevComponents.DotNetBar.RibbonTabItem();
this.deviceTab = new DevComponents.DotNetBar.RibbonTabItem();
this.ruleTab = new DevComponents.DotNetBar.RibbonTabItem();
this.settingsTab = new DevComponents.DotNetBar.RibbonTabItem();
this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
this.qatCustomizeItem1 = new DevComponents.DotNetBar.QatCustomizeItem();
@ -62,14 +60,22 @@
this.connectedDrivesList = new DevComponents.DotNetBar.Controls.ListViewEx();
this.connectedDrivesListRefresh = new DevComponents.DotNetBar.ButtonX();
this.connectedDevicesTab = new DevComponents.DotNetBar.TabItem(this.components);
this.groupPanel1 = new DevComponents.DotNetBar.Controls.GroupPanel();
this.progressBarX1 = new DevComponents.DotNetBar.Controls.ProgressBarX();
this.driveIconBox = new System.Windows.Forms.PictureBox();
this.driveNameLabel = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.ribbonControl1.SuspendLayout();
this.ribbonPanel3.SuspendLayout();
this.ribbonPanel2.SuspendLayout();
this.ribbonPanel3.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
this.statusStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.sideBar)).BeginInit();
this.sideBar.SuspendLayout();
this.tabControlPanel1.SuspendLayout();
this.groupPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.driveIconBox)).BeginInit();
this.SuspendLayout();
//
// ribbonControl1
@ -81,14 +87,12 @@
this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonControl1.CaptionVisible = true;
this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel5);
this.ribbonControl1.Controls.Add(this.ribbonPanel2);
this.ribbonControl1.Controls.Add(this.ribbonPanel4);
this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top;
this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.backupRestoreTab,
this.deviceTab,
this.ruleTab,
this.settingsTab});
this.ribbonControl1.KeyTipsFont = new System.Drawing.Font("Tahoma", 7F);
this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
@ -118,64 +122,6 @@
this.ribbonControl1.TabIndex = 0;
this.ribbonControl1.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.Location = new System.Drawing.Point(3, 0);
this.ribbonBar7.Name = "ribbonBar7";
this.ribbonBar7.Size = new System.Drawing.Size(100, 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;
//
// ribbonPanel2
//
this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@ -300,31 +246,63 @@
this.buttonItem3.SubItemsExpandWidth = 14;
this.buttonItem3.Text = "Add Backup Rule";
//
// ribbonPanel5
// ribbonPanel3
//
this.ribbonPanel5.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.ribbonPanel5.Location = new System.Drawing.Point(0, 53);
this.ribbonPanel5.Name = "ribbonPanel5";
this.ribbonPanel5.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
this.ribbonPanel5.Size = new System.Drawing.Size(992, 108);
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.ribbonPanel5.Style.Class = "";
this.ribbonPanel5.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel3.Style.Class = "";
this.ribbonPanel3.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonPanel5.StyleMouseDown.Class = "";
this.ribbonPanel5.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel3.StyleMouseDown.Class = "";
this.ribbonPanel3.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonPanel5.StyleMouseOver.Class = "";
this.ribbonPanel5.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel5.TabIndex = 6;
this.ribbonPanel5.Visible = false;
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.Location = new System.Drawing.Point(3, 0);
this.ribbonBar7.Name = "ribbonBar7";
this.ribbonBar7.Size = new System.Drawing.Size(100, 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;
//
// ribbonPanel4
//
@ -490,13 +468,6 @@
this.deviceTab.Text = "Device";
this.deviceTab.Visible = false;
//
// ruleTab
//
this.ruleTab.ColorTable = DevComponents.DotNetBar.eRibbonTabColor.Orange;
this.ruleTab.Name = "ruleTab";
this.ruleTab.Panel = this.ribbonPanel5;
this.ruleTab.Text = "Rule";
//
// settingsTab
//
this.settingsTab.Name = "settingsTab";
@ -590,7 +561,7 @@
this.connectedDrivesList.TabIndex = 2;
this.connectedDrivesList.UseCompatibleStateImageBehavior = false;
this.connectedDrivesList.View = System.Windows.Forms.View.Tile;
this.connectedDrivesList.ItemActivate += new System.EventHandler(this.connectedDrivesList_Select);
this.connectedDrivesList.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.connectedDrivesList_Selection);
//
// connectedDrivesListRefresh
//
@ -598,7 +569,7 @@
this.connectedDrivesListRefresh.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.connectedDrivesListRefresh.Location = new System.Drawing.Point(4, 296);
this.connectedDrivesListRefresh.Name = "connectedDrivesListRefresh";
this.connectedDrivesListRefresh.Size = new System.Drawing.Size(189, 31);
this.connectedDrivesListRefresh.Size = new System.Drawing.Size(169, 31);
this.connectedDrivesListRefresh.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.connectedDrivesListRefresh.TabIndex = 1;
this.connectedDrivesListRefresh.Text = "Refresh List";
@ -610,11 +581,113 @@
this.connectedDevicesTab.Name = "connectedDevicesTab";
this.connectedDevicesTab.Text = "Connected Drives";
//
// groupPanel1
//
this.groupPanel1.CanvasColor = System.Drawing.SystemColors.Control;
this.groupPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.groupPanel1.Controls.Add(this.textBox1);
this.groupPanel1.Controls.Add(this.label1);
this.groupPanel1.Controls.Add(this.driveNameLabel);
this.groupPanel1.Controls.Add(this.driveIconBox);
this.groupPanel1.Controls.Add(this.progressBarX1);
this.groupPanel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.groupPanel1.Location = new System.Drawing.Point(186, 169);
this.groupPanel1.Name = "groupPanel1";
this.groupPanel1.Size = new System.Drawing.Size(794, 199);
//
//
//
this.groupPanel1.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.groupPanel1.Style.BackColorGradientAngle = 90;
this.groupPanel1.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.groupPanel1.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.groupPanel1.Style.BorderBottomWidth = 1;
this.groupPanel1.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.groupPanel1.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.groupPanel1.Style.BorderLeftWidth = 1;
this.groupPanel1.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.groupPanel1.Style.BorderRightWidth = 1;
this.groupPanel1.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.groupPanel1.Style.BorderTopWidth = 1;
this.groupPanel1.Style.Class = "";
this.groupPanel1.Style.CornerDiameter = 4;
this.groupPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
this.groupPanel1.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
this.groupPanel1.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.groupPanel1.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
//
//
//
this.groupPanel1.StyleMouseDown.Class = "";
this.groupPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.groupPanel1.StyleMouseOver.Class = "";
this.groupPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.groupPanel1.TabIndex = 3;
this.groupPanel1.Text = "Drive Details";
//
// progressBarX1
//
this.progressBarX1.BackColor = System.Drawing.SystemColors.ActiveCaption;
//
//
//
this.progressBarX1.BackgroundStyle.Class = "";
this.progressBarX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.progressBarX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.progressBarX1.Location = new System.Drawing.Point(3, 148);
this.progressBarX1.Name = "progressBarX1";
this.progressBarX1.Size = new System.Drawing.Size(782, 23);
this.progressBarX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.progressBarX1.TabIndex = 0;
this.progressBarX1.Text = "Drive Capacity";
this.progressBarX1.TextVisible = true;
//
// driveIconBox
//
this.driveIconBox.Location = new System.Drawing.Point(3, -1);
this.driveIconBox.Name = "driveIconBox";
this.driveIconBox.Size = new System.Drawing.Size(183, 143);
this.driveIconBox.TabIndex = 1;
this.driveIconBox.TabStop = false;
//
// driveNameLabel
//
this.driveNameLabel.AutoSize = true;
this.driveNameLabel.BackColor = System.Drawing.Color.Transparent;
this.driveNameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.driveNameLabel.Location = new System.Drawing.Point(188, 5);
this.driveNameLabel.Name = "driveNameLabel";
this.driveNameLabel.Size = new System.Drawing.Size(47, 17);
this.driveNameLabel.TabIndex = 2;
this.driveNameLabel.Text = "Label:";
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(405, 5);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(86, 17);
this.label1.TabIndex = 3;
this.label1.Text = "Drive Letter:";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(258, 20);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 24);
this.textBox1.TabIndex = 4;
//
// mainWindow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(992, 546);
this.Controls.Add(this.groupPanel1);
this.Controls.Add(this.sideBar);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.ribbonControl1);
@ -625,14 +698,17 @@
this.Text = "Saviour Backup System";
this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout();
this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.sideBar)).EndInit();
this.sideBar.ResumeLayout(false);
this.tabControlPanel1.ResumeLayout(false);
this.groupPanel1.ResumeLayout(false);
this.groupPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.driveIconBox)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@ -659,10 +735,8 @@
private DevComponents.DotNetBar.ButtonItem buttonItem6;
private DevComponents.DotNetBar.RibbonBar ribbonBar4;
private DevComponents.DotNetBar.ButtonItem buttonItem5;
private DevComponents.DotNetBar.RibbonPanel ribbonPanel5;
private DevComponents.DotNetBar.RibbonPanel ribbonPanel3;
private DevComponents.DotNetBar.RibbonTabItem deviceTab;
private DevComponents.DotNetBar.RibbonTabItem ruleTab;
private DevComponents.DotNetBar.RibbonBar ribbonBar7;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripProgressBar toolStripProgressBar1;
@ -672,6 +746,12 @@
private DevComponents.DotNetBar.TabItem connectedDevicesTab;
private DevComponents.DotNetBar.ButtonX connectedDrivesListRefresh;
private DevComponents.DotNetBar.Controls.ListViewEx connectedDrivesList;
private DevComponents.DotNetBar.Controls.GroupPanel groupPanel1;
private DevComponents.DotNetBar.Controls.ProgressBarX progressBarX1;
private System.Windows.Forms.PictureBox driveIconBox;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label driveNameLabel;
private System.Windows.Forms.TextBox textBox1;
}
}