|
|
@@ -3,14 +3,14 @@
|
|
|
partial class Main
|
|
|
{
|
|
|
/// <summary>
|
|
|
- /// 必需的设计器变量。
|
|
|
+ /// Required designer variable.
|
|
|
/// </summary>
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 清理所有正在使用的资源。
|
|
|
+ /// Clean up any resources being used.
|
|
|
/// </summary>
|
|
|
- /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
protected override void Dispose(bool disposing)
|
|
|
{
|
|
|
if (disposing && (components != null))
|
|
|
@@ -20,46 +20,76 @@
|
|
|
base.Dispose(disposing);
|
|
|
}
|
|
|
|
|
|
- #region Windows 窗体设计器生成的代码
|
|
|
+ #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.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
|
- this.tabControl1 = new System.Windows.Forms.TabControl();
|
|
|
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
|
|
|
+ this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
|
|
|
+ this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
|
|
|
+ this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar();
|
|
|
+ this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
|
|
|
+ this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
- // menuStrip1
|
|
|
+ // ribbon
|
|
|
//
|
|
|
- this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
|
- this.menuStrip1.Name = "menuStrip1";
|
|
|
- this.menuStrip1.Size = new System.Drawing.Size(831, 24);
|
|
|
- this.menuStrip1.TabIndex = 0;
|
|
|
- this.menuStrip1.Text = "menuStrip1";
|
|
|
+ this.ribbon.ExpandCollapseItem.Id = 0;
|
|
|
+ this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
|
|
|
+ this.ribbon.ExpandCollapseItem,
|
|
|
+ this.barButtonItem1});
|
|
|
+ this.ribbon.Location = new System.Drawing.Point(0, 0);
|
|
|
+ this.ribbon.MaxItemId = 5;
|
|
|
+ this.ribbon.Name = "ribbon";
|
|
|
+ this.ribbon.Size = new System.Drawing.Size(1033, 50);
|
|
|
+ this.ribbon.StatusBar = this.ribbonStatusBar;
|
|
|
//
|
|
|
- // tabControl1
|
|
|
+ // barButtonItem1
|
|
|
//
|
|
|
- this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
- this.tabControl1.Location = new System.Drawing.Point(0, 24);
|
|
|
- this.tabControl1.Name = "tabControl1";
|
|
|
- this.tabControl1.SelectedIndex = 0;
|
|
|
- this.tabControl1.Size = new System.Drawing.Size(831, 501);
|
|
|
- this.tabControl1.TabIndex = 1;
|
|
|
+ this.barButtonItem1.Caption = "barButtonItem1";
|
|
|
+ this.barButtonItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.Glyph")));
|
|
|
+ this.barButtonItem1.Id = 3;
|
|
|
+ this.barButtonItem1.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.LargeGlyph")));
|
|
|
+ this.barButtonItem1.Name = "barButtonItem1";
|
|
|
+ //
|
|
|
+ // ribbonStatusBar
|
|
|
+ //
|
|
|
+ this.ribbonStatusBar.Location = new System.Drawing.Point(0, 680);
|
|
|
+ this.ribbonStatusBar.Name = "ribbonStatusBar";
|
|
|
+ this.ribbonStatusBar.Ribbon = this.ribbon;
|
|
|
+ this.ribbonStatusBar.Size = new System.Drawing.Size(1033, 31);
|
|
|
+ //
|
|
|
+ // ribbonPageGroup1
|
|
|
+ //
|
|
|
+ this.ribbonPageGroup1.Name = "ribbonPageGroup1";
|
|
|
+ this.ribbonPageGroup1.Text = "ribbonPageGroup1";
|
|
|
+ //
|
|
|
+ // ribbonPage1
|
|
|
+ //
|
|
|
+ this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
|
|
|
+ this.ribbonPageGroup1});
|
|
|
+ this.ribbonPage1.Name = "ribbonPage1";
|
|
|
+ this.ribbonPage1.Text = "ribbonPage11";
|
|
|
//
|
|
|
// Main
|
|
|
//
|
|
|
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
+ this.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128)))));
|
|
|
+ this.Appearance.Options.UseForeColor = true;
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
- this.ClientSize = new System.Drawing.Size(831, 525);
|
|
|
- this.Controls.Add(this.tabControl1);
|
|
|
- this.Controls.Add(this.menuStrip1);
|
|
|
- this.MainMenuStrip = this.menuStrip1;
|
|
|
+ this.ClientSize = new System.Drawing.Size(1033, 711);
|
|
|
+ this.Controls.Add(this.ribbonStatusBar);
|
|
|
+ this.Controls.Add(this.ribbon);
|
|
|
this.Name = "Main";
|
|
|
- this.Text = "Form1";
|
|
|
- this.Load += new System.EventHandler(this.Main_Load);
|
|
|
+ this.Ribbon = this.ribbon;
|
|
|
+ this.StatusBar = this.ribbonStatusBar;
|
|
|
+ this.Text = "设备监控管理平台";
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
|
|
|
|
@@ -67,8 +97,10 @@
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
- private System.Windows.Forms.MenuStrip menuStrip1;
|
|
|
- private System.Windows.Forms.TabControl tabControl1;
|
|
|
+ private DevExpress.XtraBars.Ribbon.RibbonControl ribbon;
|
|
|
+ private DevExpress.XtraBars.Ribbon.RibbonStatusBar ribbonStatusBar;
|
|
|
+ private DevExpress.XtraBars.BarButtonItem barButtonItem1;
|
|
|
+ private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1;
|
|
|
+ private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1;
|
|
|
}
|
|
|
-}
|
|
|
-
|
|
|
+}
|