conexion a base de datos y login
This commit is contained in:
Generated
+42
-30
@@ -46,9 +46,10 @@
|
||||
//
|
||||
this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBox1.Image = global::compabetov2.Properties.Resources.Group_1;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(1218, 433);
|
||||
this.pictureBox1.Location = new System.Drawing.Point(914, 352);
|
||||
this.pictureBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(584, 104);
|
||||
this.pictureBox1.Size = new System.Drawing.Size(438, 84);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox1.TabIndex = 0;
|
||||
this.pictureBox1.TabStop = false;
|
||||
@@ -58,9 +59,10 @@
|
||||
//
|
||||
this.pictureBox2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBox2.Image = global::compabetov2.Properties.Resources.Group_1;
|
||||
this.pictureBox2.Location = new System.Drawing.Point(1218, 668);
|
||||
this.pictureBox2.Location = new System.Drawing.Point(914, 543);
|
||||
this.pictureBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.Size = new System.Drawing.Size(584, 104);
|
||||
this.pictureBox2.Size = new System.Drawing.Size(438, 84);
|
||||
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox2.TabIndex = 1;
|
||||
this.pictureBox2.TabStop = false;
|
||||
@@ -68,31 +70,34 @@
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.textBox1.Font = new System.Drawing.Font("Poppins SemiBold", 24F, System.Drawing.FontStyle.Bold);
|
||||
this.textBox1.Location = new System.Drawing.Point(1241, 451);
|
||||
this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold);
|
||||
this.textBox1.Location = new System.Drawing.Point(931, 366);
|
||||
this.textBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(542, 60);
|
||||
this.textBox1.Size = new System.Drawing.Size(406, 37);
|
||||
this.textBox1.TabIndex = 2;
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.textBox2.Font = new System.Drawing.Font("Poppins SemiBold", 24F, System.Drawing.FontStyle.Bold);
|
||||
this.textBox2.Location = new System.Drawing.Point(1239, 688);
|
||||
this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold);
|
||||
this.textBox2.Location = new System.Drawing.Point(929, 559);
|
||||
this.textBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.textBox2.Name = "textBox2";
|
||||
this.textBox2.PasswordChar = '*';
|
||||
this.textBox2.Size = new System.Drawing.Size(542, 60);
|
||||
this.textBox2.Size = new System.Drawing.Size(406, 37);
|
||||
this.textBox2.TabIndex = 3;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label1.Font = new System.Drawing.Font("Poppins SemiBold", 80F);
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 80F);
|
||||
this.label1.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.label1.Location = new System.Drawing.Point(1012, 9);
|
||||
this.label1.Location = new System.Drawing.Point(759, 7);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(947, 236);
|
||||
this.label1.Size = new System.Drawing.Size(645, 120);
|
||||
this.label1.TabIndex = 4;
|
||||
this.label1.Text = "Compa Beto";
|
||||
//
|
||||
@@ -100,11 +105,12 @@
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label2.Font = new System.Drawing.Font("Poppins SemiBold", 40F);
|
||||
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 40F);
|
||||
this.label2.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.label2.Location = new System.Drawing.Point(1262, 186);
|
||||
this.label2.Location = new System.Drawing.Point(946, 151);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(504, 118);
|
||||
this.label2.Size = new System.Drawing.Size(353, 63);
|
||||
this.label2.TabIndex = 5;
|
||||
this.label2.Text = "Iniciar Sesión";
|
||||
//
|
||||
@@ -112,11 +118,12 @@
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label3.Font = new System.Drawing.Font("Poppins SemiBold", 20F);
|
||||
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F);
|
||||
this.label3.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.label3.Location = new System.Drawing.Point(1228, 304);
|
||||
this.label3.Location = new System.Drawing.Point(921, 247);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(574, 60);
|
||||
this.label3.Size = new System.Drawing.Size(394, 31);
|
||||
this.label3.TabIndex = 6;
|
||||
this.label3.Text = "Ingresa tu usuario y contraseña";
|
||||
this.label3.Click += new System.EventHandler(this.label3_Click);
|
||||
@@ -125,11 +132,12 @@
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label4.Font = new System.Drawing.Font("Poppins SemiBold", 20F);
|
||||
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F);
|
||||
this.label4.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.label4.Location = new System.Drawing.Point(1042, 457);
|
||||
this.label4.Location = new System.Drawing.Point(782, 371);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(158, 60);
|
||||
this.label4.Size = new System.Drawing.Size(108, 31);
|
||||
this.label4.TabIndex = 7;
|
||||
this.label4.Text = "Usuario";
|
||||
this.label4.Click += new System.EventHandler(this.label4_Click);
|
||||
@@ -138,21 +146,23 @@
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label5.Font = new System.Drawing.Font("Poppins SemiBold", 20F);
|
||||
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F);
|
||||
this.label5.ForeColor = System.Drawing.Color.Transparent;
|
||||
this.label5.Location = new System.Drawing.Point(970, 695);
|
||||
this.label5.Location = new System.Drawing.Point(728, 565);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(230, 60);
|
||||
this.label5.Size = new System.Drawing.Size(155, 31);
|
||||
this.label5.TabIndex = 8;
|
||||
this.label5.Text = "Contraseña";
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Font = new System.Drawing.Font("Poppins SemiBold", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button1.ForeColor = System.Drawing.Color.RoyalBlue;
|
||||
this.button1.Location = new System.Drawing.Point(1370, 831);
|
||||
this.button1.Location = new System.Drawing.Point(1028, 675);
|
||||
this.button1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(279, 65);
|
||||
this.button1.Size = new System.Drawing.Size(209, 53);
|
||||
this.button1.TabIndex = 10;
|
||||
this.button1.Text = "Iniciar Sesión";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
@@ -160,11 +170,11 @@
|
||||
//
|
||||
// login
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackgroundImage = global::compabetov2.Properties.Resources.Menu;
|
||||
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.ClientSize = new System.Drawing.Size(1924, 1025);
|
||||
this.ClientSize = new System.Drawing.Size(1028, 609);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.label4);
|
||||
@@ -176,6 +186,7 @@
|
||||
this.Controls.Add(this.pictureBox2);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.DoubleBuffered = true;
|
||||
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "login";
|
||||
@@ -184,6 +195,7 @@
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Login";
|
||||
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
||||
this.Load += new System.EventHandler(this.login_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
Reference in New Issue
Block a user