Files

62 lines
1.9 KiB
C#
Raw Permalink Normal View History

namespace VoiceCat.App.Forms;
partial class PasswordPromptDialog
{
private System.ComponentModel.IContainer components = null!;
private Label lblPrompt = null!;
private TextBox txtPassword = null!;
private Button btnOk = null!;
private Button btnCancel = null!;
protected override void Dispose(bool disposing)
{
if (disposing) components?.Dispose();
base.Dispose(disposing);
}
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
lblPrompt = new Label();
txtPassword = new TextBox();
btnOk = new Button();
btnCancel = new Button();
lblPrompt.AutoSize = true;
lblPrompt.Location = new Point(12, 12);
lblPrompt.MaximumSize = new Size(360, 0);
lblPrompt.TabIndex = 0;
txtPassword.Location = new Point(12, 40);
txtPassword.Size = new Size(360, 23);
txtPassword.UseSystemPasswordChar = true;
txtPassword.TabIndex = 1;
btnOk.Text = "&OK";
btnOk.DialogResult = DialogResult.OK;
btnOk.Location = new Point(216, 75);
btnOk.Size = new Size(75, 27);
btnOk.TabIndex = 2;
btnCancel.Text = "&Cancel";
btnCancel.DialogResult = DialogResult.Cancel;
btnCancel.Location = new Point(297, 75);
btnCancel.Size = new Size(75, 27);
btnCancel.TabIndex = 3;
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(384, 114);
Controls.Add(lblPrompt);
Controls.Add(txtPassword);
Controls.Add(btnOk);
Controls.Add(btnCancel);
AcceptButton = btnOk;
CancelButton = btnCancel;
FormBorderStyle = FormBorderStyle.FixedDialog;
MaximizeBox = false;
MinimizeBox = false;
StartPosition = FormStartPosition.CenterParent;
Text = "Password required";
}
}