mirror of
https://gitee.com/AntdUI/AntdUI.git
synced 2026-02-17 05:10:43 +08:00
318 lines
11 KiB
C#
318 lines
11 KiB
C#
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Demo.Controls
|
|
{
|
|
partial class Popover
|
|
{
|
|
/// <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();
|
|
panel3 = new System.Windows.Forms.Panel();
|
|
buttonRB = new AntdUI.Button();
|
|
buttonLB = new AntdUI.Button();
|
|
buttonRight = new AntdUI.Button();
|
|
buttonLeft = new AntdUI.Button();
|
|
buttonRT = new AntdUI.Button();
|
|
buttonLT = new AntdUI.Button();
|
|
buttonBR = new AntdUI.Button();
|
|
buttonTR = new AntdUI.Button();
|
|
buttonBottom = new AntdUI.Button();
|
|
buttonTop = new AntdUI.Button();
|
|
buttonBL = new AntdUI.Button();
|
|
buttonTL = new AntdUI.Button();
|
|
divider2 = new AntdUI.Divider();
|
|
panel2 = new System.Windows.Forms.Panel();
|
|
button2 = new AntdUI.Button();
|
|
button1 = new AntdUI.Button();
|
|
divider1 = new AntdUI.Divider();
|
|
panel1.SuspendLayout();
|
|
panel3.SuspendLayout();
|
|
panel2.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// header1
|
|
//
|
|
header1.Description = "弹出气泡式的卡片浮层。";
|
|
header1.Dock = DockStyle.Top;
|
|
header1.Font = new Font("Microsoft YaHei UI", 12F);
|
|
header1.LocalizationDescription = "Popover.Description";
|
|
header1.LocalizationText = "Popover.Text";
|
|
header1.Location = new Point(0, 0);
|
|
header1.Name = "header1";
|
|
header1.Padding = new Padding(0, 0, 0, 10);
|
|
header1.Size = new Size(840, 74);
|
|
header1.TabIndex = 0;
|
|
header1.Text = "Popover 气泡卡片";
|
|
header1.UseTitleFont = true;
|
|
//
|
|
// panel1
|
|
//
|
|
panel1.AutoScroll = true;
|
|
panel1.Controls.Add(panel3);
|
|
panel1.Controls.Add(divider2);
|
|
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(840, 602);
|
|
panel1.TabIndex = 7;
|
|
//
|
|
// panel3
|
|
//
|
|
panel3.Controls.Add(buttonRB);
|
|
panel3.Controls.Add(buttonLB);
|
|
panel3.Controls.Add(buttonRight);
|
|
panel3.Controls.Add(buttonLeft);
|
|
panel3.Controls.Add(buttonRT);
|
|
panel3.Controls.Add(buttonLT);
|
|
panel3.Controls.Add(buttonBR);
|
|
panel3.Controls.Add(buttonTR);
|
|
panel3.Controls.Add(buttonBottom);
|
|
panel3.Controls.Add(buttonTop);
|
|
panel3.Controls.Add(buttonBL);
|
|
panel3.Controls.Add(buttonTL);
|
|
panel3.Dock = DockStyle.Top;
|
|
panel3.Location = new Point(0, 252);
|
|
panel3.Name = "panel3";
|
|
panel3.Size = new Size(840, 250);
|
|
panel3.TabIndex = 12;
|
|
//
|
|
// buttonRB
|
|
//
|
|
buttonRB.BorderWidth = 2F;
|
|
buttonRB.Location = new Point(347, 149);
|
|
buttonRB.Name = "buttonRB";
|
|
buttonRB.Size = new Size(60, 40);
|
|
buttonRB.TabIndex = 3;
|
|
buttonRB.Text = "RB";
|
|
buttonRB.Click += buttonRB_Click;
|
|
//
|
|
// buttonLB
|
|
//
|
|
buttonLB.BorderWidth = 2F;
|
|
buttonLB.Location = new Point(55, 149);
|
|
buttonLB.Name = "buttonLB";
|
|
buttonLB.Size = new Size(60, 40);
|
|
buttonLB.TabIndex = 4;
|
|
buttonLB.Text = "LB";
|
|
buttonLB.Click += buttonLB_Click;
|
|
//
|
|
// buttonRight
|
|
//
|
|
buttonRight.BorderWidth = 2F;
|
|
buttonRight.Location = new Point(347, 103);
|
|
buttonRight.Name = "buttonRight";
|
|
buttonRight.Size = new Size(86, 40);
|
|
buttonRight.TabIndex = 5;
|
|
buttonRight.Text = "Right";
|
|
buttonRight.Click += buttonRight_Click;
|
|
//
|
|
// buttonLeft
|
|
//
|
|
buttonLeft.BorderWidth = 2F;
|
|
buttonLeft.Location = new Point(29, 103);
|
|
buttonLeft.Name = "buttonLeft";
|
|
buttonLeft.Size = new Size(86, 40);
|
|
buttonLeft.TabIndex = 6;
|
|
buttonLeft.Text = "Left";
|
|
buttonLeft.Click += buttonLeft_Click;
|
|
//
|
|
// buttonRT
|
|
//
|
|
buttonRT.BorderWidth = 2F;
|
|
buttonRT.Location = new Point(347, 57);
|
|
buttonRT.Name = "buttonRT";
|
|
buttonRT.Size = new Size(60, 40);
|
|
buttonRT.TabIndex = 7;
|
|
buttonRT.Text = "RT";
|
|
buttonRT.Click += buttonRT_Click;
|
|
//
|
|
// buttonLT
|
|
//
|
|
buttonLT.BorderWidth = 2F;
|
|
buttonLT.Location = new Point(55, 57);
|
|
buttonLT.Name = "buttonLT";
|
|
buttonLT.Size = new Size(60, 40);
|
|
buttonLT.TabIndex = 8;
|
|
buttonLT.Text = "LT";
|
|
buttonLT.Click += buttonLT_Click;
|
|
//
|
|
// buttonBR
|
|
//
|
|
buttonBR.BorderWidth = 2F;
|
|
buttonBR.Location = new Point(287, 195);
|
|
buttonBR.Name = "buttonBR";
|
|
buttonBR.Size = new Size(60, 40);
|
|
buttonBR.TabIndex = 9;
|
|
buttonBR.Text = "BR";
|
|
buttonBR.Click += buttonBR_Click;
|
|
//
|
|
// buttonTR
|
|
//
|
|
buttonTR.BorderWidth = 2F;
|
|
buttonTR.Location = new Point(287, 15);
|
|
buttonTR.Name = "buttonTR";
|
|
buttonTR.Size = new Size(60, 40);
|
|
buttonTR.TabIndex = 10;
|
|
buttonTR.Text = "TR";
|
|
buttonTR.Click += buttonTR_Click;
|
|
//
|
|
// buttonBottom
|
|
//
|
|
buttonBottom.BorderWidth = 2F;
|
|
buttonBottom.Location = new Point(181, 195);
|
|
buttonBottom.Name = "buttonBottom";
|
|
buttonBottom.Size = new Size(100, 40);
|
|
buttonBottom.TabIndex = 11;
|
|
buttonBottom.Text = "Bottom";
|
|
buttonBottom.Click += buttonBottom_Click;
|
|
//
|
|
// buttonTop
|
|
//
|
|
buttonTop.BorderWidth = 2F;
|
|
buttonTop.Location = new Point(181, 15);
|
|
buttonTop.Name = "buttonTop";
|
|
buttonTop.Size = new Size(100, 40);
|
|
buttonTop.TabIndex = 12;
|
|
buttonTop.Text = "Top";
|
|
buttonTop.Click += buttonTop_Click;
|
|
//
|
|
// buttonBL
|
|
//
|
|
buttonBL.BorderWidth = 2F;
|
|
buttonBL.Location = new Point(115, 195);
|
|
buttonBL.Name = "buttonBL";
|
|
buttonBL.Size = new Size(60, 40);
|
|
buttonBL.TabIndex = 13;
|
|
buttonBL.Text = "BL";
|
|
buttonBL.Click += buttonBL_Click;
|
|
//
|
|
// buttonTL
|
|
//
|
|
buttonTL.BorderWidth = 2F;
|
|
buttonTL.Location = new Point(115, 15);
|
|
buttonTL.Name = "buttonTL";
|
|
buttonTL.Size = new Size(60, 40);
|
|
buttonTL.TabIndex = 14;
|
|
buttonTL.Text = "TL";
|
|
buttonTL.Click += buttonTL_Click;
|
|
//
|
|
// divider2
|
|
//
|
|
divider2.Dock = DockStyle.Top;
|
|
divider2.Font = new Font("Microsoft YaHei UI", 10F);
|
|
divider2.LocalizationText = "Popover.{id}";
|
|
divider2.Location = new Point(0, 224);
|
|
divider2.Name = "divider2";
|
|
divider2.Orientation = AntdUI.TOrientation.Left;
|
|
divider2.Size = new Size(840, 28);
|
|
divider2.TabIndex = 11;
|
|
divider2.Text = "位置";
|
|
//
|
|
// panel2
|
|
//
|
|
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(840, 196);
|
|
panel2.TabIndex = 10;
|
|
//
|
|
// button2
|
|
//
|
|
button2.AutoSizeMode = AntdUI.TAutoSize.Auto;
|
|
button2.LocalizationText = "Popover.{id}";
|
|
button2.Location = new Point(145, 17);
|
|
button2.Name = "button2";
|
|
button2.Size = new Size(173, 46);
|
|
button2.TabIndex = 7;
|
|
button2.Text = "自定义控件内容弹出";
|
|
button2.Type = AntdUI.TTypeMini.Primary;
|
|
button2.Click += button2_Click;
|
|
//
|
|
// button1
|
|
//
|
|
button1.AutoSizeMode = AntdUI.TAutoSize.Auto;
|
|
button1.LocalizationText = "Popover.{id}";
|
|
button1.Location = new Point(14, 17);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(93, 46);
|
|
button1.TabIndex = 7;
|
|
button1.Text = "普通弹出";
|
|
button1.Type = AntdUI.TTypeMini.Primary;
|
|
button1.Click += button1_Click;
|
|
//
|
|
// divider1
|
|
//
|
|
divider1.Dock = DockStyle.Top;
|
|
divider1.Font = new Font("Microsoft YaHei UI", 10F);
|
|
divider1.LocalizationText = "Popover.{id}";
|
|
divider1.Location = new Point(0, 0);
|
|
divider1.Name = "divider1";
|
|
divider1.Orientation = AntdUI.TOrientation.Left;
|
|
divider1.Size = new Size(840, 28);
|
|
divider1.TabIndex = 9;
|
|
divider1.Text = "常规";
|
|
//
|
|
// Popover
|
|
//
|
|
Controls.Add(panel1);
|
|
Controls.Add(header1);
|
|
Font = new Font("Microsoft YaHei UI", 12F);
|
|
Name = "Popover";
|
|
Size = new Size(840, 676);
|
|
panel1.ResumeLayout(false);
|
|
panel3.ResumeLayout(false);
|
|
panel2.ResumeLayout(false);
|
|
panel2.PerformLayout();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private AntdUI.PageHeader header1;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Panel panel3;
|
|
private AntdUI.Divider divider2;
|
|
private System.Windows.Forms.Panel panel2;
|
|
private AntdUI.Divider divider1;
|
|
private AntdUI.Button button1;
|
|
private AntdUI.Button button2;
|
|
private AntdUI.Button buttonRB;
|
|
private AntdUI.Button buttonLB;
|
|
private AntdUI.Button buttonRight;
|
|
private AntdUI.Button buttonLeft;
|
|
private AntdUI.Button buttonRT;
|
|
private AntdUI.Button buttonLT;
|
|
private AntdUI.Button buttonBR;
|
|
private AntdUI.Button buttonTR;
|
|
private AntdUI.Button buttonBottom;
|
|
private AntdUI.Button buttonTop;
|
|
private AntdUI.Button buttonBL;
|
|
private AntdUI.Button buttonTL;
|
|
}
|
|
} |