User form

This commit is contained in:
Aurélie Delhaie
2022-05-25 13:10:25 +02:00
parent 56e94d8dfe
commit 4cf1d4b3b0
20 changed files with 2582 additions and 81 deletions

View File

@@ -50,38 +50,34 @@
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Top;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(747, 81);
this.pictureBox1.Size = new System.Drawing.Size(1112, 122);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// ServerTextBox
//
this.ServerTextBox.Location = new System.Drawing.Point(198, 128);
this.ServerTextBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.ServerTextBox.Location = new System.Drawing.Point(297, 192);
this.ServerTextBox.Name = "ServerTextBox";
this.ServerTextBox.PlaceholderText = "myserver.com";
this.ServerTextBox.Size = new System.Drawing.Size(276, 23);
this.ServerTextBox.Size = new System.Drawing.Size(412, 31);
this.ServerTextBox.TabIndex = 1;
//
// UsernameTextBox
//
this.UsernameTextBox.Location = new System.Drawing.Point(198, 181);
this.UsernameTextBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.UsernameTextBox.Location = new System.Drawing.Point(297, 272);
this.UsernameTextBox.Name = "UsernameTextBox";
this.UsernameTextBox.Size = new System.Drawing.Size(361, 23);
this.UsernameTextBox.Size = new System.Drawing.Size(540, 31);
this.UsernameTextBox.TabIndex = 3;
//
// label1
//
this.label1.AutoSize = true;
this.label1.ForeColor = System.Drawing.SystemColors.ControlText;
this.label1.Location = new System.Drawing.Point(198, 111);
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label1.Location = new System.Drawing.Point(297, 166);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(39, 15);
this.label1.Size = new System.Drawing.Size(61, 25);
this.label1.TabIndex = 0;
this.label1.Text = "Server";
//
@@ -89,10 +85,9 @@
//
this.label2.AutoSize = true;
this.label2.ForeColor = System.Drawing.SystemColors.ControlText;
this.label2.Location = new System.Drawing.Point(198, 164);
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label2.Location = new System.Drawing.Point(297, 246);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(60, 15);
this.label2.Size = new System.Drawing.Size(91, 25);
this.label2.TabIndex = 0;
this.label2.Text = "Username";
//
@@ -100,19 +95,17 @@
//
this.label3.AutoSize = true;
this.label3.ForeColor = System.Drawing.SystemColors.ControlText;
this.label3.Location = new System.Drawing.Point(198, 207);
this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label3.Location = new System.Drawing.Point(297, 310);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(57, 15);
this.label3.Size = new System.Drawing.Size(87, 25);
this.label3.TabIndex = 0;
this.label3.Text = "Password";
//
// PasswordTextBox
//
this.PasswordTextBox.Location = new System.Drawing.Point(198, 224);
this.PasswordTextBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.PasswordTextBox.Location = new System.Drawing.Point(297, 336);
this.PasswordTextBox.Name = "PasswordTextBox";
this.PasswordTextBox.Size = new System.Drawing.Size(361, 23);
this.PasswordTextBox.Size = new System.Drawing.Size(540, 31);
this.PasswordTextBox.TabIndex = 4;
this.PasswordTextBox.UseSystemPasswordChar = true;
//
@@ -120,18 +113,16 @@
//
this.label4.AutoSize = true;
this.label4.ForeColor = System.Drawing.SystemColors.ControlText;
this.label4.Location = new System.Drawing.Point(477, 111);
this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label4.Location = new System.Drawing.Point(716, 166);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(29, 15);
this.label4.Size = new System.Drawing.Size(44, 25);
this.label4.TabIndex = 0;
this.label4.Text = "Port";
//
// PortNumericBox
//
this.PortNumericBox.InterceptArrowKeys = false;
this.PortNumericBox.Location = new System.Drawing.Point(477, 128);
this.PortNumericBox.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.PortNumericBox.Location = new System.Drawing.Point(716, 192);
this.PortNumericBox.Maximum = new decimal(new int[] {
65535,
0,
@@ -143,7 +134,7 @@
0,
0});
this.PortNumericBox.Name = "PortNumericBox";
this.PortNumericBox.Size = new System.Drawing.Size(81, 23);
this.PortNumericBox.Size = new System.Drawing.Size(122, 31);
this.PortNumericBox.TabIndex = 2;
this.PortNumericBox.Value = new decimal(new int[] {
443,
@@ -153,10 +144,9 @@
//
// LoginButton
//
this.LoginButton.Location = new System.Drawing.Point(484, 263);
this.LoginButton.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.LoginButton.Location = new System.Drawing.Point(726, 394);
this.LoginButton.Name = "LoginButton";
this.LoginButton.Size = new System.Drawing.Size(75, 23);
this.LoginButton.Size = new System.Drawing.Size(112, 34);
this.LoginButton.TabIndex = 5;
this.LoginButton.Text = "Login";
this.LoginButton.UseVisualStyleBackColor = true;
@@ -166,10 +156,9 @@
//
this.AboutButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.AboutButton.Image = ((System.Drawing.Image)(resources.GetObject("AboutButton.Image")));
this.AboutButton.Location = new System.Drawing.Point(8, 283);
this.AboutButton.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.AboutButton.Location = new System.Drawing.Point(12, 407);
this.AboutButton.Name = "AboutButton";
this.AboutButton.Size = new System.Drawing.Size(18, 15);
this.AboutButton.Size = new System.Drawing.Size(27, 28);
this.AboutButton.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.AboutButton.TabIndex = 6;
this.AboutButton.TabStop = false;
@@ -177,10 +166,10 @@
//
// LoginForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.BackColor = System.Drawing.SystemColors.Window;
this.ClientSize = new System.Drawing.Size(747, 315);
this.ClientSize = new System.Drawing.Size(1112, 447);
this.Controls.Add(this.AboutButton);
this.Controls.Add(this.LoginButton);
this.Controls.Add(this.PortNumericBox);
@@ -194,11 +183,10 @@
this.Controls.Add(this.pictureBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(763, 354);
this.MaximumSize = new System.Drawing.Size(1134, 503);
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(763, 354);
this.MinimumSize = new System.Drawing.Size(1134, 503);
this.Name = "LoginForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Login to a server";