104 lines
2.9 KiB
C#
104 lines
2.9 KiB
C#
|
using System;
|
||
|
using System.Drawing;
|
||
|
using System.Collections;
|
||
|
using System.ComponentModel;
|
||
|
using System.Windows.Forms;
|
||
|
|
||
|
namespace SecretStoreService
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Summary description for Prompt.
|
||
|
/// </summary>
|
||
|
public class Prompt : System.Windows.Forms.Form
|
||
|
{
|
||
|
private System.Windows.Forms.Button btnOK;
|
||
|
private System.Windows.Forms.Button btnCancel;
|
||
|
/// <summary>
|
||
|
/// Required designer variable.
|
||
|
/// </summary>
|
||
|
private System.ComponentModel.Container components = null;
|
||
|
|
||
|
public Prompt()
|
||
|
{
|
||
|
//
|
||
|
// Required for Windows Form Designer support
|
||
|
//
|
||
|
InitializeComponent();
|
||
|
|
||
|
//
|
||
|
// TODO: Add any constructor code after InitializeComponent call
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// Clean up any resources being used.
|
||
|
/// </summary>
|
||
|
protected override void Dispose( bool disposing )
|
||
|
{
|
||
|
if( disposing )
|
||
|
{
|
||
|
if(components != null)
|
||
|
{
|
||
|
components.Dispose();
|
||
|
}
|
||
|
}
|
||
|
base.Dispose( disposing );
|
||
|
}
|
||
|
|
||
|
#region Windows Form Designer generated code
|
||
|
/// <summary>
|
||
|
/// Required method for Designer support - do not modify
|
||
|
/// the contents of this method with the code editor.
|
||
|
/// </summary>
|
||
|
private void InitializeComponent()
|
||
|
{
|
||
|
this.btnOK = new System.Windows.Forms.Button();
|
||
|
this.btnCancel = new System.Windows.Forms.Button();
|
||
|
this.SuspendLayout();
|
||
|
//
|
||
|
// btnOK
|
||
|
//
|
||
|
this.btnOK.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||
|
this.btnOK.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
|
||
|
this.btnOK.Location = new System.Drawing.Point(48, 192);
|
||
|
this.btnOK.Name = "btnOK";
|
||
|
this.btnOK.Size = new System.Drawing.Size(56, 24);
|
||
|
this.btnOK.TabIndex = 3;
|
||
|
this.btnOK.Text = "OK";
|
||
|
this.btnOK.Visible = false;
|
||
|
//
|
||
|
// btnCancel
|
||
|
//
|
||
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||
|
this.btnCancel.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
|
||
|
this.btnCancel.Location = new System.Drawing.Point(152, 192);
|
||
|
this.btnCancel.Name = "btnCancel";
|
||
|
this.btnCancel.Size = new System.Drawing.Size(56, 24);
|
||
|
this.btnCancel.TabIndex = 4;
|
||
|
this.btnCancel.Text = "Cancel";
|
||
|
this.btnCancel.Visible = false;
|
||
|
//
|
||
|
// Prompt
|
||
|
//
|
||
|
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
||
|
this.CausesValidation = false;
|
||
|
this.ClientSize = new System.Drawing.Size(292, 266);
|
||
|
this.ControlBox = false;
|
||
|
this.Controls.Add(this.btnCancel);
|
||
|
this.Controls.Add(this.btnOK);
|
||
|
this.MaximizeBox = false;
|
||
|
this.MinimizeBox = false;
|
||
|
this.Name = "Prompt";
|
||
|
this.ShowInTaskbar = false;
|
||
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
||
|
this.Text = "Prompt";
|
||
|
this.TopMost = true;
|
||
|
this.ResumeLayout(false);
|
||
|
|
||
|
}
|
||
|
#endregion
|
||
|
|
||
|
}
|
||
|
}
|