142 lines
5.8 KiB
C#
142 lines
5.8 KiB
C#
|
|
/*
|
|
Copyright (c) Microsoft Corporation
|
|
|
|
All rights reserved.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
compliance with the License. You may obtain a copy of the License
|
|
at http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER
|
|
EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF
|
|
TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
|
|
|
See the Apache Version 2.0 License for specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
*/
|
|
namespace Microsoft.Research.UsefulForms
|
|
{
|
|
partial class PasswordDialog
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (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.button_OK = new System.Windows.Forms.Button();
|
|
this.button_cancel = new System.Windows.Forms.Button();
|
|
this.label_name = new System.Windows.Forms.Label();
|
|
this.label_password = new System.Windows.Forms.Label();
|
|
this.textBox_username = new System.Windows.Forms.TextBox();
|
|
this.textBox_password = new System.Windows.Forms.TextBox();
|
|
this.SuspendLayout();
|
|
//
|
|
// button_OK
|
|
//
|
|
this.button_OK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.button_OK.Location = new System.Drawing.Point(63, 70);
|
|
this.button_OK.Name = "button_OK";
|
|
this.button_OK.Size = new System.Drawing.Size(82, 34);
|
|
this.button_OK.TabIndex = 0;
|
|
this.button_OK.Text = "OK";
|
|
this.button_OK.UseVisualStyleBackColor = true;
|
|
//
|
|
// button_cancel
|
|
//
|
|
this.button_cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.button_cancel.Location = new System.Drawing.Point(184, 70);
|
|
this.button_cancel.Name = "button_cancel";
|
|
this.button_cancel.Size = new System.Drawing.Size(80, 34);
|
|
this.button_cancel.TabIndex = 1;
|
|
this.button_cancel.Text = "Cancel";
|
|
this.button_cancel.UseVisualStyleBackColor = true;
|
|
//
|
|
// label_name
|
|
//
|
|
this.label_name.AutoSize = true;
|
|
this.label_name.Location = new System.Drawing.Point(21, 21);
|
|
this.label_name.Name = "label_name";
|
|
this.label_name.Size = new System.Drawing.Size(94, 13);
|
|
this.label_name.TabIndex = 2;
|
|
this.label_name.Text = "Domain\\username";
|
|
//
|
|
// label_password
|
|
//
|
|
this.label_password.AutoSize = true;
|
|
this.label_password.Location = new System.Drawing.Point(21, 48);
|
|
this.label_password.Name = "label_password";
|
|
this.label_password.Size = new System.Drawing.Size(53, 13);
|
|
this.label_password.TabIndex = 3;
|
|
this.label_password.Text = "Password";
|
|
//
|
|
// textBox_username
|
|
//
|
|
this.textBox_username.Location = new System.Drawing.Point(122, 18);
|
|
this.textBox_username.Name = "textBox_username";
|
|
this.textBox_username.Size = new System.Drawing.Size(190, 20);
|
|
this.textBox_username.TabIndex = 4;
|
|
this.textBox_username.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox_KeyPress);
|
|
//
|
|
// textBox_password
|
|
//
|
|
this.textBox_password.Location = new System.Drawing.Point(122, 44);
|
|
this.textBox_password.Name = "textBox_password";
|
|
this.textBox_password.PasswordChar = '*';
|
|
this.textBox_password.Size = new System.Drawing.Size(190, 20);
|
|
this.textBox_password.TabIndex = 5;
|
|
this.textBox_password.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox_KeyPress);
|
|
//
|
|
// PasswordDialog
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(324, 119);
|
|
this.Controls.Add(this.textBox_password);
|
|
this.Controls.Add(this.textBox_username);
|
|
this.Controls.Add(this.label_password);
|
|
this.Controls.Add(this.label_name);
|
|
this.Controls.Add(this.button_cancel);
|
|
this.Controls.Add(this.button_OK);
|
|
this.Name = "PasswordDialog";
|
|
this.Text = "Please authenticate";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button button_OK;
|
|
private System.Windows.Forms.Button button_cancel;
|
|
private System.Windows.Forms.Label label_name;
|
|
private System.Windows.Forms.Label label_password;
|
|
private System.Windows.Forms.TextBox textBox_username;
|
|
private System.Windows.Forms.TextBox textBox_password;
|
|
}
|
|
}
|