111 lines
4.6 KiB
C#
111 lines
4.6 KiB
C#
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();
|
|
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("图表");
|
|
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("主题");
|
|
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);
|
|
this.Header.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// Aside
|
|
//
|
|
this.Aside.ItemHeight = 36;
|
|
this.Aside.LineColor = System.Drawing.Color.Black;
|
|
this.Aside.Size = new System.Drawing.Size(250, 575);
|
|
//
|
|
// Header
|
|
//
|
|
this.Header.Controls.Add(this.uiAvatar);
|
|
this.Header.Controls.Add(this.uiLogo1);
|
|
this.Header.MenuStyle = Sunny.UI.UIMenuStyle.Custom;
|
|
treeNode1.Name = "节点0";
|
|
treeNode1.Text = "控件";
|
|
treeNode2.Name = "节点1";
|
|
treeNode2.Text = "窗体";
|
|
treeNode3.Name = "节点2";
|
|
treeNode3.Text = "图表";
|
|
treeNode4.Name = "节点2";
|
|
treeNode4.Text = "主题";
|
|
this.Header.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
|
|
treeNode1,
|
|
treeNode2,
|
|
treeNode3,
|
|
treeNode4});
|
|
this.Header.SelectedIndex = 0;
|
|
this.Header.Size = new System.Drawing.Size(1024, 110);
|
|
this.Header.MenuItemClick += new Sunny.UI.UINavBar.OnMenuItemClick(this.Header_MenuItemClick);
|
|
//
|
|
// uiLogo1
|
|
//
|
|
this.uiLogo1.Font = new System.Drawing.Font("微软雅黑", 12F);
|
|
this.uiLogo1.Location = new System.Drawing.Point(20, 15);
|
|
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.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);
|
|
this.uiAvatar.Location = new System.Drawing.Point(943, 25);
|
|
this.uiAvatar.Name = "uiAvatar";
|
|
this.uiAvatar.Size = new System.Drawing.Size(65, 65);
|
|
this.uiAvatar.TabIndex = 4;
|
|
this.uiAvatar.Text = "uiAvatar1";
|
|
//
|
|
// FMain
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1024, 720);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "FMain";
|
|
this.Text = "SunnyUI.Net";
|
|
this.Header.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private UILogo uiLogo1;
|
|
private UIAvatar uiAvatar;
|
|
private UIStyleManager StyleManager;
|
|
}
|
|
} |