158 lines
6.0 KiB
C#
158 lines
6.0 KiB
C#
namespace TemuKJD.UserComponent;
|
|
|
|
partial class InputDialog
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && components != null)
|
|
components.Dispose();
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.layout = new System.Windows.Forms.TableLayoutPanel();
|
|
this.lblPrompt = new System.Windows.Forms.Label();
|
|
this.txtInput = new System.Windows.Forms.TextBox();
|
|
this.buttons = new System.Windows.Forms.FlowLayoutPanel();
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
|
this.btnOk = new System.Windows.Forms.Button();
|
|
this.lblError = new System.Windows.Forms.Label();
|
|
this.layout.SuspendLayout();
|
|
this.buttons.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// layout
|
|
//
|
|
this.layout.AutoSize = true;
|
|
this.layout.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
this.layout.ColumnCount = 1;
|
|
this.layout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
|
this.layout.Controls.Add(this.lblPrompt, 0, 0);
|
|
this.layout.Controls.Add(this.txtInput, 0, 1);
|
|
this.layout.Controls.Add(this.buttons, 0, 2);
|
|
this.layout.Controls.Add(this.lblError, 0, 3);
|
|
this.layout.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.layout.Location = new System.Drawing.Point(0, 0);
|
|
this.layout.Name = "layout";
|
|
this.layout.Padding = new System.Windows.Forms.Padding(15);
|
|
this.layout.RowCount = 4;
|
|
this.layout.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
this.layout.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
this.layout.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
this.layout.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
this.layout.Size = new System.Drawing.Size(360, 143);
|
|
this.layout.TabIndex = 0;
|
|
//
|
|
// lblPrompt
|
|
//
|
|
this.lblPrompt.AutoSize = true;
|
|
this.lblPrompt.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblPrompt.Location = new System.Drawing.Point(15, 15);
|
|
this.lblPrompt.Margin = new System.Windows.Forms.Padding(0, 0, 0, 10);
|
|
this.lblPrompt.MaximumSize = new System.Drawing.Size(330, 0);
|
|
this.lblPrompt.Name = "lblPrompt";
|
|
this.lblPrompt.Size = new System.Drawing.Size(330, 12);
|
|
this.lblPrompt.TabIndex = 0;
|
|
this.lblPrompt.Text = "请输入:";
|
|
//
|
|
// txtInput
|
|
//
|
|
this.txtInput.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.txtInput.Location = new System.Drawing.Point(15, 37);
|
|
this.txtInput.Margin = new System.Windows.Forms.Padding(0, 0, 0, 12);
|
|
this.txtInput.Name = "txtInput";
|
|
this.txtInput.Size = new System.Drawing.Size(330, 21);
|
|
this.txtInput.TabIndex = 0;
|
|
this.txtInput.TextChanged += new System.EventHandler(this.txtInput_TextChanged);
|
|
//
|
|
// buttons
|
|
//
|
|
this.buttons.AutoSize = true;
|
|
this.buttons.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
this.buttons.Controls.Add(this.btnCancel);
|
|
this.buttons.Controls.Add(this.btnOk);
|
|
this.buttons.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.buttons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
|
this.buttons.Location = new System.Drawing.Point(15, 70);
|
|
this.buttons.Margin = new System.Windows.Forms.Padding(0);
|
|
this.buttons.Name = "buttons";
|
|
this.buttons.Size = new System.Drawing.Size(330, 28);
|
|
this.buttons.TabIndex = 1;
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.Location = new System.Drawing.Point(255, 0);
|
|
this.btnCancel.Margin = new System.Windows.Forms.Padding(10, 0, 0, 0);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 28);
|
|
this.btnCancel.TabIndex = 1;
|
|
this.btnCancel.Text = "取消";
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
//
|
|
// btnOk
|
|
//
|
|
this.btnOk.Location = new System.Drawing.Point(170, 0);
|
|
this.btnOk.Margin = new System.Windows.Forms.Padding(0);
|
|
this.btnOk.Name = "btnOk";
|
|
this.btnOk.Size = new System.Drawing.Size(75, 28);
|
|
this.btnOk.TabIndex = 0;
|
|
this.btnOk.Text = "确定";
|
|
this.btnOk.UseVisualStyleBackColor = true;
|
|
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
|
//
|
|
// lblError
|
|
//
|
|
this.lblError.AutoSize = true;
|
|
this.lblError.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.lblError.ForeColor = System.Drawing.Color.Firebrick;
|
|
this.lblError.Location = new System.Drawing.Point(15, 108);
|
|
this.lblError.Margin = new System.Windows.Forms.Padding(0, 10, 0, 0);
|
|
this.lblError.MaximumSize = new System.Drawing.Size(330, 0);
|
|
this.lblError.MinimumSize = new System.Drawing.Size(0, 20);
|
|
this.lblError.Name = "lblError";
|
|
this.lblError.Size = new System.Drawing.Size(330, 20);
|
|
this.lblError.TabIndex = 2;
|
|
//
|
|
// InputDialog
|
|
//
|
|
this.AcceptButton = this.btnOk;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.AutoSize = true;
|
|
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
|
this.CancelButton = this.btnCancel;
|
|
this.ClientSize = new System.Drawing.Size(360, 144);
|
|
this.Controls.Add(this.layout);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.MinimumSize = new System.Drawing.Size(376, 39);
|
|
this.Name = "InputDialog";
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
this.Text = "输入";
|
|
this.layout.ResumeLayout(false);
|
|
this.layout.PerformLayout();
|
|
this.buttons.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TableLayoutPanel layout;
|
|
private System.Windows.Forms.Label lblPrompt;
|
|
private System.Windows.Forms.TextBox txtInput;
|
|
private System.Windows.Forms.FlowLayoutPanel buttons;
|
|
private System.Windows.Forms.Button btnOk;
|
|
private System.Windows.Forms.Button btnCancel;
|
|
private System.Windows.Forms.Label lblError;
|
|
}
|