Files
AntdUI/example/Demo/Controls/Preview.Designer.cs
2025-07-17 16:23:45 +08:00

169 lines
6.1 KiB
C#

// 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.
// GITCODE: https://gitcode.com/AntdUI/AntdUI
// 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 Preview
{
/// <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 FlowLayoutPanel();
button1 = new AntdUI.Button();
button2 = new AntdUI.Button();
button3 = new AntdUI.Button();
button4 = new AntdUI.Button();
divider1 = new AntdUI.Divider();
panel1.SuspendLayout();
SuspendLayout();
//
// header1
//
header1.Description = "图片预览框。";
header1.Dock = DockStyle.Top;
header1.Font = new Font("Microsoft YaHei UI", 12F);
header1.LocalizationDescription = "Preview.Description";
header1.LocalizationText = "Preview.Text";
header1.Location = new Point(0, 0);
header1.Name = "header1";
header1.Padding = new Padding(0, 0, 0, 10);
header1.Size = new Size(614, 74);
header1.TabIndex = 0;
header1.Text = "Preview 图片预览";
header1.UseTitleFont = true;
//
// panel1
//
panel1.Controls.Add(button1);
panel1.Controls.Add(button2);
panel1.Controls.Add(button3);
panel1.Controls.Add(button4);
panel1.Dock = DockStyle.Top;
panel1.Location = new Point(0, 102);
panel1.Name = "panel1";
panel1.Size = new Size(614, 110);
panel1.TabIndex = 2;
//
// button1
//
button1.AutoSizeMode = AntdUI.TAutoSize.Auto;
button1.BorderWidth = 1F;
button1.LocalizationText = "Preview.{id}";
button1.Location = new Point(3, 3);
button1.Name = "button1";
button1.Size = new Size(166, 47);
button1.TabIndex = 0;
button1.Text = "弹出一张图片预览";
button1.Click += button1_Click;
//
// button2
//
button2.AutoSizeMode = AntdUI.TAutoSize.Auto;
button2.BorderWidth = 1F;
button2.LocalizationText = "Preview.{id}";
button2.Location = new Point(175, 3);
button2.Name = "button2";
button2.Size = new Size(166, 47);
button2.TabIndex = 0;
button2.Text = "弹出多张图片预览";
button2.Click += button2_Click;
//
// button3
//
button3.AutoSizeMode = AntdUI.TAutoSize.Auto;
button3.BorderWidth = 1F;
button3.LocalizationText = "Preview.{id}";
button3.Location = new Point(347, 3);
button3.Name = "button3";
button3.Size = new Size(133, 47);
button3.TabIndex = 1;
button3.Text = "动态加载图片";
button3.Click += button3_Click;
//
// button4
//
button4.AutoSizeMode = AntdUI.TAutoSize.Auto;
button4.BorderWidth = 1F;
button4.LocalizationText = "Preview.{id}";
button4.Location = new Point(3, 56);
button4.Name = "button4";
button4.Size = new Size(215, 47);
button4.TabIndex = 2;
button4.Text = "弹出多张图片带文字预览";
button4.Click += button4_Click;
//
// divider1
//
divider1.Dock = DockStyle.Top;
divider1.Font = new Font("Microsoft YaHei UI", 10F);
divider1.LocalizationText = "Preview.{id}";
divider1.Location = new Point(0, 74);
divider1.Name = "divider1";
divider1.Orientation = AntdUI.TOrientation.Left;
divider1.Size = new Size(614, 28);
divider1.TabIndex = 5;
divider1.Text = "基本";
//
// Preview
//
Controls.Add(panel1);
Controls.Add(divider1);
Controls.Add(header1);
Font = new Font("Microsoft YaHei UI", 12F);
Name = "Preview";
Size = new Size(614, 446);
panel1.ResumeLayout(false);
panel1.PerformLayout();
ResumeLayout(false);
}
#endregion
private AntdUI.PageHeader header1;
private System.Windows.Forms.FlowLayoutPanel panel1;
private AntdUI.Divider divider1;
private AntdUI.Button button1;
private AntdUI.Button button2;
private AntdUI.Button button3;
private AntdUI.Button button4;
}
}