Added basic ribbon control to main window
This commit is contained in:
parent
1dfb042341
commit
5eb911bd04
3 changed files with 3549 additions and 0 deletions
230
Saviour Backup System/mainWindow.Designer.cs
generated
Normal file
230
Saviour Backup System/mainWindow.Designer.cs
generated
Normal file
|
@ -0,0 +1,230 @@
|
||||||
|
namespace Saviour_Backup_System
|
||||||
|
{
|
||||||
|
partial class mainWindow
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.components = new System.ComponentModel.Container();
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(mainWindow));
|
||||||
|
this.ribbonControl1 = new DevComponents.DotNetBar.RibbonControl();
|
||||||
|
this.ribbonPanel1 = new DevComponents.DotNetBar.RibbonPanel();
|
||||||
|
this.ribbonBar1 = new DevComponents.DotNetBar.RibbonBar();
|
||||||
|
this.ribbonPanel2 = new DevComponents.DotNetBar.RibbonPanel();
|
||||||
|
this.ribbonTabItem1 = new DevComponents.DotNetBar.RibbonTabItem();
|
||||||
|
this.ribbonTabItem2 = new DevComponents.DotNetBar.RibbonTabItem();
|
||||||
|
this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
|
||||||
|
this.qatCustomizeItem1 = new DevComponents.DotNetBar.QatCustomizeItem();
|
||||||
|
this.styleManager1 = new DevComponents.DotNetBar.StyleManager(this.components);
|
||||||
|
this.ribbonControl1.SuspendLayout();
|
||||||
|
this.ribbonPanel1.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// ribbonControl1
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.ribbonControl1.BackgroundStyle.Class = "";
|
||||||
|
this.ribbonControl1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.ribbonControl1.CaptionVisible = true;
|
||||||
|
this.ribbonControl1.Controls.Add(this.ribbonPanel1);
|
||||||
|
this.ribbonControl1.Controls.Add(this.ribbonPanel2);
|
||||||
|
this.ribbonControl1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
|
this.ribbonControl1.Items.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||||
|
this.ribbonTabItem1,
|
||||||
|
this.ribbonTabItem2});
|
||||||
|
this.ribbonControl1.KeyTipsFont = new System.Drawing.Font("Tahoma", 7F);
|
||||||
|
this.ribbonControl1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
this.ribbonControl1.Name = "ribbonControl1";
|
||||||
|
this.ribbonControl1.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2);
|
||||||
|
this.ribbonControl1.QuickToolbarItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||||
|
this.buttonItem1,
|
||||||
|
this.qatCustomizeItem1});
|
||||||
|
this.ribbonControl1.Size = new System.Drawing.Size(754, 145);
|
||||||
|
this.ribbonControl1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
|
this.ribbonControl1.SystemText.MaximizeRibbonText = "&Maximize the Ribbon";
|
||||||
|
this.ribbonControl1.SystemText.MinimizeRibbonText = "Mi&nimize the Ribbon";
|
||||||
|
this.ribbonControl1.SystemText.QatAddItemText = "&Add to Quick Access Toolbar";
|
||||||
|
this.ribbonControl1.SystemText.QatCustomizeMenuLabel = "<b>Customize Quick Access Toolbar</b>";
|
||||||
|
this.ribbonControl1.SystemText.QatCustomizeText = "&Customize Quick Access Toolbar...";
|
||||||
|
this.ribbonControl1.SystemText.QatDialogAddButton = "&Add >>";
|
||||||
|
this.ribbonControl1.SystemText.QatDialogCancelButton = "Cancel";
|
||||||
|
this.ribbonControl1.SystemText.QatDialogCaption = "Customize Quick Access Toolbar";
|
||||||
|
this.ribbonControl1.SystemText.QatDialogCategoriesLabel = "&Choose commands from:";
|
||||||
|
this.ribbonControl1.SystemText.QatDialogOkButton = "OK";
|
||||||
|
this.ribbonControl1.SystemText.QatDialogPlacementCheckbox = "&Place Quick Access Toolbar below the Ribbon";
|
||||||
|
this.ribbonControl1.SystemText.QatDialogRemoveButton = "&Remove";
|
||||||
|
this.ribbonControl1.SystemText.QatPlaceAboveRibbonText = "&Place Quick Access Toolbar above the Ribbon";
|
||||||
|
this.ribbonControl1.SystemText.QatPlaceBelowRibbonText = "&Place Quick Access Toolbar below the Ribbon";
|
||||||
|
this.ribbonControl1.SystemText.QatRemoveItemText = "&Remove from Quick Access Toolbar";
|
||||||
|
this.ribbonControl1.TabGroupHeight = 14;
|
||||||
|
this.ribbonControl1.TabIndex = 0;
|
||||||
|
this.ribbonControl1.Text = "Saviour Backup System";
|
||||||
|
//
|
||||||
|
// ribbonPanel1
|
||||||
|
//
|
||||||
|
this.ribbonPanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
|
this.ribbonPanel1.Controls.Add(this.ribbonBar1);
|
||||||
|
this.ribbonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.ribbonPanel1.Location = new System.Drawing.Point(0, 53);
|
||||||
|
this.ribbonPanel1.Name = "ribbonPanel1";
|
||||||
|
this.ribbonPanel1.Padding = new System.Windows.Forms.Padding(3, 0, 3, 3);
|
||||||
|
this.ribbonPanel1.Size = new System.Drawing.Size(754, 90);
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.ribbonPanel1.Style.Class = "";
|
||||||
|
this.ribbonPanel1.Style.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.ribbonPanel1.StyleMouseDown.Class = "";
|
||||||
|
this.ribbonPanel1.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.ribbonPanel1.StyleMouseOver.Class = "";
|
||||||
|
this.ribbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.ribbonPanel1.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// 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.Location = new System.Drawing.Point(3, 0);
|
||||||
|
this.ribbonBar1.Name = "ribbonBar1";
|
||||||
|
this.ribbonBar1.Size = new System.Drawing.Size(100, 87);
|
||||||
|
this.ribbonBar1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
|
this.ribbonBar1.TabIndex = 0;
|
||||||
|
this.ribbonBar1.Text = "ribbonBar1";
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.ribbonBar1.TitleStyle.Class = "";
|
||||||
|
this.ribbonBar1.TitleStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.ribbonBar1.TitleStyleMouseOver.Class = "";
|
||||||
|
this.ribbonBar1.TitleStyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
//
|
||||||
|
// ribbonPanel2
|
||||||
|
//
|
||||||
|
this.ribbonPanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
|
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(754, 90);
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
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;
|
||||||
|
this.ribbonPanel2.Visible = false;
|
||||||
|
//
|
||||||
|
// ribbonTabItem1
|
||||||
|
//
|
||||||
|
this.ribbonTabItem1.Checked = true;
|
||||||
|
this.ribbonTabItem1.Name = "ribbonTabItem1";
|
||||||
|
this.ribbonTabItem1.Panel = this.ribbonPanel1;
|
||||||
|
this.ribbonTabItem1.Text = "&Home";
|
||||||
|
//
|
||||||
|
// ribbonTabItem2
|
||||||
|
//
|
||||||
|
this.ribbonTabItem2.Name = "ribbonTabItem2";
|
||||||
|
this.ribbonTabItem2.Panel = this.ribbonPanel2;
|
||||||
|
this.ribbonTabItem2.Text = "ribbonTabItem2";
|
||||||
|
//
|
||||||
|
// buttonItem1
|
||||||
|
//
|
||||||
|
this.buttonItem1.Name = "buttonItem1";
|
||||||
|
this.buttonItem1.Text = "buttonItem1";
|
||||||
|
//
|
||||||
|
// qatCustomizeItem1
|
||||||
|
//
|
||||||
|
this.qatCustomizeItem1.Name = "qatCustomizeItem1";
|
||||||
|
//
|
||||||
|
// styleManager1
|
||||||
|
//
|
||||||
|
this.styleManager1.ManagerStyle = DevComponents.DotNetBar.eStyle.Office2010Black;
|
||||||
|
this.styleManager1.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(163)))), ((int)(((byte)(26))))));
|
||||||
|
//
|
||||||
|
// mainWindow
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(754, 276);
|
||||||
|
this.Controls.Add(this.ribbonControl1);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
|
this.Name = "mainWindow";
|
||||||
|
this.Text = "Form1";
|
||||||
|
this.ribbonControl1.ResumeLayout(false);
|
||||||
|
this.ribbonControl1.PerformLayout();
|
||||||
|
this.ribbonPanel1.ResumeLayout(false);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private DevComponents.DotNetBar.RibbonControl ribbonControl1;
|
||||||
|
private DevComponents.DotNetBar.RibbonPanel ribbonPanel1;
|
||||||
|
private DevComponents.DotNetBar.RibbonBar ribbonBar1;
|
||||||
|
private DevComponents.DotNetBar.RibbonPanel ribbonPanel2;
|
||||||
|
private DevComponents.DotNetBar.RibbonTabItem ribbonTabItem1;
|
||||||
|
private DevComponents.DotNetBar.RibbonTabItem ribbonTabItem2;
|
||||||
|
private DevComponents.DotNetBar.ButtonItem buttonItem1;
|
||||||
|
private DevComponents.DotNetBar.QatCustomizeItem qatCustomizeItem1;
|
||||||
|
private DevComponents.DotNetBar.StyleManager styleManager1;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
20
Saviour Backup System/mainWindow.cs
Normal file
20
Saviour Backup System/mainWindow.cs
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace Saviour_Backup_System
|
||||||
|
{
|
||||||
|
public partial class mainWindow : Form
|
||||||
|
{
|
||||||
|
public mainWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
3299
Saviour Backup System/mainWindow.resx
Normal file
3299
Saviour Backup System/mainWindow.resx
Normal file
File diff suppressed because it is too large
Load diff
Reference in a new issue