300 lines
15 KiB
C#
300 lines
15 KiB
C#
namespace WinformDevFarme
|
|
{
|
|
partial class FrmMain
|
|
{
|
|
/// <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(FrmMain));
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.lblDatetime = new System.Windows.Forms.Label();
|
|
this.lblUsername = new System.Windows.Forms.Label();
|
|
this.panel3 = new System.Windows.Forms.Panel();
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
|
this.treeView1 = new System.Windows.Forms.TreeView();
|
|
this.tabControl1 = new System.Windows.Forms.TabControl();
|
|
this.tabMain = new System.Windows.Forms.TabPage();
|
|
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.lblMainTitle = new System.Windows.Forms.Label();
|
|
this.btnClose = new System.Windows.Forms.Button();
|
|
this.btnMax = new System.Windows.Forms.Button();
|
|
this.btnMin = new System.Windows.Forms.Button();
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
this.timer2 = new System.Windows.Forms.Timer(this.components);
|
|
this.panel2.SuspendLayout();
|
|
this.panel3.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
|
this.splitContainer1.Panel1.SuspendLayout();
|
|
this.splitContainer1.Panel2.SuspendLayout();
|
|
this.splitContainer1.SuspendLayout();
|
|
this.tabControl1.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.panel2.Controls.Add(this.lblDatetime);
|
|
this.panel2.Controls.Add(this.lblUsername);
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.panel2.Location = new System.Drawing.Point(0, 772);
|
|
this.panel2.Margin = new System.Windows.Forms.Padding(4);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(1200, 28);
|
|
this.panel2.TabIndex = 1;
|
|
//
|
|
// lblDatetime
|
|
//
|
|
this.lblDatetime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.lblDatetime.Image = ((System.Drawing.Image)(resources.GetObject("lblDatetime.Image")));
|
|
this.lblDatetime.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.lblDatetime.Location = new System.Drawing.Point(1038, 3);
|
|
this.lblDatetime.Name = "lblDatetime";
|
|
this.lblDatetime.Size = new System.Drawing.Size(155, 23);
|
|
this.lblDatetime.TabIndex = 1;
|
|
this.lblDatetime.Text = "label1";
|
|
this.lblDatetime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
//
|
|
// lblUsername
|
|
//
|
|
this.lblUsername.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point);
|
|
this.lblUsername.Image = ((System.Drawing.Image)(resources.GetObject("lblUsername.Image")));
|
|
this.lblUsername.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.lblUsername.Location = new System.Drawing.Point(6, 4);
|
|
this.lblUsername.Name = "lblUsername";
|
|
this.lblUsername.Size = new System.Drawing.Size(75, 21);
|
|
this.lblUsername.TabIndex = 0;
|
|
this.lblUsername.Text = "label1";
|
|
this.lblUsername.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
//
|
|
// panel3
|
|
//
|
|
this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.panel3.Controls.Add(this.splitContainer1);
|
|
this.panel3.Location = new System.Drawing.Point(0, 40);
|
|
this.panel3.Margin = new System.Windows.Forms.Padding(4);
|
|
this.panel3.Name = "panel3";
|
|
this.panel3.Size = new System.Drawing.Size(1200, 729);
|
|
this.panel3.TabIndex = 2;
|
|
//
|
|
// splitContainer1
|
|
//
|
|
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
|
|
this.splitContainer1.Margin = new System.Windows.Forms.Padding(4);
|
|
this.splitContainer1.Name = "splitContainer1";
|
|
//
|
|
// splitContainer1.Panel1
|
|
//
|
|
this.splitContainer1.Panel1.Controls.Add(this.treeView1);
|
|
//
|
|
// splitContainer1.Panel2
|
|
//
|
|
this.splitContainer1.Panel2.Controls.Add(this.tabControl1);
|
|
this.splitContainer1.Size = new System.Drawing.Size(1198, 727);
|
|
this.splitContainer1.SplitterDistance = 274;
|
|
this.splitContainer1.SplitterWidth = 5;
|
|
this.splitContainer1.TabIndex = 0;
|
|
//
|
|
// treeView1
|
|
//
|
|
this.treeView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.treeView1.ForeColor = System.Drawing.SystemColors.WindowText;
|
|
this.treeView1.LineColor = System.Drawing.Color.White;
|
|
this.treeView1.Location = new System.Drawing.Point(0, 0);
|
|
this.treeView1.Margin = new System.Windows.Forms.Padding(4);
|
|
this.treeView1.Name = "treeView1";
|
|
this.treeView1.Size = new System.Drawing.Size(274, 727);
|
|
this.treeView1.TabIndex = 0;
|
|
//
|
|
// tabControl1
|
|
//
|
|
this.tabControl1.Controls.Add(this.tabMain);
|
|
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tabControl1.ImageList = this.imageList1;
|
|
this.tabControl1.Location = new System.Drawing.Point(0, 0);
|
|
this.tabControl1.Margin = new System.Windows.Forms.Padding(4);
|
|
this.tabControl1.Name = "tabControl1";
|
|
this.tabControl1.SelectedIndex = 0;
|
|
this.tabControl1.Size = new System.Drawing.Size(919, 727);
|
|
this.tabControl1.TabIndex = 0;
|
|
//
|
|
// tabMain
|
|
//
|
|
this.tabMain.ImageIndex = 0;
|
|
this.tabMain.Location = new System.Drawing.Point(4, 26);
|
|
this.tabMain.Margin = new System.Windows.Forms.Padding(0);
|
|
this.tabMain.Name = "tabMain";
|
|
this.tabMain.Padding = new System.Windows.Forms.Padding(4);
|
|
this.tabMain.Size = new System.Drawing.Size(911, 697);
|
|
this.tabMain.TabIndex = 1;
|
|
this.tabMain.Text = "主页";
|
|
this.tabMain.UseVisualStyleBackColor = true;
|
|
//
|
|
// imageList1
|
|
//
|
|
this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
|
|
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
|
|
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
|
|
this.imageList1.Images.SetKeyName(0, "首页.png");
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.BackColor = System.Drawing.Color.DarkGray;
|
|
this.panel1.Controls.Add(this.lblMainTitle);
|
|
this.panel1.Controls.Add(this.btnClose);
|
|
this.panel1.Controls.Add(this.btnMax);
|
|
this.panel1.Controls.Add(this.btnMin);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panel1.ForeColor = System.Drawing.Color.White;
|
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
|
this.panel1.Margin = new System.Windows.Forms.Padding(4);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(1200, 42);
|
|
this.panel1.TabIndex = 3;
|
|
this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
|
|
this.panel1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseMove);
|
|
//
|
|
// lblMainTitle
|
|
//
|
|
this.lblMainTitle.Font = new System.Drawing.Font("楷体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
this.lblMainTitle.Image = ((System.Drawing.Image)(resources.GetObject("lblMainTitle.Image")));
|
|
this.lblMainTitle.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.lblMainTitle.Location = new System.Drawing.Point(1, 4);
|
|
this.lblMainTitle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.lblMainTitle.Name = "lblMainTitle";
|
|
this.lblMainTitle.Size = new System.Drawing.Size(169, 33);
|
|
this.lblMainTitle.TabIndex = 0;
|
|
this.lblMainTitle.Text = "WinformDevFarme";
|
|
this.lblMainTitle.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
//
|
|
// btnClose
|
|
//
|
|
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnClose.BackColor = System.Drawing.Color.Transparent;
|
|
this.btnClose.ForeColor = System.Drawing.Color.Transparent;
|
|
this.btnClose.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
|
|
this.btnClose.Location = new System.Drawing.Point(1172, 4);
|
|
this.btnClose.Margin = new System.Windows.Forms.Padding(0);
|
|
this.btnClose.Name = "btnClose";
|
|
this.btnClose.Size = new System.Drawing.Size(28, 28);
|
|
this.btnClose.TabIndex = 3;
|
|
this.btnClose.UseVisualStyleBackColor = false;
|
|
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
|
//
|
|
// btnMax
|
|
//
|
|
this.btnMax.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnMax.BackColor = System.Drawing.Color.Transparent;
|
|
this.btnMax.ForeColor = System.Drawing.Color.Transparent;
|
|
this.btnMax.Image = ((System.Drawing.Image)(resources.GetObject("btnMax.Image")));
|
|
this.btnMax.Location = new System.Drawing.Point(1140, 4);
|
|
this.btnMax.Margin = new System.Windows.Forms.Padding(0);
|
|
this.btnMax.Name = "btnMax";
|
|
this.btnMax.Size = new System.Drawing.Size(28, 28);
|
|
this.btnMax.TabIndex = 2;
|
|
this.btnMax.UseVisualStyleBackColor = false;
|
|
this.btnMax.Click += new System.EventHandler(this.btnMax_Click);
|
|
//
|
|
// btnMin
|
|
//
|
|
this.btnMin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnMin.BackColor = System.Drawing.Color.Transparent;
|
|
this.btnMin.ForeColor = System.Drawing.Color.Transparent;
|
|
this.btnMin.Image = ((System.Drawing.Image)(resources.GetObject("btnMin.Image")));
|
|
this.btnMin.Location = new System.Drawing.Point(1107, 4);
|
|
this.btnMin.Margin = new System.Windows.Forms.Padding(0);
|
|
this.btnMin.Name = "btnMin";
|
|
this.btnMin.Size = new System.Drawing.Size(28, 28);
|
|
this.btnMin.TabIndex = 1;
|
|
this.btnMin.UseVisualStyleBackColor = false;
|
|
this.btnMin.Click += new System.EventHandler(this.btnMin_Click);
|
|
//
|
|
// timer1
|
|
//
|
|
this.timer1.Enabled = true;
|
|
this.timer1.Interval = 1000;
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|
//
|
|
// timer2
|
|
//
|
|
this.timer2.Enabled = true;
|
|
this.timer2.Interval = 1000;
|
|
this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
|
|
//
|
|
// FrmMain
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.BackColor = System.Drawing.SystemColors.Window;
|
|
this.ClientSize = new System.Drawing.Size(1200, 800);
|
|
this.Controls.Add(this.panel1);
|
|
this.Controls.Add(this.panel3);
|
|
this.Controls.Add(this.panel2);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Margin = new System.Windows.Forms.Padding(4);
|
|
this.Name = "FrmMain";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Main";
|
|
this.Load += new System.EventHandler(this.FrmMain_Load);
|
|
this.panel2.ResumeLayout(false);
|
|
this.panel3.ResumeLayout(false);
|
|
this.splitContainer1.Panel1.ResumeLayout(false);
|
|
this.splitContainer1.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
|
this.splitContainer1.ResumeLayout(false);
|
|
this.tabControl1.ResumeLayout(false);
|
|
this.panel1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.Panel panel2;
|
|
private System.Windows.Forms.Panel panel3;
|
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
|
private System.Windows.Forms.TreeView treeView1;
|
|
private System.Windows.Forms.TabControl tabControl1;
|
|
private System.Windows.Forms.TabPage tabMain;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Button btnMin;
|
|
private System.Windows.Forms.Button btnClose;
|
|
private System.Windows.Forms.Button btnMax;
|
|
private System.Windows.Forms.Label lblMainTitle;
|
|
private ImageList imageList1;
|
|
private Label lblUsername;
|
|
private Label lblDatetime;
|
|
private System.Windows.Forms.Timer timer1;
|
|
private System.Windows.Forms.Timer timer2;
|
|
}
|
|
} |