1
Fork 0

Began Development on sidebar for drive displaying

This commit is contained in:
Jake Howard 2014-07-21 18:32:13 +01:00
parent ff93ade940
commit 4a939c4aff
2 changed files with 261 additions and 172 deletions

View file

@ -31,9 +31,15 @@
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.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl(); this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
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.ribbonPanel3 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar7 = new DevComponents.DotNetBar.RibbonBar(); this.ribbonBar7 = new DevComponents.DotNetBar.RibbonBar();
this.ribbonPanel5 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonPanel4 = new DevComponents.DotNetBar.RibbonPanel(); this.ribbonPanel4 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar(); this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem7 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem7 = new DevComponents.DotNetBar.ButtonItem();
@ -41,27 +47,30 @@
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.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.backupRestoreTab = new DevComponents.DotNetBar.RibbonTabItem(); this.backupRestoreTab = new DevComponents.DotNetBar.RibbonTabItem();
this.settingsTab = new DevComponents.DotNetBar.RibbonTabItem();
this.deviceTab = new DevComponents.DotNetBar.RibbonTabItem(); this.deviceTab = new DevComponents.DotNetBar.RibbonTabItem();
this.ruleTab = new DevComponents.DotNetBar.RibbonTabItem(); this.ruleTab = new DevComponents.DotNetBar.RibbonTabItem();
this.settingsTab = new DevComponents.DotNetBar.RibbonTabItem();
this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
this.qatCustomizeItem1 = new DevComponents.DotNetBar.QatCustomizeItem(); this.qatCustomizeItem1 = new DevComponents.DotNetBar.QatCustomizeItem();
this.styleManager1 = new DevComponents.DotNetBar.StyleManager(this.components); this.styleManager1 = new DevComponents.DotNetBar.StyleManager(this.components);
this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar(); this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar();
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.listViewEx1 = new DevComponents.DotNetBar.Controls.ListViewEx();
this.driveLabelColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.driveBackupHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.sideBar = new DevComponents.DotNetBar.TabControl();
this.connectedDevicesTab = new DevComponents.DotNetBar.TabItem(this.components);
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
this.ribbonControl1.SuspendLayout(); this.ribbonControl1.SuspendLayout();
this.ribbonPanel2.SuspendLayout();
this.ribbonPanel3.SuspendLayout(); this.ribbonPanel3.SuspendLayout();
this.ribbonPanel4.SuspendLayout(); this.ribbonPanel4.SuspendLayout();
this.ribbonPanel2.SuspendLayout();
this.statusStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.sideBar)).BeginInit();
this.sideBar.SuspendLayout();
this.tabControlPanel1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// ribbonControl1 // ribbonControl1
@ -73,8 +82,8 @@
this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonControl1.CaptionVisible = true; this.ribbonControl1.CaptionVisible = true;
this.ribbonControl1.Controls.Add(this.ribbonPanel2); this.ribbonControl1.Controls.Add(this.ribbonPanel2);
this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel5); this.ribbonControl1.Controls.Add(this.ribbonPanel5);
this.ribbonControl1.Controls.Add(this.ribbonPanel3);
this.ribbonControl1.Controls.Add(this.ribbonPanel4); this.ribbonControl1.Controls.Add(this.ribbonPanel4);
this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top; this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top;
this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
@ -89,7 +98,7 @@
this.ribbonControl1.QuickToolbarItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.ribbonControl1.QuickToolbarItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.buttonItem1, this.buttonItem1,
this.qatCustomizeItem1}); this.qatCustomizeItem1});
this.ribbonControl1.Size = new System.Drawing.Size(1214, 163); this.ribbonControl1.Size = new System.Drawing.Size(992, 163);
this.ribbonControl1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonControl1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonControl1.SystemText.MaximizeRibbonText = "&Maximize the Ribbon"; this.ribbonControl1.SystemText.MaximizeRibbonText = "&Maximize the Ribbon";
this.ribbonControl1.SystemText.MinimizeRibbonText = "Mi&nimize the Ribbon"; this.ribbonControl1.SystemText.MinimizeRibbonText = "Mi&nimize the Ribbon";
@ -110,6 +119,155 @@
this.ribbonControl1.TabIndex = 0; this.ribbonControl1.TabIndex = 0;
this.ribbonControl1.Text = "Saviour Backup System"; this.ribbonControl1.Text = "Saviour Backup System";
// //
// ribbonPanel2
//
this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonPanel2.Controls.Add(this.ribbonBar3);
this.ribbonPanel2.Controls.Add(this.ribbonBar2);
this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.ribbonPanel2.Location = new System.Drawing.Point(0, 53);
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.ribbonPanel2.Style.Class = "";
this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonPanel2.StyleMouseDown.Class = "";
this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonPanel2.StyleMouseOver.Class = "";
this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel2.TabIndex = 2;
//
// 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.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem4.Image")));
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.buttonItem3});
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.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem2.Image")));
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
//
this.buttonItem3.Name = "buttonItem3";
this.buttonItem3.SubItemsExpandWidth = 14;
this.buttonItem3.Text = "Add Backup Rule";
//
// ribbonPanel5
//
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.ribbonPanel5.Style.Class = "";
this.ribbonPanel5.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonPanel5.StyleMouseDown.Class = "";
this.ribbonPanel5.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;
//
// ribbonPanel3 // ribbonPanel3
// //
this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonPanel3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@ -118,7 +276,7 @@
this.ribbonPanel3.Location = new System.Drawing.Point(0, 53); this.ribbonPanel3.Location = new System.Drawing.Point(0, 53);
this.ribbonPanel3.Name = "ribbonPanel3"; this.ribbonPanel3.Name = "ribbonPanel3";
this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3); this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
this.ribbonPanel3.Size = new System.Drawing.Size(1214, 108); this.ribbonPanel3.Size = new System.Drawing.Size(992, 108);
// //
// //
// //
@ -169,32 +327,6 @@
this.ribbonBar7.TitleStyleMouseOver.Class = ""; this.ribbonBar7.TitleStyleMouseOver.Class = "";
this.ribbonBar7.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonBar7.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
// //
// ribbonPanel5
//
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(1214, 108);
//
//
//
this.ribbonPanel5.Style.Class = "";
this.ribbonPanel5.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonPanel5.StyleMouseDown.Class = "";
this.ribbonPanel5.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;
//
// ribbonPanel4 // ribbonPanel4
// //
this.ribbonPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@ -344,129 +476,6 @@
this.buttonItem5.SubItemsExpandWidth = 14; this.buttonItem5.SubItemsExpandWidth = 14;
this.buttonItem5.Text = "Edit Preferences"; this.buttonItem5.Text = "Edit Preferences";
// //
// ribbonPanel2
//
this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ribbonPanel2.Controls.Add(this.ribbonBar3);
this.ribbonPanel2.Controls.Add(this.ribbonBar2);
this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.ribbonPanel2.Location = new System.Drawing.Point(0, 53);
this.ribbonPanel2.Name = "ribbonPanel2";
this.ribbonPanel2.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
this.ribbonPanel2.Size = new System.Drawing.Size(1214, 108);
//
//
//
this.ribbonPanel2.Style.Class = "";
this.ribbonPanel2.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonPanel2.StyleMouseDown.Class = "";
this.ribbonPanel2.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
//
//
//
this.ribbonPanel2.StyleMouseOver.Class = "";
this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel2.TabIndex = 2;
//
// 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.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem4.Image")));
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.buttonItem3});
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.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem2.Image")));
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
//
this.buttonItem3.Name = "buttonItem3";
this.buttonItem3.SubItemsExpandWidth = 14;
this.buttonItem3.Text = "Add Backup Rule";
//
// backupRestoreTab // backupRestoreTab
// //
this.backupRestoreTab.Checked = true; this.backupRestoreTab.Checked = true;
@ -474,12 +483,6 @@
this.backupRestoreTab.Panel = this.ribbonPanel2; this.backupRestoreTab.Panel = this.ribbonPanel2;
this.backupRestoreTab.Text = "Backup and Restore"; this.backupRestoreTab.Text = "Backup and Restore";
// //
// settingsTab
//
this.settingsTab.Name = "settingsTab";
this.settingsTab.Panel = this.ribbonPanel4;
this.settingsTab.Text = "Settings";
//
// deviceTab // deviceTab
// //
this.deviceTab.ColorTable = DevComponents.DotNetBar.eRibbonTabColor.Green; this.deviceTab.ColorTable = DevComponents.DotNetBar.eRibbonTabColor.Green;
@ -494,6 +497,12 @@
this.ruleTab.Panel = this.ribbonPanel5; this.ruleTab.Panel = this.ribbonPanel5;
this.ruleTab.Text = "Rule"; this.ruleTab.Text = "Rule";
// //
// settingsTab
//
this.settingsTab.Name = "settingsTab";
this.settingsTab.Panel = this.ribbonPanel4;
this.settingsTab.Text = "Settings";
//
// buttonItem1 // buttonItem1
// //
this.buttonItem1.Name = "buttonItem1"; this.buttonItem1.Name = "buttonItem1";
@ -514,9 +523,9 @@
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripProgressBar1, this.toolStripProgressBar1,
this.toolStripStatusLabel1}); this.toolStripStatusLabel1});
this.statusStrip1.Location = new System.Drawing.Point(0, 665); this.statusStrip1.Location = new System.Drawing.Point(0, 524);
this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(1214, 22); this.statusStrip1.Size = new System.Drawing.Size(992, 22);
this.statusStrip1.TabIndex = 1; this.statusStrip1.TabIndex = 1;
this.statusStrip1.Text = "statusStrip1"; this.statusStrip1.Text = "statusStrip1";
// //
@ -531,11 +540,79 @@
this.toolStripStatusLabel1.Size = new System.Drawing.Size(118, 17); this.toolStripStatusLabel1.Size = new System.Drawing.Size(118, 17);
this.toolStripStatusLabel1.Text = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Text = "toolStripStatusLabel1";
// //
// listViewEx1
//
this.listViewEx1.Alignment = System.Windows.Forms.ListViewAlignment.SnapToGrid;
this.listViewEx1.AllowColumnReorder = true;
//
//
//
this.listViewEx1.Border.Class = "ListViewBorder";
this.listViewEx1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.listViewEx1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.driveLabelColumn,
this.driveBackupHeader});
this.listViewEx1.FullRowSelect = true;
this.listViewEx1.Location = new System.Drawing.Point(4, 0);
this.listViewEx1.Name = "listViewEx1";
this.listViewEx1.Size = new System.Drawing.Size(212, 327);
this.listViewEx1.TabIndex = 0;
this.listViewEx1.UseCompatibleStateImageBehavior = false;
this.listViewEx1.View = System.Windows.Forms.View.Details;
//
// driveLabelColumn
//
this.driveLabelColumn.Text = "Label";
this.driveLabelColumn.Width = 47;
//
// driveBackupHeader
//
this.driveBackupHeader.Text = "Backups";
//
// sideBar
//
this.sideBar.CanReorderTabs = true;
this.sideBar.Controls.Add(this.tabControlPanel1);
this.sideBar.Location = new System.Drawing.Point(0, 163);
this.sideBar.Name = "sideBar";
this.sideBar.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold);
this.sideBar.SelectedTabIndex = 0;
this.sideBar.Size = new System.Drawing.Size(220, 358);
this.sideBar.TabIndex = 2;
this.sideBar.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
this.sideBar.Tabs.Add(this.connectedDevicesTab);
this.sideBar.Text = "tabControl1";
this.sideBar.ThemeAware = true;
//
// connectedDevicesTab
//
this.connectedDevicesTab.AttachedControl = this.tabControlPanel1;
this.connectedDevicesTab.Name = "connectedDevicesTab";
this.connectedDevicesTab.Text = "Connected Drives";
//
// tabControlPanel1
//
this.tabControlPanel1.Controls.Add(this.listViewEx1);
this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControlPanel1.Location = new System.Drawing.Point(0, 27);
this.tabControlPanel1.Name = "tabControlPanel1";
this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1);
this.tabControlPanel1.Size = new System.Drawing.Size(220, 331);
this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.SystemColors.Control;
this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
| DevComponents.DotNetBar.eBorderSide.Bottom)));
this.tabControlPanel1.Style.GradientAngle = 90;
this.tabControlPanel1.TabIndex = 1;
this.tabControlPanel1.TabItem = this.connectedDevicesTab;
this.tabControlPanel1.ThemeAware = true;
//
// mainWindow // mainWindow
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1214, 687); this.ClientSize = new System.Drawing.Size(992, 546);
this.Controls.Add(this.sideBar);
this.Controls.Add(this.statusStrip1); this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.ribbonControl1); this.Controls.Add(this.ribbonControl1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
@ -545,11 +622,14 @@
this.Text = "Saviour Backup System"; this.Text = "Saviour Backup System";
this.ribbonControl1.ResumeLayout(false); this.ribbonControl1.ResumeLayout(false);
this.ribbonControl1.PerformLayout(); this.ribbonControl1.PerformLayout();
this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel3.ResumeLayout(false); this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false); this.ribbonPanel4.ResumeLayout(false);
this.ribbonPanel2.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false); this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout(); this.statusStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.sideBar)).EndInit();
this.sideBar.ResumeLayout(false);
this.tabControlPanel1.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@ -584,6 +664,12 @@
private System.Windows.Forms.StatusStrip statusStrip1; private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripProgressBar toolStripProgressBar1; private System.Windows.Forms.ToolStripProgressBar toolStripProgressBar1;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1; private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
private DevComponents.DotNetBar.Controls.ListViewEx listViewEx1;
private System.Windows.Forms.ColumnHeader driveLabelColumn;
private System.Windows.Forms.ColumnHeader driveBackupHeader;
private DevComponents.DotNetBar.TabControl sideBar;
private DevComponents.DotNetBar.TabControlPanel tabControlPanel1;
private DevComponents.DotNetBar.TabItem connectedDevicesTab;
} }
} }

View file

@ -16,7 +16,10 @@ namespace Saviour_Backup_System
public mainWindow() public mainWindow()
{ {
InitializeComponent(); InitializeComponent();
ListViewItem item1 = new ListViewItem("Something");
item1.SubItems.Add("SubItem1a");
item1.SubItems.Add("SubItem1b");
listViewEx1.Items.AddRange(new ListViewItem[] { item1});
} }
} }
} }