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-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();
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.StyleManager = new Sunny.UI.UIStyleManager(this.components);
|
|
|
|
|
this.uiNavBar1 = new Sunny.UI.UINavBar();
|
|
|
|
|
this.uiAvatar1 = new Sunny.UI.UIAvatar();
|
|
|
|
|
this.uiLogo1 = new Sunny.UI.UILogo();
|
|
|
|
|
this.uiPanel1 = new Sunny.UI.UIPanel();
|
|
|
|
|
this.uiNavMenu1 = new Sunny.UI.UINavMenu();
|
|
|
|
|
this.uiTabControl1 = new Sunny.UI.UITabControl();
|
2021-02-04 20:49:30 +08:00
|
|
|
|
this.uiContextMenuStrip1.SuspendLayout();
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.uiNavBar1.SuspendLayout();
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
2021-02-04 20:49:30 +08:00
|
|
|
|
// uiContextMenuStrip1
|
|
|
|
|
//
|
2022-04-03 13:17:47 +08:00
|
|
|
|
this.uiContextMenuStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
|
2021-02-04 20:49:30 +08:00
|
|
|
|
this.uiContextMenuStrip1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
2022-04-03 13:17:47 +08:00
|
|
|
|
this.uiContextMenuStrip1.IsScaled = true;
|
2021-02-04 20:49:30 +08:00
|
|
|
|
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);
|
|
|
|
|
//
|
2023-03-26 12:58:28 +08:00
|
|
|
|
// StyleManager
|
|
|
|
|
//
|
|
|
|
|
this.StyleManager.DPIScale = true;
|
|
|
|
|
//
|
|
|
|
|
// uiNavBar1
|
|
|
|
|
//
|
|
|
|
|
this.uiNavBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
|
|
|
|
|
this.uiNavBar1.Controls.Add(this.uiAvatar1);
|
|
|
|
|
this.uiNavBar1.Controls.Add(this.uiLogo1);
|
|
|
|
|
this.uiNavBar1.Dock = System.Windows.Forms.DockStyle.Top;
|
|
|
|
|
this.uiNavBar1.DropMenuFont = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.uiNavBar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.uiNavBar1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
|
2023-04-13 09:49:44 +08:00
|
|
|
|
this.uiNavBar1.Location = new System.Drawing.Point(2, 36);
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.uiNavBar1.MenuHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
|
|
|
|
|
this.uiNavBar1.MenuSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(250)))), ((int)(((byte)(250)))));
|
|
|
|
|
this.uiNavBar1.MenuStyle = Sunny.UI.UIMenuStyle.White;
|
|
|
|
|
this.uiNavBar1.Name = "uiNavBar1";
|
2023-04-13 09:49:44 +08:00
|
|
|
|
this.uiNavBar1.Size = new System.Drawing.Size(1096, 126);
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.uiNavBar1.TabIndex = 1;
|
|
|
|
|
this.uiNavBar1.Text = "uiNavBar1";
|
|
|
|
|
this.uiNavBar1.MenuItemClick += new Sunny.UI.UINavBar.OnMenuItemClick(this.uiNavBar1_MenuItemClick);
|
|
|
|
|
//
|
|
|
|
|
// uiAvatar1
|
|
|
|
|
//
|
|
|
|
|
this.uiAvatar1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
|
|
this.uiAvatar1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
2023-04-13 09:49:44 +08:00
|
|
|
|
this.uiAvatar1.Location = new System.Drawing.Point(1016, 33);
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.uiAvatar1.MinimumSize = new System.Drawing.Size(1, 1);
|
|
|
|
|
this.uiAvatar1.Name = "uiAvatar1";
|
|
|
|
|
this.uiAvatar1.Size = new System.Drawing.Size(60, 60);
|
|
|
|
|
this.uiAvatar1.TabIndex = 5;
|
|
|
|
|
this.uiAvatar1.Text = "uiAvatar1";
|
|
|
|
|
//
|
|
|
|
|
// uiLogo1
|
|
|
|
|
//
|
|
|
|
|
this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
|
|
|
this.uiLogo1.Location = new System.Drawing.Point(8, 23);
|
|
|
|
|
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);
|
|
|
|
|
this.uiLogo1.Style = Sunny.UI.UIStyle.Custom;
|
|
|
|
|
this.uiLogo1.TabIndex = 4;
|
|
|
|
|
this.uiLogo1.Text = "uiLogo1";
|
|
|
|
|
//
|
|
|
|
|
// uiPanel1
|
|
|
|
|
//
|
|
|
|
|
this.uiPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
|
|
this.uiPanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
2023-04-13 09:49:44 +08:00
|
|
|
|
this.uiPanel1.Location = new System.Drawing.Point(2, 734);
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
|
|
|
|
this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
|
|
|
|
|
this.uiPanel1.Name = "uiPanel1";
|
|
|
|
|
this.uiPanel1.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
|
2023-04-13 09:49:44 +08:00
|
|
|
|
this.uiPanel1.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Top;
|
|
|
|
|
this.uiPanel1.Size = new System.Drawing.Size(1096, 32);
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.uiPanel1.TabIndex = 3;
|
|
|
|
|
this.uiPanel1.Text = null;
|
|
|
|
|
this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// uiNavMenu1
|
|
|
|
|
//
|
|
|
|
|
this.uiNavMenu1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
|
|
|
this.uiNavMenu1.Dock = System.Windows.Forms.DockStyle.Left;
|
|
|
|
|
this.uiNavMenu1.DrawMode = System.Windows.Forms.TreeViewDrawMode.OwnerDrawAll;
|
|
|
|
|
this.uiNavMenu1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.uiNavMenu1.FullRowSelect = true;
|
|
|
|
|
this.uiNavMenu1.ItemHeight = 35;
|
2023-04-13 09:49:44 +08:00
|
|
|
|
this.uiNavMenu1.Location = new System.Drawing.Point(2, 162);
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.uiNavMenu1.Name = "uiNavMenu1";
|
|
|
|
|
this.uiNavMenu1.ShowLines = false;
|
|
|
|
|
this.uiNavMenu1.ShowOneNode = true;
|
2023-04-13 09:49:44 +08:00
|
|
|
|
this.uiNavMenu1.Size = new System.Drawing.Size(286, 572);
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.uiNavMenu1.TabIndex = 4;
|
|
|
|
|
this.uiNavMenu1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
//
|
|
|
|
|
// uiTabControl1
|
|
|
|
|
//
|
|
|
|
|
this.uiTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
this.uiTabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
|
|
|
|
|
this.uiTabControl1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
this.uiTabControl1.Frame = this;
|
|
|
|
|
this.uiTabControl1.ItemSize = new System.Drawing.Size(0, 1);
|
2023-04-13 09:49:44 +08:00
|
|
|
|
this.uiTabControl1.Location = new System.Drawing.Point(288, 162);
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.uiTabControl1.MainPage = "";
|
|
|
|
|
this.uiTabControl1.Name = "uiTabControl1";
|
|
|
|
|
this.uiTabControl1.SelectedIndex = 0;
|
2023-04-13 09:49:44 +08:00
|
|
|
|
this.uiTabControl1.Size = new System.Drawing.Size(810, 572);
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.uiTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
|
|
|
|
|
this.uiTabControl1.TabIndex = 5;
|
|
|
|
|
this.uiTabControl1.TabVisible = false;
|
|
|
|
|
this.uiTabControl1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
//
|
2020-05-11 21:11:29 +08:00
|
|
|
|
// FMain
|
|
|
|
|
//
|
2021-03-29 21:00:32 +08:00
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.ClientSize = new System.Drawing.Size(1100, 768);
|
|
|
|
|
this.Controls.Add(this.uiTabControl1);
|
|
|
|
|
this.Controls.Add(this.uiNavMenu1);
|
|
|
|
|
this.Controls.Add(this.uiPanel1);
|
|
|
|
|
this.Controls.Add(this.uiNavBar1);
|
2021-02-04 20:49:30 +08:00
|
|
|
|
this.ExtendBox = true;
|
|
|
|
|
this.ExtendMenu = this.uiContextMenuStrip1;
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.MainTabControl = this.uiTabControl1;
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.Name = "FMain";
|
2023-04-13 09:49:44 +08:00
|
|
|
|
this.Padding = new System.Windows.Forms.Padding(2, 36, 2, 2);
|
|
|
|
|
this.ShowDragStretch = true;
|
|
|
|
|
this.ShowRadius = false;
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.Text = "Form1";
|
|
|
|
|
this.ZoomScaleRect = new System.Drawing.Rectangle(15, 15, 800, 450);
|
|
|
|
|
this.HotKeyEventHandler += new Sunny.UI.HotKeyEventHandler(this.Form1_HotKeyEventHandler);
|
|
|
|
|
this.PageSelected += new Sunny.UI.OnUIPageChanged(this.Form1_PageSelected);
|
|
|
|
|
this.ReceiveParams += new Sunny.UI.OnReceiveParams(this.Form1_ReceiveParams);
|
2021-02-04 20:49:30 +08:00
|
|
|
|
this.uiContextMenuStrip1.ResumeLayout(false);
|
2023-03-26 12:58:28 +08:00
|
|
|
|
this.uiNavBar1.ResumeLayout(false);
|
2020-05-11 21:11:29 +08:00
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2021-02-04 20:49:30 +08:00
|
|
|
|
private UIContextMenuStrip uiContextMenuStrip1;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 关于ToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem 关于ToolStripMenuItem1;
|
2023-03-26 12:58:28 +08:00
|
|
|
|
private UIStyleManager StyleManager;
|
|
|
|
|
private UINavBar uiNavBar1;
|
|
|
|
|
private UIPanel uiPanel1;
|
|
|
|
|
private UINavMenu uiNavMenu1;
|
|
|
|
|
private UITabControl uiTabControl1;
|
|
|
|
|
private UILogo uiLogo1;
|
|
|
|
|
private UIAvatar uiAvatar1;
|
2020-05-11 21:11:29 +08:00
|
|
|
|
}
|
|
|
|
|
}
|