finish login & polish up
This commit is contained in:
@@ -57,8 +57,8 @@
|
||||
tableLayoutPanel1.AutoSize = true;
|
||||
tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
tableLayoutPanel1.ColumnCount = 2;
|
||||
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 40F));
|
||||
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 60F));
|
||||
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.3333321F));
|
||||
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 66.6666641F));
|
||||
tableLayoutPanel1.Controls.Add(radTextBoxControl_Password, 1, 2);
|
||||
tableLayoutPanel1.Controls.Add(radLabel2, 0, 2);
|
||||
tableLayoutPanel1.Controls.Add(radTextBoxControl_Username, 1, 1);
|
||||
@@ -66,7 +66,8 @@
|
||||
tableLayoutPanel1.Controls.Add(radLabel1, 0, 1);
|
||||
tableLayoutPanel1.Controls.Add(radLabel3, 0, 0);
|
||||
tableLayoutPanel1.Controls.Add(tableLayoutPanel3, 1, 0);
|
||||
tableLayoutPanel1.Location = new System.Drawing.Point(129, 74);
|
||||
tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
tableLayoutPanel1.Location = new System.Drawing.Point(155, 74);
|
||||
tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
|
||||
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
tableLayoutPanel1.RowCount = 4;
|
||||
@@ -74,16 +75,17 @@
|
||||
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
||||
tableLayoutPanel1.Size = new System.Drawing.Size(259, 114);
|
||||
tableLayoutPanel1.Size = new System.Drawing.Size(207, 114);
|
||||
tableLayoutPanel1.TabIndex = 0;
|
||||
//
|
||||
// radTextBoxControl_Password
|
||||
//
|
||||
radTextBoxControl_Password.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||
radTextBoxControl_Password.Location = new System.Drawing.Point(106, 59);
|
||||
radTextBoxControl_Password.Location = new System.Drawing.Point(71, 59);
|
||||
radTextBoxControl_Password.Name = "radTextBoxControl_Password";
|
||||
radTextBoxControl_Password.Size = new System.Drawing.Size(150, 22);
|
||||
radTextBoxControl_Password.Size = new System.Drawing.Size(133, 22);
|
||||
radTextBoxControl_Password.TabIndex = 1;
|
||||
radTextBoxControl_Password.UseSystemPasswordChar = true;
|
||||
//
|
||||
// radLabel2
|
||||
//
|
||||
@@ -91,24 +93,24 @@
|
||||
radLabel2.AutoSize = false;
|
||||
radLabel2.Location = new System.Drawing.Point(3, 59);
|
||||
radLabel2.Name = "radLabel2";
|
||||
radLabel2.Size = new System.Drawing.Size(97, 22);
|
||||
radLabel2.Size = new System.Drawing.Size(62, 22);
|
||||
radLabel2.TabIndex = 0;
|
||||
radLabel2.Text = "Password";
|
||||
//
|
||||
// radTextBoxControl_Username
|
||||
//
|
||||
radTextBoxControl_Username.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
||||
radTextBoxControl_Username.Location = new System.Drawing.Point(106, 31);
|
||||
radTextBoxControl_Username.Location = new System.Drawing.Point(71, 31);
|
||||
radTextBoxControl_Username.Name = "radTextBoxControl_Username";
|
||||
radTextBoxControl_Username.Size = new System.Drawing.Size(150, 22);
|
||||
radTextBoxControl_Username.TabIndex = 2;
|
||||
radTextBoxControl_Username.Size = new System.Drawing.Size(133, 22);
|
||||
radTextBoxControl_Username.TabIndex = 0;
|
||||
//
|
||||
// radButton_Login
|
||||
//
|
||||
radButton_Login.Location = new System.Drawing.Point(106, 87);
|
||||
radButton_Login.Location = new System.Drawing.Point(71, 87);
|
||||
radButton_Login.Name = "radButton_Login";
|
||||
radButton_Login.Size = new System.Drawing.Size(110, 24);
|
||||
radButton_Login.TabIndex = 1;
|
||||
radButton_Login.TabIndex = 2;
|
||||
radButton_Login.Text = "Login";
|
||||
radButton_Login.Click += RadButton_Login_Click;
|
||||
//
|
||||
@@ -118,7 +120,7 @@
|
||||
radLabel1.AutoSize = false;
|
||||
radLabel1.Location = new System.Drawing.Point(3, 31);
|
||||
radLabel1.Name = "radLabel1";
|
||||
radLabel1.Size = new System.Drawing.Size(97, 22);
|
||||
radLabel1.Size = new System.Drawing.Size(62, 22);
|
||||
radLabel1.TabIndex = 1;
|
||||
radLabel1.Text = "Username";
|
||||
//
|
||||
@@ -128,7 +130,7 @@
|
||||
radLabel3.AutoSize = false;
|
||||
radLabel3.Location = new System.Drawing.Point(3, 3);
|
||||
radLabel3.Name = "radLabel3";
|
||||
radLabel3.Size = new System.Drawing.Size(97, 22);
|
||||
radLabel3.Size = new System.Drawing.Size(62, 22);
|
||||
radLabel3.TabIndex = 3;
|
||||
radLabel3.Text = "Provider";
|
||||
//
|
||||
@@ -141,12 +143,12 @@
|
||||
tableLayoutPanel3.Controls.Add(radDropDownList_LoginProvider, 0, 0);
|
||||
tableLayoutPanel3.Controls.Add(radButton_ConfigureProvider, 1, 0);
|
||||
tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
tableLayoutPanel3.Location = new System.Drawing.Point(103, 0);
|
||||
tableLayoutPanel3.Location = new System.Drawing.Point(68, 0);
|
||||
tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(0);
|
||||
tableLayoutPanel3.Name = "tableLayoutPanel3";
|
||||
tableLayoutPanel3.RowCount = 1;
|
||||
tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
|
||||
tableLayoutPanel3.Size = new System.Drawing.Size(156, 28);
|
||||
tableLayoutPanel3.Size = new System.Drawing.Size(139, 28);
|
||||
tableLayoutPanel3.TabIndex = 4;
|
||||
//
|
||||
// radDropDownList_LoginProvider
|
||||
@@ -155,27 +157,27 @@
|
||||
radDropDownList_LoginProvider.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
|
||||
radDropDownList_LoginProvider.Location = new System.Drawing.Point(3, 3);
|
||||
radDropDownList_LoginProvider.Name = "radDropDownList_LoginProvider";
|
||||
radDropDownList_LoginProvider.Size = new System.Drawing.Size(122, 22);
|
||||
radDropDownList_LoginProvider.TabIndex = 0;
|
||||
radDropDownList_LoginProvider.Size = new System.Drawing.Size(105, 22);
|
||||
radDropDownList_LoginProvider.TabIndex = 3;
|
||||
radDropDownList_LoginProvider.SelectedValueChanged += RadDropDownList_LoginProvider_SelectedValueChanged;
|
||||
//
|
||||
// radButton_ConfigureProvider
|
||||
//
|
||||
radButton_ConfigureProvider.DisplayStyle = Telerik.WinControls.DisplayStyle.Image;
|
||||
radButton_ConfigureProvider.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
radButton_ConfigureProvider.Location = new System.Drawing.Point(131, 3);
|
||||
radButton_ConfigureProvider.Location = new System.Drawing.Point(114, 3);
|
||||
radButton_ConfigureProvider.Name = "radButton_ConfigureProvider";
|
||||
radButton_ConfigureProvider.Size = new System.Drawing.Size(22, 22);
|
||||
radButton_ConfigureProvider.TabIndex = 1;
|
||||
radButton_ConfigureProvider.TabIndex = 4;
|
||||
radButton_ConfigureProvider.Text = "Configure";
|
||||
radButton_ConfigureProvider.Click += RadButton_ConfigureProvider_Click;
|
||||
//
|
||||
// tableLayoutPanel2
|
||||
//
|
||||
tableLayoutPanel2.ColumnCount = 3;
|
||||
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
|
||||
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 40F));
|
||||
tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
|
||||
tableLayoutPanel2.Controls.Add(tableLayoutPanel1, 1, 1);
|
||||
tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
tableLayoutPanel2.Location = new System.Drawing.Point(0, 0);
|
||||
|
||||
Reference in New Issue
Block a user