1
Fork 0

added a few controls to ribbon bar, and, im not sure what else.

This commit is contained in:
Jake Howard 2014-08-01 22:11:36 +01:00
parent 7d901a1922
commit fb7e3d993f

View file

@ -31,11 +31,11 @@
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(mainWindow));
this.ribbonControl = 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.ribbonPanel4 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar6 = new DevComponents.DotNetBar.RibbonBar();
@ -44,6 +44,8 @@
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.backupRestoreTab = new DevComponents.DotNetBar.RibbonTabItem();
this.deviceTab = new DevComponents.DotNetBar.RibbonTabItem();
this.settingsTab = new DevComponents.DotNetBar.RibbonTabItem();
@ -67,16 +69,17 @@
this.driveLetterLabel = new System.Windows.Forms.Label();
this.driveSystemLabel = 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.driveRefreshTimer = new System.Windows.Forms.Timer(this.components);
this.formatDriveCapacityTimer = new System.Windows.Forms.Timer(this.components);
this.driveIconBox = new System.Windows.Forms.PictureBox();
this.buttonItem4 = new DevComponents.DotNetBar.ButtonItem();
this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem();
this.ribbonBar1 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem8 = new DevComponents.DotNetBar.ButtonItem();
this.backupDeviceButton = new DevComponents.DotNetBar.ButtonItem();
this.ribbonControl.SuspendLayout();
this.ribbonPanel3.SuspendLayout();
this.ribbonPanel2.SuspendLayout();
this.ribbonPanel4.SuspendLayout();
this.ribbonPanel3.SuspendLayout();
this.statusStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.sideBar)).BeginInit();
this.sideBar.SuspendLayout();
@ -93,9 +96,9 @@
this.ribbonControl.BackgroundStyle.Class = "";
this.ribbonControl.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonControl.CaptionVisible = true;
this.ribbonControl.Controls.Add(this.ribbonPanel3);
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[] {
this.backupRestoreTab,
@ -129,68 +132,10 @@
this.ribbonControl.TabIndex = 0;
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, 0);
this.ribbonPanel3.Name = "ribbonPanel3";
this.ribbonPanel3.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
this.ribbonPanel3.Size = new System.Drawing.Size(992, 161);
//
//
//
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;
this.ribbonPanel3.Visible = false;
//
// 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, 158);
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;
this.ribbonPanel2.Controls.Add(this.ribbonBar1);
this.ribbonPanel2.Controls.Add(this.ribbonBar3);
this.ribbonPanel2.Controls.Add(this.ribbonBar2);
this.ribbonPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
@ -214,6 +159,7 @@
this.ribbonPanel2.StyleMouseOver.Class = "";
this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel2.TabIndex = 2;
this.ribbonPanel2.Visible = false;
//
// ribbonBar3
//
@ -249,6 +195,16 @@
this.ribbonBar3.TitleStyleMouseOver.Class = "";
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
//
this.ribbonBar2.AutoOverflowEnabled = true;
@ -284,6 +240,17 @@
this.ribbonBar2.TitleStyleMouseOver.Class = "";
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
//
this.buttonItem3.Name = "buttonItem3";
@ -439,15 +406,75 @@
this.buttonItem5.SubItemsExpandWidth = 14;
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
//
this.backupRestoreTab.Checked = true;
this.backupRestoreTab.Name = "backupRestoreTab";
this.backupRestoreTab.Panel = this.ribbonPanel2;
this.backupRestoreTab.Text = "Backup and Restore";
//
// deviceTab
//
this.deviceTab.Checked = true;
this.deviceTab.ColorTable = DevComponents.DotNetBar.eRibbonTabColor.Green;
this.deviceTab.Name = "deviceTab";
this.deviceTab.Panel = this.ribbonPanel3;
@ -707,6 +734,17 @@
this.driveNameLabel.TabIndex = 2;
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
//
this.driveCapacityDisplay.BackColor = System.Drawing.SystemColors.ActiveCaption;
@ -739,37 +777,53 @@
this.formatDriveCapacityTimer.Interval = 300;
this.formatDriveCapacityTimer.Tick += new System.EventHandler(this.formatDriveCapacityTimer_Tick);
//
// driveIconBox
// ribbonBar1
//
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;
this.ribbonBar1.AutoOverflowEnabled = true;
//
// 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";
//
// buttonItem2
this.ribbonBar1.BackgroundMouseOverStyle.Class = "";
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.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";
//
//
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";
//
// backupDeviceButton
//
this.backupDeviceButton.Name = "backupDeviceButton";
this.backupDeviceButton.SubItemsExpandWidth = 14;
this.backupDeviceButton.Text = "Backup Device";
this.backupDeviceButton.ThemeAware = true;
//
// mainWindow
//
@ -788,9 +842,9 @@
this.Text = "Saviour Backup System";
this.ribbonControl.ResumeLayout(false);
this.ribbonControl.PerformLayout();
this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false);
this.ribbonPanel3.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.sideBar)).EndInit();
@ -849,6 +903,9 @@
private System.Windows.Forms.Label driveTypeLabel;
private System.Windows.Forms.Timer driveRefreshTimer;
private System.Windows.Forms.Timer formatDriveCapacityTimer;
private DevComponents.DotNetBar.RibbonBar ribbonBar1;
private DevComponents.DotNetBar.ButtonItem buttonItem8;
private DevComponents.DotNetBar.ButtonItem backupDeviceButton;
}
}