🦄 Beautiful AntdUI

This commit is contained in:
Tom
2025-01-23 22:05:38 +08:00
parent 332bdb12db
commit cf4b4dcc10
12 changed files with 324 additions and 2 deletions

137
example/Demo/Controls/Splitter.Designer.cs generated Normal file
View File

@@ -0,0 +1,137 @@
// COPYRIGHT (C) Tom. ALL RIGHTS RESERVED.
// THE AntdUI PROJECT IS AN WINFORM LIBRARY LICENSED UNDER THE Apache-2.0 License.
// LICENSED UNDER THE Apache License, VERSION 2.0 (THE "License")
// YOU MAY NOT USE THIS FILE EXCEPT IN COMPLIANCE WITH THE License.
// YOU MAY OBTAIN A COPY OF THE LICENSE AT
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, SOFTWARE
// DISTRIBUTED UNDER THE LICENSE IS DISTRIBUTED ON AN "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
// SEE THE LICENSE FOR THE SPECIFIC LANGUAGE GOVERNING PERMISSIONS AND
// LIMITATIONS UNDER THE License.
// GITEE: https://gitee.com/antdui/AntdUI
// GITHUB: https://github.com/AntdUI/AntdUI
// CSDN: https://blog.csdn.net/v_132
// QQ: 17379620
using System.Drawing;
using System.Windows.Forms;
namespace Demo.Controls
{
partial class Splitter
{
/// <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()
{
header1 = new AntdUI.PageHeader();
splitter1 = new AntdUI.Splitter();
label1 = new AntdUI.Label();
label2 = new AntdUI.Label();
((System.ComponentModel.ISupportInitialize)splitter1).BeginInit();
splitter1.Panel1.SuspendLayout();
splitter1.Panel2.SuspendLayout();
splitter1.SuspendLayout();
SuspendLayout();
//
// header1
//
header1.Description = "自由切分指定区域。";
header1.Dock = DockStyle.Top;
header1.Font = new Font("Microsoft YaHei UI", 12F);
header1.LocalizationDescription = "Splitter.Description";
header1.LocalizationText = "Splitter.Text";
header1.Location = new Point(0, 0);
header1.Name = "header1";
header1.Padding = new Padding(0, 0, 0, 10);
header1.Size = new Size(616, 74);
header1.TabIndex = 0;
header1.Text = "Splitter 分隔面板";
header1.UseTitleFont = true;
//
// splitter1
//
splitter1.Dock = DockStyle.Fill;
splitter1.Location = new Point(0, 74);
splitter1.Name = "splitter1";
//
// splitter1.Panel1
//
splitter1.Panel1.Controls.Add(label1);
//
// splitter1.Panel2
//
splitter1.Panel2.Controls.Add(label2);
splitter1.Size = new Size(616, 511);
splitter1.SplitterDistance = 293;
splitter1.SplitterWidth = 2;
splitter1.TabIndex = 1;
splitter1.Text = "button1";
//
// label1
//
label1.Dock = DockStyle.Fill;
label1.Location = new Point(0, 0);
label1.Name = "label1";
label1.Size = new Size(293, 511);
label1.TabIndex = 0;
label1.Text = "First";
label1.TextAlign = ContentAlignment.MiddleCenter;
//
// label2
//
label2.Dock = DockStyle.Fill;
label2.Location = new Point(0, 0);
label2.Name = "label2";
label2.Size = new Size(321, 511);
label2.TabIndex = 0;
label2.Text = "Second";
label2.TextAlign = ContentAlignment.MiddleCenter;
//
// Splitter
//
Controls.Add(splitter1);
Controls.Add(header1);
Font = new Font("Microsoft YaHei UI", 12F);
Name = "Splitter";
Size = new Size(616, 585);
splitter1.Panel1.ResumeLayout(false);
splitter1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)splitter1).EndInit();
splitter1.ResumeLayout(false);
ResumeLayout(false);
}
#endregion
private AntdUI.PageHeader header1;
private AntdUI.Splitter splitter1;
private AntdUI.Label label1;
private AntdUI.Label label2;
}
}