2020-05-11 21:11:29 +08:00
|
|
|
|
namespace Sunny.UI.Demo
|
|
|
|
|
{
|
|
|
|
|
partial class FMain
|
|
|
|
|
{
|
|
|
|
|
/// <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();
|
2021-05-06 16:27:06 +08:00
|
|
|
|
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("控件");
|
|
|
|
|
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("窗体");
|
|
|
|
|
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("图表");
|
2021-08-11 23:13:24 +08:00
|
|
|
|
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("工控");
|
|
|
|
|
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("主题");
|
2020-05-11 21:11:29 +08:00
|
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FMain));
|
|
|
|
|
this.uiLogo1 = new Sunny.UI.UILogo();
|
|
|
|
|
this.uiAvatar = new Sunny.UI.UIAvatar();
|
|
|
|
|
this.StyleManager = new Sunny.UI.UIStyleManager(this.components);
|
2021-02-04 20:49:30 +08:00
|
|
|
|
this.uiContextMenuStrip1 = new Sunny.UI.UIContextMenuStrip();
|
|
|
|
|
this.关于ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.关于ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.Header.SuspendLayout();
|
2021-02-04 20:49:30 +08:00
|
|
|
|
this.uiContextMenuStrip1.SuspendLayout();
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// Aside
|
|
|
|
|
//
|
2020-07-14 22:19:09 +08:00
|
|
|
|
this.Aside.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.Aside.ItemHeight = 36;
|
|
|
|
|
this.Aside.LineColor = System.Drawing.Color.Black;
|
2020-09-17 20:04:08 +08:00
|
|
|
|
this.Aside.Location = new System.Drawing.Point(2, 145);
|
2020-07-14 22:19:09 +08:00
|
|
|
|
this.Aside.MenuStyle = Sunny.UI.UIMenuStyle.Black;
|
2020-06-10 23:14:02 +08:00
|
|
|
|
this.Aside.ShowOneNode = true;
|
2021-03-12 10:11:49 +08:00
|
|
|
|
this.Aside.ShowSecondBackColor = true;
|
2020-06-16 23:26:53 +08:00
|
|
|
|
this.Aside.ShowTips = true;
|
2020-09-17 20:04:08 +08:00
|
|
|
|
this.Aside.Size = new System.Drawing.Size(250, 573);
|
2021-08-11 23:13:24 +08:00
|
|
|
|
this.Aside.Style = Sunny.UI.UIStyle.Custom;
|
2020-05-11 21:11:29 +08:00
|
|
|
|
//
|
|
|
|
|
// Header
|
|
|
|
|
//
|
|
|
|
|
this.Header.Controls.Add(this.uiAvatar);
|
|
|
|
|
this.Header.Controls.Add(this.uiLogo1);
|
2020-09-17 20:04:08 +08:00
|
|
|
|
this.Header.Location = new System.Drawing.Point(2, 35);
|
2021-05-06 16:27:06 +08:00
|
|
|
|
treeNode1.ImageIndex = 1;
|
|
|
|
|
treeNode1.Name = "节点0";
|
|
|
|
|
treeNode1.Text = "控件";
|
|
|
|
|
treeNode2.Name = "节点1";
|
|
|
|
|
treeNode2.Text = "窗体";
|
|
|
|
|
treeNode3.Name = "节点2";
|
|
|
|
|
treeNode3.Text = "图表";
|
2021-08-11 23:13:24 +08:00
|
|
|
|
treeNode4.Name = "节点0";
|
|
|
|
|
treeNode4.Text = "工控";
|
|
|
|
|
treeNode5.Name = "节点2";
|
|
|
|
|
treeNode5.Text = "主题";
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.Header.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
|
2021-05-06 16:27:06 +08:00
|
|
|
|
treeNode1,
|
|
|
|
|
treeNode2,
|
|
|
|
|
treeNode3,
|
2021-08-11 23:13:24 +08:00
|
|
|
|
treeNode4,
|
|
|
|
|
treeNode5});
|
|
|
|
|
this.Header.NodeSize = new System.Drawing.Size(110, 45);
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.Header.SelectedIndex = 0;
|
2020-09-17 20:04:08 +08:00
|
|
|
|
this.Header.Size = new System.Drawing.Size(1020, 110);
|
2020-07-14 22:19:09 +08:00
|
|
|
|
this.Header.Style = Sunny.UI.UIStyle.Custom;
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.Header.MenuItemClick += new Sunny.UI.UINavBar.OnMenuItemClick(this.Header_MenuItemClick);
|
|
|
|
|
//
|
|
|
|
|
// uiLogo1
|
|
|
|
|
//
|
|
|
|
|
this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
2021-08-11 23:13:24 +08:00
|
|
|
|
this.uiLogo1.Location = new System.Drawing.Point(2, 15);
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.uiLogo1.MaximumSize = new System.Drawing.Size(300, 80);
|
|
|
|
|
this.uiLogo1.MinimumSize = new System.Drawing.Size(300, 80);
|
|
|
|
|
this.uiLogo1.Name = "uiLogo1";
|
|
|
|
|
this.uiLogo1.Size = new System.Drawing.Size(300, 80);
|
2020-06-22 21:49:51 +08:00
|
|
|
|
this.uiLogo1.Style = Sunny.UI.UIStyle.Custom;
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.uiLogo1.TabIndex = 3;
|
|
|
|
|
this.uiLogo1.Text = "uiLogo1";
|
|
|
|
|
//
|
|
|
|
|
// uiAvatar
|
|
|
|
|
//
|
|
|
|
|
this.uiAvatar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.uiAvatar.Font = new System.Drawing.Font("微软雅黑", 12F);
|
2020-09-17 20:04:08 +08:00
|
|
|
|
this.uiAvatar.Location = new System.Drawing.Point(939, 25);
|
2020-09-25 19:57:21 +08:00
|
|
|
|
this.uiAvatar.MinimumSize = new System.Drawing.Size(1, 1);
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.uiAvatar.Name = "uiAvatar";
|
2020-06-11 21:46:38 +08:00
|
|
|
|
this.uiAvatar.Size = new System.Drawing.Size(66, 70);
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.uiAvatar.TabIndex = 4;
|
|
|
|
|
this.uiAvatar.Text = "uiAvatar1";
|
|
|
|
|
//
|
2021-02-04 20:49:30 +08:00
|
|
|
|
// uiContextMenuStrip1
|
|
|
|
|
//
|
|
|
|
|
this.uiContextMenuStrip1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
|
|
|
this.uiContextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
|
|
this.关于ToolStripMenuItem,
|
|
|
|
|
this.关于ToolStripMenuItem1});
|
|
|
|
|
this.uiContextMenuStrip1.Name = "uiContextMenuStrip1";
|
2021-02-04 21:11:51 +08:00
|
|
|
|
this.uiContextMenuStrip1.Size = new System.Drawing.Size(113, 56);
|
2021-02-04 20:49:30 +08:00
|
|
|
|
//
|
|
|
|
|
// 关于ToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
this.关于ToolStripMenuItem.Name = "关于ToolStripMenuItem";
|
2021-02-04 21:11:51 +08:00
|
|
|
|
this.关于ToolStripMenuItem.Size = new System.Drawing.Size(112, 26);
|
2021-02-04 20:49:30 +08:00
|
|
|
|
this.关于ToolStripMenuItem.Text = "主页";
|
|
|
|
|
this.关于ToolStripMenuItem.Click += new System.EventHandler(this.关于ToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// 关于ToolStripMenuItem1
|
|
|
|
|
//
|
|
|
|
|
this.关于ToolStripMenuItem1.Name = "关于ToolStripMenuItem1";
|
2021-02-04 21:11:51 +08:00
|
|
|
|
this.关于ToolStripMenuItem1.Size = new System.Drawing.Size(112, 26);
|
2021-02-04 20:49:30 +08:00
|
|
|
|
this.关于ToolStripMenuItem1.Text = "关于";
|
|
|
|
|
this.关于ToolStripMenuItem1.Click += new System.EventHandler(this.关于ToolStripMenuItem1_Click);
|
|
|
|
|
//
|
2020-05-11 21:11:29 +08:00
|
|
|
|
// FMain
|
|
|
|
|
//
|
2021-03-29 21:00:32 +08:00
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(1024, 720);
|
2021-02-04 20:49:30 +08:00
|
|
|
|
this.ExtendBox = true;
|
|
|
|
|
this.ExtendMenu = this.uiContextMenuStrip1;
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
2020-09-25 20:17:19 +08:00
|
|
|
|
this.MinimumSize = new System.Drawing.Size(1024, 720);
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.Name = "FMain";
|
2020-09-17 20:04:08 +08:00
|
|
|
|
this.Padding = new System.Windows.Forms.Padding(2, 35, 2, 2);
|
|
|
|
|
this.ShowDragStretch = true;
|
2021-01-12 21:32:04 +08:00
|
|
|
|
this.ShowIcon = true;
|
2020-09-17 20:04:08 +08:00
|
|
|
|
this.ShowRadius = false;
|
2020-09-21 16:35:34 +08:00
|
|
|
|
this.ShowShadow = true;
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.Text = "SunnyUI.Net";
|
2020-09-25 19:57:21 +08:00
|
|
|
|
this.Selecting += new Sunny.UI.UIMainFrame.OnSelecting(this.FMain_Selecting);
|
2021-02-04 20:49:30 +08:00
|
|
|
|
this.Controls.SetChildIndex(this.Header, 0);
|
|
|
|
|
this.Controls.SetChildIndex(this.Aside, 0);
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.Header.ResumeLayout(false);
|
2021-02-04 20:49:30 +08:00
|
|
|
|
this.uiContextMenuStrip1.ResumeLayout(false);
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private UILogo uiLogo1;
|
|
|
|
|
private UIAvatar uiAvatar;
|
|
|
|
|
private UIStyleManager StyleManager;
|
2021-02-04 20:49:30 +08:00
|
|
|
|
private UIContextMenuStrip uiContextMenuStrip1;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 关于ToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 关于ToolStripMenuItem1;
|
2020-05-11 21:11:29 +08:00
|
|
|
|
}
|
|
|
|
|
}
|