212 lines
9.5 KiB
C#
212 lines
9.5 KiB
C#
namespace AntdUIDemo
|
|
{
|
|
partial class MainWindow
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainWindow));
|
|
AntdUI.Tabs.StyleCard styleCard2 = new AntdUI.Tabs.StyleCard();
|
|
this.titlebar = new AntdUI.PageHeader();
|
|
this.input_search = new AntdUI.Input();
|
|
this.button_color = new AntdUI.Button();
|
|
this.buttonSZ = new AntdUI.Button();
|
|
this.pageHeader1 = new AntdUI.PageHeader();
|
|
this.button_collapse = new AntdUI.Button();
|
|
this.tabs = new AntdUI.Tabs();
|
|
this.tabPage = new AntdUI.TabPage();
|
|
this.panel_content = new AntdUI.Panel();
|
|
this.menu = new AntdUI.Menu();
|
|
this.titlebar.SuspendLayout();
|
|
this.pageHeader1.SuspendLayout();
|
|
this.tabs.SuspendLayout();
|
|
this.tabPage.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// titlebar
|
|
//
|
|
this.titlebar.Controls.Add(this.input_search);
|
|
this.titlebar.Controls.Add(this.button_color);
|
|
this.titlebar.Controls.Add(this.buttonSZ);
|
|
this.titlebar.DividerShow = true;
|
|
this.titlebar.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.titlebar.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.titlebar.Location = new System.Drawing.Point(0, 0);
|
|
this.titlebar.Name = "titlebar";
|
|
this.titlebar.ShowButton = true;
|
|
this.titlebar.ShowIcon = true;
|
|
this.titlebar.Size = new System.Drawing.Size(1024, 40);
|
|
this.titlebar.SubText = "Demo 1.8.3";
|
|
this.titlebar.TabIndex = 0;
|
|
this.titlebar.Text = "AntdUI";
|
|
//
|
|
// input_search
|
|
//
|
|
this.input_search.AllowClear = true;
|
|
this.input_search.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.input_search.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F);
|
|
this.input_search.Location = new System.Drawing.Point(580, 0);
|
|
this.input_search.Name = "input_search";
|
|
this.input_search.PlaceholderText = "输入关键字搜索...";
|
|
this.input_search.PrefixSvg = "SearchOutlined";
|
|
this.input_search.Size = new System.Drawing.Size(200, 40);
|
|
this.input_search.TabIndex = 2;
|
|
//
|
|
// button_color
|
|
//
|
|
this.button_color.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.button_color.Ghost = true;
|
|
this.button_color.IconRatio = 0.6F;
|
|
this.button_color.IconSvg = resources.GetString("button_color.IconSvg");
|
|
this.button_color.Location = new System.Drawing.Point(780, 0);
|
|
this.button_color.Name = "button_color";
|
|
this.button_color.Radius = 0;
|
|
this.button_color.Size = new System.Drawing.Size(50, 40);
|
|
this.button_color.TabIndex = 1;
|
|
this.button_color.WaveSize = 0;
|
|
//
|
|
// buttonSZ
|
|
//
|
|
this.buttonSZ.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.buttonSZ.Ghost = true;
|
|
this.buttonSZ.IconSvg = resources.GetString("buttonSZ.IconSvg");
|
|
this.buttonSZ.Location = new System.Drawing.Point(830, 0);
|
|
this.buttonSZ.Name = "buttonSZ";
|
|
this.buttonSZ.Radius = 0;
|
|
this.buttonSZ.Size = new System.Drawing.Size(50, 40);
|
|
this.buttonSZ.TabIndex = 0;
|
|
this.buttonSZ.WaveSize = 0;
|
|
//
|
|
// pageHeader1
|
|
//
|
|
this.pageHeader1.Controls.Add(this.button_collapse);
|
|
this.pageHeader1.DividerShow = true;
|
|
this.pageHeader1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.pageHeader1.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.pageHeader1.Location = new System.Drawing.Point(0, 600);
|
|
this.pageHeader1.Name = "pageHeader1";
|
|
this.pageHeader1.Size = new System.Drawing.Size(1024, 40);
|
|
this.pageHeader1.TabIndex = 7;
|
|
//
|
|
// button_collapse
|
|
//
|
|
this.button_collapse.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.button_collapse.Ghost = true;
|
|
this.button_collapse.IconRatio = 0.6F;
|
|
this.button_collapse.IconSvg = "MenuUnfoldOutlined";
|
|
this.button_collapse.Location = new System.Drawing.Point(0, 0);
|
|
this.button_collapse.Name = "button_collapse";
|
|
this.button_collapse.Radius = 0;
|
|
this.button_collapse.Size = new System.Drawing.Size(50, 40);
|
|
this.button_collapse.TabIndex = 3;
|
|
this.button_collapse.ToggleIconSvg = "MenuFoldOutlined";
|
|
this.button_collapse.WaveSize = 0;
|
|
//
|
|
// tabs
|
|
//
|
|
this.tabs.Cursor = System.Windows.Forms.Cursors.Default;
|
|
this.tabs.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.tabs.Gap = 20;
|
|
this.tabs.Location = new System.Drawing.Point(70, 40);
|
|
this.tabs.Name = "tabs";
|
|
this.tabs.Pages.Add(this.tabPage);
|
|
this.tabs.Size = new System.Drawing.Size(954, 560);
|
|
styleCard2.Closable = true;
|
|
this.tabs.Style = styleCard2;
|
|
this.tabs.TabIndex = 9;
|
|
this.tabs.Type = AntdUI.TabType.Card;
|
|
//
|
|
// tabPage
|
|
//
|
|
this.tabPage.Controls.Add(this.panel_content);
|
|
this.tabPage.IconSvg = "HomeOutlined";
|
|
this.tabPage.Location = new System.Drawing.Point(3, 40);
|
|
this.tabPage.Name = "tabPage";
|
|
this.tabPage.ReadOnly = true;
|
|
this.tabPage.Size = new System.Drawing.Size(948, 517);
|
|
this.tabPage.TabIndex = 1;
|
|
this.tabPage.Text = "首页";
|
|
//
|
|
// panel_content
|
|
//
|
|
this.panel_content.Back = System.Drawing.Color.Transparent;
|
|
this.panel_content.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.panel_content.Location = new System.Drawing.Point(0, 0);
|
|
this.panel_content.Name = "panel_content";
|
|
this.panel_content.Radius = 0;
|
|
this.panel_content.Size = new System.Drawing.Size(948, 517);
|
|
this.panel_content.TabIndex = 4;
|
|
//
|
|
// menu
|
|
//
|
|
this.menu.Collapsed = true;
|
|
this.menu.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.menu.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.menu.IconRatio = 1F;
|
|
this.menu.Indent = true;
|
|
this.menu.Location = new System.Drawing.Point(0, 40);
|
|
this.menu.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3);
|
|
this.menu.Name = "menu";
|
|
this.menu.Padding = new System.Windows.Forms.Padding(6, 6, 0, 6);
|
|
this.menu.Size = new System.Drawing.Size(70, 560);
|
|
this.menu.TabIndex = 8;
|
|
this.menu.Unique = true;
|
|
//
|
|
// MainWindow
|
|
//
|
|
this.ClientSize = new System.Drawing.Size(1024, 640);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.tabs);
|
|
this.Controls.Add(this.menu);
|
|
this.Controls.Add(this.pageHeader1);
|
|
this.Controls.Add(this.titlebar);
|
|
this.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "MainWindow";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "AntdUI Demo";
|
|
this.titlebar.ResumeLayout(false);
|
|
this.pageHeader1.ResumeLayout(false);
|
|
this.tabs.ResumeLayout(false);
|
|
this.tabPage.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private AntdUI.PageHeader titlebar;
|
|
private AntdUI.Button buttonSZ;
|
|
private AntdUI.Button button_color;
|
|
private AntdUI.Input input_search;
|
|
private AntdUI.PageHeader pageHeader1;
|
|
private AntdUI.Button button_collapse;
|
|
private AntdUI.Tabs tabs;
|
|
private AntdUI.TabPage tabPage;
|
|
private AntdUI.Panel panel_content;
|
|
private AntdUI.Menu menu;
|
|
}
|
|
} |