mirror of
https://gitee.com/AntdUI/AntdUI.git
synced 2026-03-19 12:10:44 +08:00
154 lines
5.2 KiB
C#
154 lines
5.2 KiB
C#
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Demo.Controls
|
|
{
|
|
partial class Modal
|
|
{
|
|
/// <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
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
header1 = new AntdUI.PageHeader();
|
|
panel1 = new System.Windows.Forms.Panel();
|
|
panel2 = new System.Windows.Forms.Panel();
|
|
button4 = new AntdUI.Button();
|
|
button3 = new AntdUI.Button();
|
|
button2 = new AntdUI.Button();
|
|
button1 = new AntdUI.Button();
|
|
divider1 = new AntdUI.Divider();
|
|
panel1.SuspendLayout();
|
|
panel2.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// header1
|
|
//
|
|
header1.Description = "模态对话框。";
|
|
header1.Dock = DockStyle.Top;
|
|
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
|
header1.LocalizationDescription = "Modal.Description";
|
|
header1.LocalizationText = "Modal.Text";
|
|
header1.Location = new Point(0, 0);
|
|
header1.Name = "header1";
|
|
header1.Padding = new Padding(0, 0, 0, 10);
|
|
header1.Size = new Size(543, 74);
|
|
header1.TabIndex = 0;
|
|
header1.Text = "Modal 对话框";
|
|
header1.UseTitleFont = true;
|
|
//
|
|
// panel1
|
|
//
|
|
panel1.Controls.Add(panel2);
|
|
panel1.Controls.Add(divider1);
|
|
panel1.Dock = DockStyle.Fill;
|
|
panel1.Location = new Point(0, 74);
|
|
panel1.Name = "panel1";
|
|
panel1.Size = new Size(543, 383);
|
|
panel1.TabIndex = 6;
|
|
//
|
|
// panel2
|
|
//
|
|
panel2.Controls.Add(button4);
|
|
panel2.Controls.Add(button3);
|
|
panel2.Controls.Add(button2);
|
|
panel2.Controls.Add(button1);
|
|
panel2.Dock = DockStyle.Top;
|
|
panel2.Location = new Point(0, 28);
|
|
panel2.Name = "panel2";
|
|
panel2.Size = new Size(543, 63);
|
|
panel2.TabIndex = 2;
|
|
//
|
|
// button4
|
|
//
|
|
button4.BorderWidth = 2F;
|
|
button4.Location = new Point(362, 9);
|
|
button4.Name = "button4";
|
|
button4.Size = new Size(110, 40);
|
|
button4.TabIndex = 1;
|
|
button4.Text = "None";
|
|
button4.Click += button4_Click;
|
|
//
|
|
// button3
|
|
//
|
|
button3.BorderWidth = 2F;
|
|
button3.Location = new Point(246, 9);
|
|
button3.Name = "button3";
|
|
button3.Size = new Size(110, 40);
|
|
button3.TabIndex = 1;
|
|
button3.Text = "Warning";
|
|
button3.Click += button3_Click;
|
|
//
|
|
// button2
|
|
//
|
|
button2.BorderWidth = 2F;
|
|
button2.Location = new Point(130, 9);
|
|
button2.Name = "button2";
|
|
button2.Size = new Size(110, 40);
|
|
button2.TabIndex = 1;
|
|
button2.Text = "Error";
|
|
button2.Click += button2_Click;
|
|
//
|
|
// button1
|
|
//
|
|
button1.BorderWidth = 2F;
|
|
button1.Location = new Point(14, 9);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(110, 40);
|
|
button1.TabIndex = 1;
|
|
button1.Text = "Success";
|
|
button1.Click += button1_Click;
|
|
//
|
|
// divider1
|
|
//
|
|
divider1.Dock = DockStyle.Top;
|
|
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
|
divider1.LocalizationText = "Modal.{id}";
|
|
divider1.Location = new Point(0, 0);
|
|
divider1.Name = "divider1";
|
|
divider1.Orientation = AntdUI.TOrientation.Left;
|
|
divider1.Size = new Size(543, 28);
|
|
divider1.TabIndex = 0;
|
|
divider1.Text = "基本";
|
|
//
|
|
// Modal
|
|
//
|
|
Controls.Add(panel1);
|
|
Controls.Add(header1);
|
|
Font = new Font("Microsoft YaHei UI", 12F);
|
|
Name = "Modal";
|
|
Size = new Size(543, 457);
|
|
panel1.ResumeLayout(false);
|
|
panel2.ResumeLayout(false);
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private AntdUI.PageHeader header1;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private AntdUI.Divider divider1;
|
|
private AntdUI.Button button1;
|
|
private AntdUI.Button button3;
|
|
private AntdUI.Button button2;
|
|
private AntdUI.Button button4;
|
|
private System.Windows.Forms.Panel panel2;
|
|
}
|
|
} |