diff --git a/MenuPrincipal.Designer.cs b/MenuPrincipal.Designer.cs
index d37b2cc..910b70d 100644
--- a/MenuPrincipal.Designer.cs
+++ b/MenuPrincipal.Designer.cs
@@ -100,6 +100,7 @@
this.lblhora.Size = new System.Drawing.Size(365, 177);
this.lblhora.TabIndex = 8;
this.lblhora.Text = "label1";
+ this.lblhora.Click += new System.EventHandler(this.lblhora_Click);
//
// flowLayoutPanel1
//
@@ -274,6 +275,7 @@
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox2.TabIndex = 2;
this.pictureBox2.TabStop = false;
+ this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click);
//
// pictureBox1
//
diff --git a/MenuPrincipal.cs b/MenuPrincipal.cs
index 36d8e58..275a215 100644
--- a/MenuPrincipal.cs
+++ b/MenuPrincipal.cs
@@ -112,5 +112,18 @@ namespace compabetov2
this.Dispose(true);
}
+
+ private void lblhora_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void pictureBox2_Click(object sender, EventArgs e)
+ {
+ vender vender = new vender();
+ vender.Show();
+
+ this.Dispose(true);
+ }
}
}
diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs
index 5cfd703..8290a57 100644
--- a/Properties/Resources.Designer.cs
+++ b/Properties/Resources.Designer.cs
@@ -210,6 +210,16 @@ namespace compabetov2.Properties {
}
}
+ ///
+ /// Busca un recurso adaptado de tipo System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap mas {
+ get {
+ object obj = ResourceManager.GetObject("mas", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Busca un recurso adaptado de tipo System.Drawing.Bitmap.
///
@@ -220,6 +230,16 @@ namespace compabetov2.Properties {
}
}
+ ///
+ /// Busca un recurso adaptado de tipo System.Drawing.Bitmap.
+ ///
+ internal static System.Drawing.Bitmap menos {
+ get {
+ object obj = ResourceManager.GetObject("menos", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
///
/// Busca un recurso adaptado de tipo System.Drawing.Bitmap.
///
diff --git a/Properties/Resources.resx b/Properties/Resources.resx
index 13ef05d..741cf10 100644
--- a/Properties/Resources.resx
+++ b/Properties/Resources.resx
@@ -118,6 +118,9 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ ..\Resources\bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\dummy logo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -148,12 +151,18 @@
..\Resources\cua1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\Menui.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\mermas.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\LoginOriginal1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\menos.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
..\Resources\Homero1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -172,14 +181,11 @@
..\Resources\Cuentas.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\HomeroMenu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
..\Resources\productoi.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\Menui.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\Menui1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\rec.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -187,11 +193,11 @@
..\Resources\Group 1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\Menui1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\Modelo.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\bg.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\HomeroMenu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
..\Resources\reportesi.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
@@ -199,7 +205,7 @@
..\Resources\Personal.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
-
- ..\Resources\Modelo.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\mas.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/Resources/mas.png b/Resources/mas.png
new file mode 100644
index 0000000..2f26e9a
Binary files /dev/null and b/Resources/mas.png differ
diff --git a/Resources/menos.png b/Resources/menos.png
new file mode 100644
index 0000000..bef3754
Binary files /dev/null and b/Resources/menos.png differ
diff --git a/bin/Debug/compabetov2.exe b/bin/Debug/compabetov2.exe
index 48d058f..fd80244 100644
Binary files a/bin/Debug/compabetov2.exe and b/bin/Debug/compabetov2.exe differ
diff --git a/bin/Debug/compabetov2.pdb b/bin/Debug/compabetov2.pdb
index 59a6df0..b7f4346 100644
Binary files a/bin/Debug/compabetov2.pdb and b/bin/Debug/compabetov2.pdb differ
diff --git a/compabetov2.csproj b/compabetov2.csproj
index 021d64e..051a0a4 100644
--- a/compabetov2.csproj
+++ b/compabetov2.csproj
@@ -295,6 +295,8 @@
+
+
diff --git a/login.Designer.cs b/login.Designer.cs
index 6ed90c7..d937a1e 100644
--- a/login.Designer.cs
+++ b/login.Designer.cs
@@ -72,17 +72,18 @@
this.txtusuario.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtusuario.Font = new System.Drawing.Font("Poppins SemiBold", 24F, System.Drawing.FontStyle.Bold);
this.txtusuario.Location = new System.Drawing.Point(1235, 457);
- this.txtusuario.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.txtusuario.Margin = new System.Windows.Forms.Padding(4);
this.txtusuario.Name = "txtusuario";
this.txtusuario.Size = new System.Drawing.Size(539, 60);
this.txtusuario.TabIndex = 2;
+ this.txtusuario.TextChanged += new System.EventHandler(this.txtusuario_TextChanged);
//
// txtcontraseña
//
this.txtcontraseña.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtcontraseña.Font = new System.Drawing.Font("Poppins SemiBold", 24F, System.Drawing.FontStyle.Bold);
this.txtcontraseña.Location = new System.Drawing.Point(1235, 695);
- this.txtcontraseña.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+ this.txtcontraseña.Margin = new System.Windows.Forms.Padding(4);
this.txtcontraseña.Name = "txtcontraseña";
this.txtcontraseña.PasswordChar = '*';
this.txtcontraseña.Size = new System.Drawing.Size(539, 60);
diff --git a/login.cs b/login.cs
index acfddb0..4ed11b8 100644
--- a/login.cs
+++ b/login.cs
@@ -17,8 +17,23 @@ namespace compabetov2
public login()
{
InitializeComponent();
+ txtusuario.TextChanged += Txt_TextChanged;
+ txtcontraseña.TextChanged += Txt_TextChanged;
}
+ private void Txt_TextChanged(object sender, EventArgs e)
+ {
+ // Verificar si hay al menos 2 caracteres en ambos TextBox
+ if (txtusuario.Text.Length >= 2 && txtcontraseña.Text.Length >= 2)
+ {
+ button1.Enabled = true; // Habilitar el botón
+ }
+ else
+ {
+ button1.Enabled = false; // Deshabilitar el botón
+ }
+ }
+
private void panel2_Paint(object sender, PaintEventArgs e)
{
@@ -72,7 +87,21 @@ namespace compabetov2
private void login_Load(object sender, EventArgs e)
{
+ button1.Enabled = false;
+ }
+
+
+ private void txtusuario_TextChanged(object sender, EventArgs e)
+ {
+ if (txtusuario.Text.Length >= 2 && txtcontraseña.Text.Length >= 2)
+ {
+ button1.Enabled = true; // Habilitar el botón
+ }
+ else
+ {
+ button1.Enabled = false; // Deshabilitar el botón
+ }
}
}
diff --git a/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/obj/Debug/DesignTimeResolveAssemblyReferences.cache
index 5a38874..10a1a65 100644
Binary files a/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
index 5a4f755..13a0f52 100644
Binary files a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
index f75f6cc..fb0c464 100644
Binary files a/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll and b/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll differ
diff --git a/obj/Debug/compabetov2.Properties.Resources.resources b/obj/Debug/compabetov2.Properties.Resources.resources
index 4007585..156f192 100644
Binary files a/obj/Debug/compabetov2.Properties.Resources.resources and b/obj/Debug/compabetov2.Properties.Resources.resources differ
diff --git a/obj/Debug/compabetov2.csproj.AssemblyReference.cache b/obj/Debug/compabetov2.csproj.AssemblyReference.cache
index 19f27c8..1367df0 100644
Binary files a/obj/Debug/compabetov2.csproj.AssemblyReference.cache and b/obj/Debug/compabetov2.csproj.AssemblyReference.cache differ
diff --git a/obj/Debug/compabetov2.csproj.CoreCompileInputs.cache b/obj/Debug/compabetov2.csproj.CoreCompileInputs.cache
index 8f1bb2d..339d4f0 100644
--- a/obj/Debug/compabetov2.csproj.CoreCompileInputs.cache
+++ b/obj/Debug/compabetov2.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-424f6d4f8bcbc47e89c98d2fa689cb77dffd9f6b5116717e9e8dca5ece3777d7
+953cb31f9b6e74dde952aba09707a9add648ded1
diff --git a/obj/Debug/compabetov2.csproj.FileListAbsolute.txt b/obj/Debug/compabetov2.csproj.FileListAbsolute.txt
index 5f1e2a0..b96bd7a 100644
--- a/obj/Debug/compabetov2.csproj.FileListAbsolute.txt
+++ b/obj/Debug/compabetov2.csproj.FileListAbsolute.txt
@@ -57,3 +57,4 @@ C:\Users\carsu\Source\Repos\compabetoOG\bin\Debug\compabetov2.exe.manifest
C:\Users\carsu\Source\Repos\compabetoOG\bin\Debug\compabetov2.application
C:\Users\carsu\Source\Repos\compabetoOG\obj\Debug\compabetov2.exe.manifest
C:\Users\carsu\Source\Repos\compabetoOG\obj\Debug\compabetov2.application
+C:\Users\Googl\Documents\compabetov2\obj\Debug\compabetov2.envios.resources
diff --git a/obj/Debug/compabetov2.csproj.GenerateResource.cache b/obj/Debug/compabetov2.csproj.GenerateResource.cache
index 5b9475c..0a4d64a 100644
Binary files a/obj/Debug/compabetov2.csproj.GenerateResource.cache and b/obj/Debug/compabetov2.csproj.GenerateResource.cache differ
diff --git a/obj/Debug/compabetov2.exe b/obj/Debug/compabetov2.exe
index 48d058f..fd80244 100644
Binary files a/obj/Debug/compabetov2.exe and b/obj/Debug/compabetov2.exe differ
diff --git a/obj/Debug/compabetov2.pdb b/obj/Debug/compabetov2.pdb
index 59a6df0..b7f4346 100644
Binary files a/obj/Debug/compabetov2.pdb and b/obj/Debug/compabetov2.pdb differ
diff --git a/vender.Designer.cs b/vender.Designer.cs
index 00712ec..a2fdb5a 100644
--- a/vender.Designer.cs
+++ b/vender.Designer.cs
@@ -28,8 +28,14 @@
///
private void InitializeComponent()
{
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.pictureBox1 = new System.Windows.Forms.PictureBox();
+ this.components = new System.ComponentModel.Container();
+ this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
+ this.horafecha = new System.Windows.Forms.Timer(this.components);
+ this.lblfecha = new System.Windows.Forms.Label();
+ this.lblhora = new System.Windows.Forms.Label();
+ this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.pictureBox9 = new System.Windows.Forms.PictureBox();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.panel2 = new System.Windows.Forms.Panel();
this.pictureBox7 = new System.Windows.Forms.PictureBox();
@@ -38,110 +44,76 @@
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
- this.button6 = new System.Windows.Forms.Button();
- this.button7 = new System.Windows.Forms.Button();
- this.label1 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.label3 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.label5 = new System.Windows.Forms.Label();
- this.label6 = new System.Windows.Forms.Label();
- this.button8 = new System.Windows.Forms.Button();
- this.button9 = new System.Windows.Forms.Button();
- this.pictureBox2 = new System.Windows.Forms.PictureBox();
- this.label7 = new System.Windows.Forms.Label();
- this.label8 = new System.Windows.Forms.Label();
- this.label9 = new System.Windows.Forms.Label();
- this.button10 = new System.Windows.Forms.Button();
- this.button11 = new System.Windows.Forms.Button();
- this.pictureBox3 = new System.Windows.Forms.PictureBox();
- this.label10 = new System.Windows.Forms.Label();
- this.label11 = new System.Windows.Forms.Label();
- this.label12 = new System.Windows.Forms.Label();
- this.button12 = new System.Windows.Forms.Button();
- this.button13 = new System.Windows.Forms.Button();
- this.pictureBox4 = new System.Windows.Forms.PictureBox();
- this.label13 = new System.Windows.Forms.Label();
- this.label14 = new System.Windows.Forms.Label();
- this.label15 = new System.Windows.Forms.Label();
- this.button14 = new System.Windows.Forms.Button();
- this.button15 = new System.Windows.Forms.Button();
- this.pictureBox5 = new System.Windows.Forms.PictureBox();
- this.label16 = new System.Windows.Forms.Label();
- this.label17 = new System.Windows.Forms.Label();
- this.label18 = new System.Windows.Forms.Label();
- this.button16 = new System.Windows.Forms.Button();
- this.button17 = new System.Windows.Forms.Button();
- this.pictureBox6 = new System.Windows.Forms.PictureBox();
- this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
- this.pictureBox8 = new System.Windows.Forms.PictureBox();
- this.groupBox1.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+ this.timer1 = new System.Windows.Forms.Timer(this.components);
+ this.timer2 = new System.Windows.Forms.Timer(this.components);
+ this.flowLayoutPanel3 = new System.Windows.Forms.FlowLayoutPanel();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.textBox2 = new System.Windows.Forms.TextBox();
+ this.flowLayoutPanel2.SuspendLayout();
+ this.panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit();
this.flowLayoutPanel1.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit();
this.SuspendLayout();
//
- // groupBox1
+ // horafecha
//
- this.groupBox1.Controls.Add(this.label16);
- this.groupBox1.Controls.Add(this.label17);
- this.groupBox1.Controls.Add(this.label18);
- this.groupBox1.Controls.Add(this.button16);
- this.groupBox1.Controls.Add(this.button17);
- this.groupBox1.Controls.Add(this.pictureBox6);
- this.groupBox1.Controls.Add(this.label13);
- this.groupBox1.Controls.Add(this.label14);
- this.groupBox1.Controls.Add(this.label15);
- this.groupBox1.Controls.Add(this.button14);
- this.groupBox1.Controls.Add(this.button15);
- this.groupBox1.Controls.Add(this.pictureBox5);
- this.groupBox1.Controls.Add(this.label10);
- this.groupBox1.Controls.Add(this.label11);
- this.groupBox1.Controls.Add(this.label12);
- this.groupBox1.Controls.Add(this.button12);
- this.groupBox1.Controls.Add(this.button13);
- this.groupBox1.Controls.Add(this.pictureBox4);
- this.groupBox1.Controls.Add(this.label7);
- this.groupBox1.Controls.Add(this.label8);
- this.groupBox1.Controls.Add(this.label9);
- this.groupBox1.Controls.Add(this.button10);
- this.groupBox1.Controls.Add(this.button11);
- this.groupBox1.Controls.Add(this.pictureBox3);
- this.groupBox1.Controls.Add(this.label4);
- this.groupBox1.Controls.Add(this.label5);
- this.groupBox1.Controls.Add(this.label6);
- this.groupBox1.Controls.Add(this.button8);
- this.groupBox1.Controls.Add(this.button9);
- this.groupBox1.Controls.Add(this.pictureBox2);
- this.groupBox1.Controls.Add(this.label3);
- this.groupBox1.Controls.Add(this.label2);
- this.groupBox1.Controls.Add(this.label1);
- this.groupBox1.Controls.Add(this.button7);
- this.groupBox1.Controls.Add(this.button6);
- this.groupBox1.Controls.Add(this.pictureBox1);
- this.groupBox1.Location = new System.Drawing.Point(398, 151);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(909, 599);
- this.groupBox1.TabIndex = 9;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Cerveza";
+ this.horafecha.Enabled = true;
+ this.horafecha.Tick += new System.EventHandler(this.horafecha_Tick);
//
- // pictureBox1
+ // lblfecha
//
- this.pictureBox1.Image = global::compabetov2.Properties.Resources.Modelo;
- this.pictureBox1.Location = new System.Drawing.Point(40, 61);
- this.pictureBox1.Name = "pictureBox1";
- this.pictureBox1.Size = new System.Drawing.Size(171, 175);
- this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.pictureBox1.TabIndex = 0;
- this.pictureBox1.TabStop = false;
+ this.lblfecha.AutoSize = true;
+ this.lblfecha.Font = new System.Drawing.Font("Poppins SemiBold", 30F);
+ this.lblfecha.ForeColor = System.Drawing.Color.Navy;
+ this.lblfecha.Location = new System.Drawing.Point(494, 105);
+ this.lblfecha.Name = "lblfecha";
+ this.lblfecha.Size = new System.Drawing.Size(193, 88);
+ this.lblfecha.TabIndex = 13;
+ this.lblfecha.Text = "label2";
+ this.lblfecha.TextAlign = System.Drawing.ContentAlignment.TopCenter;
+ this.lblfecha.Click += new System.EventHandler(this.lblfecha_Click);
+ //
+ // lblhora
+ //
+ this.lblhora.AutoSize = true;
+ this.lblhora.Font = new System.Drawing.Font("Poppins SemiBold", 60F);
+ this.lblhora.ForeColor = System.Drawing.Color.MediumBlue;
+ this.lblhora.Location = new System.Drawing.Point(681, -13);
+ this.lblhora.Name = "lblhora";
+ this.lblhora.Size = new System.Drawing.Size(365, 177);
+ this.lblhora.TabIndex = 12;
+ this.lblhora.Text = "label1";
+ this.lblhora.Click += new System.EventHandler(this.lblhora_Click);
+ //
+ // flowLayoutPanel2
+ //
+ this.flowLayoutPanel2.BackgroundImage = global::compabetov2.Properties.Resources.rec;
+ this.flowLayoutPanel2.Controls.Add(this.panel1);
+ this.flowLayoutPanel2.Location = new System.Drawing.Point(1605, -1);
+ this.flowLayoutPanel2.Name = "flowLayoutPanel2";
+ this.flowLayoutPanel2.Size = new System.Drawing.Size(324, 1192);
+ this.flowLayoutPanel2.TabIndex = 11;
+ //
+ // panel1
+ //
+ this.panel1.BackColor = System.Drawing.Color.Transparent;
+ this.panel1.Controls.Add(this.pictureBox9);
+ this.panel1.Location = new System.Drawing.Point(3, 3);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(312, 263);
+ this.panel1.TabIndex = 8;
+ //
+ // pictureBox9
+ //
+ this.pictureBox9.Image = global::compabetov2.Properties.Resources.HomeroMenu;
+ this.pictureBox9.Location = new System.Drawing.Point(64, 35);
+ this.pictureBox9.Name = "pictureBox9";
+ this.pictureBox9.Size = new System.Drawing.Size(190, 197);
+ this.pictureBox9.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
+ this.pictureBox9.TabIndex = 8;
+ this.pictureBox9.TabStop = false;
//
// flowLayoutPanel1
//
@@ -154,7 +126,7 @@
this.flowLayoutPanel1.Controls.Add(this.button5);
this.flowLayoutPanel1.Location = new System.Drawing.Point(-1, 0);
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
- this.flowLayoutPanel1.Size = new System.Drawing.Size(324, 1061);
+ this.flowLayoutPanel1.Size = new System.Drawing.Size(324, 1199);
this.flowLayoutPanel1.TabIndex = 8;
//
// panel2
@@ -262,360 +234,60 @@
this.button5.Text = "Salir";
this.button5.UseVisualStyleBackColor = false;
//
- // button6
+ // timer1
//
- this.button6.Location = new System.Drawing.Point(40, 242);
- this.button6.Name = "button6";
- this.button6.Size = new System.Drawing.Size(63, 57);
- this.button6.TabIndex = 1;
- this.button6.Text = "button6";
- this.button6.UseVisualStyleBackColor = true;
+
//
- // button7
+ // flowLayoutPanel3
//
- this.button7.Location = new System.Drawing.Point(157, 242);
- this.button7.Name = "button7";
- this.button7.Size = new System.Drawing.Size(63, 57);
- this.button7.TabIndex = 2;
- this.button7.Text = "button7";
- this.button7.UseVisualStyleBackColor = true;
+ this.flowLayoutPanel3.Location = new System.Drawing.Point(326, 283);
+ this.flowLayoutPanel3.Name = "flowLayoutPanel3";
+ this.flowLayoutPanel3.Size = new System.Drawing.Size(1273, 946);
+ this.flowLayoutPanel3.TabIndex = 14;
//
- // label1
+ // textBox1
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(109, 262);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(44, 16);
- this.label1.TabIndex = 3;
- this.label1.Text = "label1";
+ this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F);
+ this.textBox1.Location = new System.Drawing.Point(365, 229);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(398, 36);
+ this.textBox1.TabIndex = 15;
//
- // label2
+ // textBox2
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(37, 42);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(44, 16);
- this.label2.TabIndex = 4;
- this.label2.Text = "label2";
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(167, 42);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(44, 16);
- this.label3.TabIndex = 5;
- this.label3.Text = "label3";
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(454, 42);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(44, 16);
- this.label4.TabIndex = 11;
- this.label4.Text = "label4";
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(324, 42);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(44, 16);
- this.label5.TabIndex = 10;
- this.label5.Text = "label5";
- //
- // label6
- //
- this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(396, 262);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(44, 16);
- this.label6.TabIndex = 9;
- this.label6.Text = "label6";
- //
- // button8
- //
- this.button8.Location = new System.Drawing.Point(444, 242);
- this.button8.Name = "button8";
- this.button8.Size = new System.Drawing.Size(63, 57);
- this.button8.TabIndex = 8;
- this.button8.Text = "button8";
- this.button8.UseVisualStyleBackColor = true;
- //
- // button9
- //
- this.button9.Location = new System.Drawing.Point(327, 242);
- this.button9.Name = "button9";
- this.button9.Size = new System.Drawing.Size(63, 57);
- this.button9.TabIndex = 7;
- this.button9.Text = "button9";
- this.button9.UseVisualStyleBackColor = true;
- //
- // pictureBox2
- //
- this.pictureBox2.Image = global::compabetov2.Properties.Resources.Modelo;
- this.pictureBox2.Location = new System.Drawing.Point(327, 61);
- this.pictureBox2.Name = "pictureBox2";
- this.pictureBox2.Size = new System.Drawing.Size(171, 175);
- this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.pictureBox2.TabIndex = 6;
- this.pictureBox2.TabStop = false;
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.Location = new System.Drawing.Point(745, 42);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(44, 16);
- this.label7.TabIndex = 17;
- this.label7.Text = "label7";
- //
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.Location = new System.Drawing.Point(615, 42);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(44, 16);
- this.label8.TabIndex = 16;
- this.label8.Text = "label8";
- //
- // label9
- //
- this.label9.AutoSize = true;
- this.label9.Location = new System.Drawing.Point(687, 262);
- this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(44, 16);
- this.label9.TabIndex = 15;
- this.label9.Text = "label9";
- //
- // button10
- //
- this.button10.Location = new System.Drawing.Point(735, 242);
- this.button10.Name = "button10";
- this.button10.Size = new System.Drawing.Size(63, 57);
- this.button10.TabIndex = 14;
- this.button10.Text = "button10";
- this.button10.UseVisualStyleBackColor = true;
- //
- // button11
- //
- this.button11.Location = new System.Drawing.Point(618, 242);
- this.button11.Name = "button11";
- this.button11.Size = new System.Drawing.Size(63, 57);
- this.button11.TabIndex = 13;
- this.button11.Text = "button11";
- this.button11.UseVisualStyleBackColor = true;
- //
- // pictureBox3
- //
- this.pictureBox3.Image = global::compabetov2.Properties.Resources.Modelo;
- this.pictureBox3.Location = new System.Drawing.Point(618, 61);
- this.pictureBox3.Name = "pictureBox3";
- this.pictureBox3.Size = new System.Drawing.Size(171, 175);
- this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.pictureBox3.TabIndex = 12;
- this.pictureBox3.TabStop = false;
- //
- // label10
- //
- this.label10.AutoSize = true;
- this.label10.Location = new System.Drawing.Point(167, 290);
- this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(51, 16);
- this.label10.TabIndex = 23;
- this.label10.Text = "label10";
- //
- // label11
- //
- this.label11.AutoSize = true;
- this.label11.Location = new System.Drawing.Point(37, 290);
- this.label11.Name = "label11";
- this.label11.Size = new System.Drawing.Size(51, 16);
- this.label11.TabIndex = 22;
- this.label11.Text = "label11";
- //
- // label12
- //
- this.label12.AutoSize = true;
- this.label12.Location = new System.Drawing.Point(109, 510);
- this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(51, 16);
- this.label12.TabIndex = 21;
- this.label12.Text = "label12";
- //
- // button12
- //
- this.button12.Location = new System.Drawing.Point(157, 490);
- this.button12.Name = "button12";
- this.button12.Size = new System.Drawing.Size(63, 57);
- this.button12.TabIndex = 20;
- this.button12.Text = "button12";
- this.button12.UseVisualStyleBackColor = true;
- //
- // button13
- //
- this.button13.Location = new System.Drawing.Point(40, 490);
- this.button13.Name = "button13";
- this.button13.Size = new System.Drawing.Size(63, 57);
- this.button13.TabIndex = 19;
- this.button13.Text = "button13";
- this.button13.UseVisualStyleBackColor = true;
- //
- // pictureBox4
- //
- this.pictureBox4.Image = global::compabetov2.Properties.Resources.Modelo;
- this.pictureBox4.Location = new System.Drawing.Point(40, 309);
- this.pictureBox4.Name = "pictureBox4";
- this.pictureBox4.Size = new System.Drawing.Size(171, 175);
- this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.pictureBox4.TabIndex = 18;
- this.pictureBox4.TabStop = false;
- //
- // label13
- //
- this.label13.AutoSize = true;
- this.label13.Location = new System.Drawing.Point(454, 301);
- this.label13.Name = "label13";
- this.label13.Size = new System.Drawing.Size(51, 16);
- this.label13.TabIndex = 29;
- this.label13.Text = "label13";
- //
- // label14
- //
- this.label14.AutoSize = true;
- this.label14.Location = new System.Drawing.Point(324, 301);
- this.label14.Name = "label14";
- this.label14.Size = new System.Drawing.Size(51, 16);
- this.label14.TabIndex = 28;
- this.label14.Text = "label14";
- //
- // label15
- //
- this.label15.AutoSize = true;
- this.label15.Location = new System.Drawing.Point(396, 521);
- this.label15.Name = "label15";
- this.label15.Size = new System.Drawing.Size(51, 16);
- this.label15.TabIndex = 27;
- this.label15.Text = "label15";
- //
- // button14
- //
- this.button14.Location = new System.Drawing.Point(444, 501);
- this.button14.Name = "button14";
- this.button14.Size = new System.Drawing.Size(63, 57);
- this.button14.TabIndex = 26;
- this.button14.Text = "button14";
- this.button14.UseVisualStyleBackColor = true;
- //
- // button15
- //
- this.button15.Location = new System.Drawing.Point(327, 501);
- this.button15.Name = "button15";
- this.button15.Size = new System.Drawing.Size(63, 57);
- this.button15.TabIndex = 25;
- this.button15.Text = "button15";
- this.button15.UseVisualStyleBackColor = true;
- //
- // pictureBox5
- //
- this.pictureBox5.Image = global::compabetov2.Properties.Resources.Modelo;
- this.pictureBox5.Location = new System.Drawing.Point(327, 320);
- this.pictureBox5.Name = "pictureBox5";
- this.pictureBox5.Size = new System.Drawing.Size(171, 175);
- this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.pictureBox5.TabIndex = 24;
- this.pictureBox5.TabStop = false;
- //
- // label16
- //
- this.label16.AutoSize = true;
- this.label16.Location = new System.Drawing.Point(745, 301);
- this.label16.Name = "label16";
- this.label16.Size = new System.Drawing.Size(51, 16);
- this.label16.TabIndex = 35;
- this.label16.Text = "label16";
- //
- // label17
- //
- this.label17.AutoSize = true;
- this.label17.Location = new System.Drawing.Point(615, 301);
- this.label17.Name = "label17";
- this.label17.Size = new System.Drawing.Size(51, 16);
- this.label17.TabIndex = 34;
- this.label17.Text = "label17";
- //
- // label18
- //
- this.label18.AutoSize = true;
- this.label18.Location = new System.Drawing.Point(687, 521);
- this.label18.Name = "label18";
- this.label18.Size = new System.Drawing.Size(51, 16);
- this.label18.TabIndex = 33;
- this.label18.Text = "label18";
- //
- // button16
- //
- this.button16.Location = new System.Drawing.Point(735, 501);
- this.button16.Name = "button16";
- this.button16.Size = new System.Drawing.Size(63, 57);
- this.button16.TabIndex = 32;
- this.button16.Text = "button16";
- this.button16.UseVisualStyleBackColor = true;
- //
- // button17
- //
- this.button17.Location = new System.Drawing.Point(618, 501);
- this.button17.Name = "button17";
- this.button17.Size = new System.Drawing.Size(63, 57);
- this.button17.TabIndex = 31;
- this.button17.Text = "button17";
- this.button17.UseVisualStyleBackColor = true;
- //
- // pictureBox6
- //
- this.pictureBox6.Image = global::compabetov2.Properties.Resources.Modelo;
- this.pictureBox6.Location = new System.Drawing.Point(618, 320);
- this.pictureBox6.Name = "pictureBox6";
- this.pictureBox6.Size = new System.Drawing.Size(171, 175);
- this.pictureBox6.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.pictureBox6.TabIndex = 30;
- this.pictureBox6.TabStop = false;
- //
- // pictureBox8
- //
- this.pictureBox8.Location = new System.Drawing.Point(725, 66);
- this.pictureBox8.Name = "pictureBox8";
- this.pictureBox8.Size = new System.Drawing.Size(100, 50);
- this.pictureBox8.TabIndex = 10;
- this.pictureBox8.TabStop = false;
+ this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F);
+ this.textBox2.Location = new System.Drawing.Point(792, 229);
+ this.textBox2.Name = "textBox2";
+ this.textBox2.Size = new System.Drawing.Size(398, 36);
+ this.textBox2.TabIndex = 16;
//
// vender
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(1924, 1055);
- this.Controls.Add(this.pictureBox8);
- this.Controls.Add(this.groupBox1);
+ this.Controls.Add(this.textBox2);
+ this.Controls.Add(this.textBox1);
+ this.Controls.Add(this.flowLayoutPanel3);
+ this.Controls.Add(this.lblfecha);
+ this.Controls.Add(this.lblhora);
+ this.Controls.Add(this.flowLayoutPanel2);
this.Controls.Add(this.flowLayoutPanel1);
this.Name = "vender";
this.Text = "vender";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.vender_Load);
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+ this.flowLayoutPanel2.ResumeLayout(false);
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).EndInit();
this.flowLayoutPanel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit();
this.ResumeLayout(false);
+ this.PerformLayout();
}
@@ -629,44 +301,17 @@
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
- private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.PictureBox pictureBox1;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.Button button7;
- private System.Windows.Forms.Button button6;
- private System.Windows.Forms.Label label16;
- private System.Windows.Forms.Label label17;
- private System.Windows.Forms.Label label18;
- private System.Windows.Forms.Button button16;
- private System.Windows.Forms.Button button17;
- private System.Windows.Forms.PictureBox pictureBox6;
- private System.Windows.Forms.Label label13;
- private System.Windows.Forms.Label label14;
- private System.Windows.Forms.Label label15;
- private System.Windows.Forms.Button button14;
- private System.Windows.Forms.Button button15;
- private System.Windows.Forms.PictureBox pictureBox5;
- private System.Windows.Forms.Label label10;
- private System.Windows.Forms.Label label11;
- private System.Windows.Forms.Label label12;
- private System.Windows.Forms.Button button12;
- private System.Windows.Forms.Button button13;
- private System.Windows.Forms.PictureBox pictureBox4;
- private System.Windows.Forms.Label label7;
- private System.Windows.Forms.Label label8;
- private System.Windows.Forms.Label label9;
- private System.Windows.Forms.Button button10;
- private System.Windows.Forms.Button button11;
- private System.Windows.Forms.PictureBox pictureBox3;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.Label label5;
- private System.Windows.Forms.Label label6;
- private System.Windows.Forms.Button button8;
- private System.Windows.Forms.Button button9;
- private System.Windows.Forms.PictureBox pictureBox2;
private System.ComponentModel.BackgroundWorker backgroundWorker1;
- private System.Windows.Forms.PictureBox pictureBox8;
+ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel2;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.PictureBox pictureBox9;
+ private System.Windows.Forms.Timer horafecha;
+ private System.Windows.Forms.Label lblfecha;
+ private System.Windows.Forms.Label lblhora;
+ private System.Windows.Forms.Timer timer1;
+ private System.Windows.Forms.Timer timer2;
+ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel3;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.TextBox textBox2;
}
}
\ No newline at end of file
diff --git a/vender.cs b/vender.cs
index 494299b..9a9f36d 100644
--- a/vender.cs
+++ b/vender.cs
@@ -11,7 +11,17 @@ using System.Windows.Forms;
namespace compabetov2
{
public partial class vender : Form
+
+
{
+
+ private int cantidad = 0;
+ private bool masBtnPresionado = false;
+ private bool menosBtnPresionado = false;
+
+
+
+
public vender()
{
InitializeComponent();
@@ -20,6 +30,33 @@ namespace compabetov2
private void vender_Load(object sender, EventArgs e)
{
+ }
+
+ private void lblhora_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void lblfecha_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void horafecha_Tick(object sender, EventArgs e)
+ {
+ lblhora.Text = DateTime.Now.ToString("h:mm:ss");
+ lblfecha.Text = DateTime.Now.ToLongDateString();
+ }
+
+ private void cervezasgb_Enter(object sender, EventArgs e)
+ {
+
+ }
+
+
+
+
}
}
-}
+
+
diff --git a/vender.resx b/vender.resx
index 59099f2..34aa1e9 100644
--- a/vender.resx
+++ b/vender.resx
@@ -120,4 +120,13 @@
17, 17
+
+ 143, 17
+
+
+ 269, 17
+
+
+ 372, 17
+
\ No newline at end of file