using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; namespace PKCS11CertificateStorage { /// /// Summary description for PINForm. /// public class frmPIN : System.Windows.Forms.Form { public System.Windows.Forms.Label lbPrompt; public System.Windows.Forms.TextBox edPIN; private System.Windows.Forms.Button btnOK; private System.Windows.Forms.Button btnCancel; /// /// Required designer variable. /// private System.ComponentModel.Container components = null; public frmPIN() { // // Required for Windows Form Designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // } /// /// Clean up any resources being used. /// protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.lbPrompt = new System.Windows.Forms.Label(); this.edPIN = new System.Windows.Forms.TextBox(); this.btnOK = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.SuspendLayout(); // // lbPrompt // this.lbPrompt.Location = new System.Drawing.Point(8, 16); this.lbPrompt.Name = "lbPrompt"; this.lbPrompt.Size = new System.Drawing.Size(128, 23); this.lbPrompt.TabIndex = 0; this.lbPrompt.Text = "Please enter your PIN"; // // edPIN // this.edPIN.Location = new System.Drawing.Point(8, 32); this.edPIN.Name = "edPIN"; this.edPIN.PasswordChar = '*'; this.edPIN.Size = new System.Drawing.Size(296, 20); this.edPIN.TabIndex = 1; // // btnOK // this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Location = new System.Drawing.Point(136, 64); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 2; this.btnOK.Text = "OK"; // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(224, 64); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 3; this.btnCancel.Text = "Cancel"; // // frmPIN // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(314, 97); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOK); this.Controls.Add(this.edPIN); this.Controls.Add(this.lbPrompt); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmPIN"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "PIN request"; this.ResumeLayout(false); this.PerformLayout(); } #endregion } }