1
Fork 0

renamed controls and added click events

This commit is contained in:
Jake Howard 2014-12-29 18:50:31 +00:00
parent ade7a123c9
commit d83a51c0e8

View file

@ -31,6 +31,9 @@
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.ribbonBar1 = new DevComponents.DotNetBar.RibbonBar();
this.viewAllRulesButton = new DevComponents.DotNetBar.ButtonItem(); this.viewAllRulesButton = new DevComponents.DotNetBar.ButtonItem();
@ -40,9 +43,6 @@
this.ribbonBar2 = new DevComponents.DotNetBar.RibbonBar(); this.ribbonBar2 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem2 = new DevComponents.DotNetBar.ButtonItem();
this.addBackupRuleButton = 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.ribbonPanel4 = new DevComponents.DotNetBar.RibbonPanel();
this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar(); this.ribbonBar5 = new DevComponents.DotNetBar.RibbonBar();
this.buttonItem6 = new DevComponents.DotNetBar.ButtonItem(); this.buttonItem6 = new DevComponents.DotNetBar.ButtonItem();
@ -76,13 +76,13 @@
this.backupDetailsPanel = new DevComponents.DotNetBar.Controls.GroupPanel(); this.backupDetailsPanel = new DevComponents.DotNetBar.Controls.GroupPanel();
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
this.backupProgress = new System.Windows.Forms.ProgressBar(); this.backupProgress = new System.Windows.Forms.ProgressBar();
this.label1 = new System.Windows.Forms.Label(); this.creationDateDisplay = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label(); this.creationDateLabel = new System.Windows.Forms.Label();
this.backupDirectoryDisplay = new System.Windows.Forms.Label(); this.backupDirectoryDisplay = new System.Windows.Forms.Label();
this.backupDirectoryLabel = new System.Windows.Forms.Label(); this.backupDirectoryLabel = new System.Windows.Forms.Label();
this.ribbonControl.SuspendLayout(); this.ribbonControl.SuspendLayout();
this.ribbonPanel2.SuspendLayout();
this.ribbonPanel3.SuspendLayout(); this.ribbonPanel3.SuspendLayout();
this.ribbonPanel2.SuspendLayout();
this.ribbonPanel4.SuspendLayout(); this.ribbonPanel4.SuspendLayout();
this.statusStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.sideBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sideBar)).BeginInit();
@ -102,8 +102,8 @@
this.ribbonControl.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonControl.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonControl.CanCustomize = false; this.ribbonControl.CanCustomize = false;
this.ribbonControl.CaptionVisible = true; this.ribbonControl.CaptionVisible = true;
this.ribbonControl.Controls.Add(this.ribbonPanel2);
this.ribbonControl.Controls.Add(this.ribbonPanel3); this.ribbonControl.Controls.Add(this.ribbonPanel3);
this.ribbonControl.Controls.Add(this.ribbonPanel2);
this.ribbonControl.Controls.Add(this.ribbonPanel4); this.ribbonControl.Controls.Add(this.ribbonPanel4);
this.ribbonControl.Dock = System.Windows.Forms.DockStyle.Top; this.ribbonControl.Dock = System.Windows.Forms.DockStyle.Top;
this.ribbonControl.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.ribbonControl.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
@ -135,6 +135,73 @@
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";
this.backupDeviceButton.Click += new System.EventHandler(this.backupDeviceButton_Click);
//
// ribbonPanel2 // ribbonPanel2
// //
this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@ -162,6 +229,7 @@
this.ribbonPanel2.StyleMouseOver.Class = ""; this.ribbonPanel2.StyleMouseOver.Class = "";
this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.ribbonPanel2.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ribbonPanel2.TabIndex = 2; this.ribbonPanel2.TabIndex = 2;
this.ribbonPanel2.Visible = false;
// //
// ribbonBar1 // ribbonBar1
// //
@ -308,73 +376,6 @@
this.addBackupRuleButton.Text = "Add Backup Rule"; this.addBackupRuleButton.Text = "Add Backup Rule";
this.addBackupRuleButton.Click += new System.EventHandler(this.addBackupRuleButton_Click); this.addBackupRuleButton.Click += new System.EventHandler(this.addBackupRuleButton_Click);
// //
// 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;
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.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";
//
// ribbonPanel4 // ribbonPanel4
// //
this.ribbonPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.ribbonPanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
@ -485,13 +486,13 @@
// //
// backupRestoreTab // backupRestoreTab
// //
this.backupRestoreTab.Checked = true;
this.backupRestoreTab.Name = "backupRestoreTab"; this.backupRestoreTab.Name = "backupRestoreTab";
this.backupRestoreTab.Panel = this.ribbonPanel2; this.backupRestoreTab.Panel = this.ribbonPanel2;
this.backupRestoreTab.Text = "Backup and Restore"; this.backupRestoreTab.Text = "Backup and Restore";
// //
// deviceTab // deviceTab
// //
this.deviceTab.Checked = true;
this.deviceTab.ColorTable = DevComponents.DotNetBar.eRibbonTabColor.Green; this.deviceTab.ColorTable = DevComponents.DotNetBar.eRibbonTabColor.Green;
this.deviceTab.Name = "deviceTab"; this.deviceTab.Name = "deviceTab";
this.deviceTab.Panel = this.ribbonPanel3; this.deviceTab.Panel = this.ribbonPanel3;
@ -791,8 +792,8 @@
this.backupDetailsPanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.backupDetailsPanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.backupDetailsPanel.Controls.Add(this.label3); this.backupDetailsPanel.Controls.Add(this.label3);
this.backupDetailsPanel.Controls.Add(this.backupProgress); this.backupDetailsPanel.Controls.Add(this.backupProgress);
this.backupDetailsPanel.Controls.Add(this.label1); this.backupDetailsPanel.Controls.Add(this.creationDateDisplay);
this.backupDetailsPanel.Controls.Add(this.label2); this.backupDetailsPanel.Controls.Add(this.creationDateLabel);
this.backupDetailsPanel.Controls.Add(this.backupDirectoryDisplay); this.backupDetailsPanel.Controls.Add(this.backupDirectoryDisplay);
this.backupDetailsPanel.Controls.Add(this.backupDirectoryLabel); this.backupDetailsPanel.Controls.Add(this.backupDirectoryLabel);
this.backupDetailsPanel.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.backupDetailsPanel.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -851,27 +852,27 @@
this.backupProgress.Size = new System.Drawing.Size(707, 27); this.backupProgress.Size = new System.Drawing.Size(707, 27);
this.backupProgress.TabIndex = 9; this.backupProgress.TabIndex = 9;
// //
// label1 // creationDateDisplay
// //
this.label1.AutoSize = true; this.creationDateDisplay.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Transparent; this.creationDateDisplay.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.creationDateDisplay.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(96, 35); this.creationDateDisplay.Location = new System.Drawing.Point(96, 35);
this.label1.Name = "label1"; this.creationDateDisplay.Name = "creationDateDisplay";
this.label1.Size = new System.Drawing.Size(48, 17); this.creationDateDisplay.Size = new System.Drawing.Size(48, 17);
this.label1.TabIndex = 8; this.creationDateDisplay.TabIndex = 8;
this.label1.Text = "NONE"; this.creationDateDisplay.Text = "NONE";
// //
// label2 // creationDateLabel
// //
this.label2.AutoSize = true; this.creationDateLabel.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.Transparent; this.creationDateLabel.BackColor = System.Drawing.Color.Transparent;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.creationDateLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(3, 35); this.creationDateLabel.Location = new System.Drawing.Point(3, 35);
this.label2.Name = "label2"; this.creationDateLabel.Name = "creationDateLabel";
this.label2.Size = new System.Drawing.Size(99, 17); this.creationDateLabel.Size = new System.Drawing.Size(99, 17);
this.label2.TabIndex = 7; this.creationDateLabel.TabIndex = 7;
this.label2.Text = "Creation Date:"; this.creationDateLabel.Text = "Creation Date:";
// //
// backupDirectoryDisplay // backupDirectoryDisplay
// //
@ -914,8 +915,8 @@
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.mainWindow_FormClosing); 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.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel3.ResumeLayout(false); this.ribbonPanel3.ResumeLayout(false);
this.ribbonPanel2.ResumeLayout(false);
this.ribbonPanel4.ResumeLayout(false); this.ribbonPanel4.ResumeLayout(false);
this.statusStrip1.ResumeLayout(false); this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout(); this.statusStrip1.PerformLayout();
@ -980,8 +981,8 @@
private DevComponents.DotNetBar.Controls.GroupPanel backupDetailsPanel; private DevComponents.DotNetBar.Controls.GroupPanel backupDetailsPanel;
private System.Windows.Forms.Label backupDirectoryDisplay; private System.Windows.Forms.Label backupDirectoryDisplay;
private System.Windows.Forms.Label backupDirectoryLabel; private System.Windows.Forms.Label backupDirectoryLabel;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label creationDateDisplay;
private System.Windows.Forms.Label label2; private System.Windows.Forms.Label creationDateLabel;
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label3;
public System.Windows.Forms.ProgressBar backupProgress; public System.Windows.Forms.ProgressBar backupProgress;