Actualización

This commit is contained in:
Michael Robles
2024-01-04 20:38:13 -07:00
parent 0bb28bfcf6
commit a68fd60b01
4 changed files with 51 additions and 0 deletions
+31
View File
@@ -47,6 +47,8 @@
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.horafecha = new System.Windows.Forms.Timer(this.components);
this.label1 = new System.Windows.Forms.Label();
this.usuariolabel = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.flowLayoutPanel1.SuspendLayout();
this.panel2.SuspendLayout();
@@ -62,6 +64,8 @@
// panel1
//
this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.panel1.Controls.Add(this.usuariolabel);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.lblfecha);
this.panel1.Controls.Add(this.lblhora);
this.panel1.Controls.Add(this.flowLayoutPanel1);
@@ -293,6 +297,31 @@
this.horafecha.Enabled = true;
this.horafecha.Tick += new System.EventHandler(this.horafecha_Tick);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Poppins SemiBold", 15F);
this.label1.ForeColor = System.Drawing.Color.Navy;
this.label1.Location = new System.Drawing.Point(1723, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(161, 44);
this.label1.TabIndex = 10;
this.label1.Text = "Bienvenido";
this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
this.label1.Click += new System.EventHandler(this.label1_Click);
//
// usuariolabel
//
this.usuariolabel.AutoSize = true;
this.usuariolabel.Font = new System.Drawing.Font("Poppins SemiBold", 10F);
this.usuariolabel.ForeColor = System.Drawing.Color.Navy;
this.usuariolabel.Location = new System.Drawing.Point(1761, 43);
this.usuariolabel.Name = "usuariolabel";
this.usuariolabel.Size = new System.Drawing.Size(71, 30);
this.usuariolabel.TabIndex = 11;
this.usuariolabel.Text = "Admin";
this.usuariolabel.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// MenuPrincipal
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
@@ -339,6 +368,8 @@
private System.Windows.Forms.Label lblfecha;
private System.Windows.Forms.Label lblhora;
private System.Windows.Forms.Timer horafecha;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label usuariolabel;
}
}
+12
View File
@@ -10,7 +10,12 @@ using System.Threading.Tasks;
using System.Windows.Forms;
namespace compabetov2
{
public partial class MenuPrincipal : Form
{
private int childFormNumber = 0;
@@ -20,6 +25,8 @@ namespace compabetov2
InitializeComponent();
}
private void ShowNewForm(object sender, EventArgs e)
{
Form childForm = new Form();
@@ -125,5 +132,10 @@ namespace compabetov2
this.Dispose(true);
}
private void label1_Click(object sender, EventArgs e)
{
}
}
}
+8
View File
@@ -14,6 +14,12 @@ namespace compabetov2
{
public partial class login : Form
{
public login()
{
InitializeComponent();
@@ -63,6 +69,8 @@ namespace compabetov2
MenuPrincipal principal = new MenuPrincipal();
principal.Show();
this.Hide();
Binary file not shown.