80 lines
2.5 KiB
C#
80 lines
2.5 KiB
C#
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace AntdUIDemo
|
|
{
|
|
partial class InputTable<T>
|
|
{
|
|
/// <summary>
|
|
/// 必需的设计器变量。
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
#region 组件设计器生成的代码
|
|
|
|
/// <summary>
|
|
/// 设计器支持所需的方法 - 不要修改
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
InputSearch = new AntdUI.Panel();
|
|
txtSearch = new AntdUI.Input();
|
|
btnSearch = new AntdUI.Button();
|
|
InputSearch.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// InputSearch
|
|
//
|
|
InputSearch.Controls.Add(txtSearch);
|
|
InputSearch.Controls.Add(btnSearch);
|
|
InputSearch.Dock = DockStyle.Fill;
|
|
InputSearch.Location = new Point(0, 0);
|
|
InputSearch.Name = "InputSearch";
|
|
InputSearch.Size = new Size(297, 52);
|
|
InputSearch.TabIndex = 3;
|
|
InputSearch.Text = "panel1";
|
|
//
|
|
// txtSearch
|
|
//
|
|
txtSearch.Dock = DockStyle.Fill;
|
|
txtSearch.IconRatio = 1F;
|
|
txtSearch.Location = new Point(0, 0);
|
|
txtSearch.Name = "txtSearch";
|
|
txtSearch.PlaceholderText = "输入点什么搜索";
|
|
txtSearch.Size = new Size(251, 52);
|
|
txtSearch.SuffixSvg = "";
|
|
txtSearch.TabIndex = 0;
|
|
//
|
|
// btnSearch
|
|
//
|
|
btnSearch.Dock = DockStyle.Right;
|
|
btnSearch.IconRatio = 1F;
|
|
btnSearch.IconSvg = "SearchOutlined";
|
|
btnSearch.Location = new Point(251, 0);
|
|
btnSearch.Name = "btnSearch";
|
|
btnSearch.Size = new Size(46, 52);
|
|
btnSearch.TabIndex = 1;
|
|
btnSearch.Type = AntdUI.TTypeMini.Info;
|
|
//
|
|
// InputTable
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
Controls.Add(InputSearch);
|
|
Name = "InputTable";
|
|
Size = new Size(297, 52);
|
|
InputSearch.ResumeLayout(false);
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private AntdUI.Panel InputSearch;
|
|
private AntdUI.Input txtSearch;
|
|
private AntdUI.Button btnSearch;
|
|
}
|
|
}
|