Changeset 57

User picture

Author: wish

(2011/11/21 17:16) 6 months ago

Fixes varios. Actualizado el script de la BD.

Affected files

Updated Tecnoplas/Datos/LineasVenta.cs Download diff

5657
1
using System;
1
using System;
2
using System.Collections.Generic;
2
using System.Collections.Generic;
3
using System.Text;
3
using System.Text;
4
using System.Data;
5
using MySql.Data.MySqlClient;
4
6
5
namespace Tecnoplas.Datos
7
namespace Tecnoplas.Datos
6
{
8
{
...
...
36
            return new Tecnoplas.Entidades.Colecciones.LineasVentas();
38
            return new Tecnoplas.Entidades.Colecciones.LineasVentas();
37
        }
39
        }
38
40
39
        public Entidades.Colecciones.LineasVentas RecuperarTodos(int codigoVenta)
41
        public Entidades.Colecciones.LineasVentas RecuperarTodos(Entidades.Venta oVenta)
40
        {
42
        {
41
            return new Tecnoplas.Entidades.Colecciones.LineasVentas();
43
            MySqlConnection oConn = Datos.General.CrearConexion();
44
            using (oConn)
45
            {
46
                MySqlCommand oCmd = new MySqlCommand();
47
                using (oCmd)
48
                {
49
                    oCmd.Connection = oConn;
50
                    oCmd.CommandType = CommandType.StoredProcedure;
51
                    oCmd.CommandText = "lineas_venta_recuperartodos";
52
                    oCmd.Parameters.AddWithValue("p_codigo_venta", oVenta.Codigo);
53
54
                    Entidades.Colecciones.LineasVentas oLineasVentas = new Entidades.Colecciones.LineasVentas();
55
                    try
56
                    {
57
                        oConn.Open();
58
                        MySqlDataReader oReader = oCmd.ExecuteReader();
59
                        using (oReader)
60
                        {
61
                            while (oReader.Read())
62
                            {
63
                                // Creamos un nuevo objeto.
64
                                Entidades.LineaVenta oLineaVenta = new Entidades.LineaVenta();
65
66
                                // Lo completamos con la informacion del Reader.
67
                                oLineaVenta.Codigo = Convert.ToInt32(oReader["codigo_linea_venta"]);
68
                                oLineaVenta.Venta = oVenta;
69
                                oLineaVenta.Producto = new Productos().RecuperarUno(Convert.ToString(oReader["codigo_producto"]))[0];
70
                                oLineaVenta.Cantidad = Convert.ToInt32(oReader["cantidad"]);
71
72
                                // Lo agregamos a la coleccion
73
                                oLineasVentas.Add(oLineaVenta);
74
                                oLineaVenta = null;
75
                            }
76
                            oConn.Close();
77
                            return oLineasVentas;
78
                        }
79
                    }
80
81
                    finally
82
                    {
83
                        oLineasVentas = null;
84
                    }
85
                }
86
            }
42
        }
87
        }
43
    }
88
    }
44
}
89
}

Updated Tecnoplas/Datos/Ventas.cs Download diff

5657
77
                                    new FormasPago().RecuperarUno(Convert.ToInt32(oReader["codigo_forma_pago"]))[0];
77
                                    new FormasPago().RecuperarUno(Convert.ToInt32(oReader["codigo_forma_pago"]))[0];
78
78
79
                                // Recupero todas las lineas de venta para estsa venta, y guardo la coleccion dentro.
79
                                // Recupero todas las lineas de venta para estsa venta, y guardo la coleccion dentro.
80
                                oVenta.LineasVentas = new LineasVenta().RecuperarTodos(oVenta.Codigo);
80
                                oVenta.LineasVentas = new LineasVenta().RecuperarTodos(oVenta);
81
81
82
                                // Lo agregamos a la coleccion
82
                                // Lo agregamos a la coleccion
83
                                oVentas.Add(oVenta);
83
                                oVentas.Add(oVenta);

Updated Tecnoplas/Escritorio/frmClientesAM.cs Download diff

5657
21
            Operacion = Utilidades.Operaciones.TipoOperacion.Alta;
21
            Operacion = Utilidades.Operaciones.TipoOperacion.Alta;
22
            this.Text = "Agregar Cliente";
22
            this.Text = "Agregar Cliente";
23
            this.ShowInTaskbar = false;
23
            this.ShowInTaskbar = false;
24
            CargarCondicionesIVA();
24
        }
25
        }
25
26
26
        public frmClientesAM(Entidades.Cliente oCliente)
27
        public frmClientesAM(Entidades.Cliente oCliente)
...
...
28
            InitializeComponent();
29
            InitializeComponent();
29
            Operacion = Utilidades.Operaciones.TipoOperacion.Modificacion;
30
            Operacion = Utilidades.Operaciones.TipoOperacion.Modificacion;
30
            this.Text = "Modificar Cliente";
31
            this.Text = "Modificar Cliente";
32
            this.ShowInTaskbar = false;
33
            CargarCondicionesIVA();
31
            CompletarCampos(oCliente);
34
            CompletarCampos(oCliente);
32
            this.ShowInTaskbar = false;
33
        }
35
        }
34
36
35
        private void frmClientesAM_Load(object sender, EventArgs e)
37
        private void frmClientesAM_Load(object sender, EventArgs e)
...
...
40
            this.ControlBox = false;
42
            this.ControlBox = false;
41
            this.FormBorderStyle = FormBorderStyle.FixedDialog;
43
            this.FormBorderStyle = FormBorderStyle.FixedDialog;
42
            this.cbxIVA.DropDownStyle = ComboBoxStyle.DropDownList; // No deja escribir en el cbx
44
            this.cbxIVA.DropDownStyle = ComboBoxStyle.DropDownList; // No deja escribir en el cbx
43
            CargarCondicionesIVA();
44
        }
45
        }
45
46
46
        private void btnCancelar_Click(object sender, EventArgs e)
47
        private void btnCancelar_Click(object sender, EventArgs e)
...
...
77
            txtDomicilio.Text = Convert.ToString(oCliente.Domicilio);
78
            txtDomicilio.Text = Convert.ToString(oCliente.Domicilio);
78
            txtTelefono.Text = Convert.ToString(oCliente.Telefono);
79
            txtTelefono.Text = Convert.ToString(oCliente.Telefono);
79
            txtCUIT.Text = Convert.ToString(oCliente.CUIT);
80
            txtCUIT.Text = Convert.ToString(oCliente.CUIT);
80
            cbxIVA.Text = Convert.ToString(oCliente.CondicionIVA.Descripcion);
81
            cbxIVA.SelectedIndex = cbxIVA.Items.IndexOf(Convert.ToString(oCliente.CondicionIVA.Descripcion));
81
        }
82
        }
82
83
83
        private void Guardar()
84
        private void Guardar()

Updated Tecnoplas/Escritorio/frmClientesAM.Designer.cs Download diff

5657
67
            this.cbxIVA.Location = new System.Drawing.Point(118, 153);
67
            this.cbxIVA.Location = new System.Drawing.Point(118, 153);
68
            this.cbxIVA.Name = "cbxIVA";
68
            this.cbxIVA.Name = "cbxIVA";
69
            this.cbxIVA.Size = new System.Drawing.Size(181, 21);
69
            this.cbxIVA.Size = new System.Drawing.Size(181, 21);
70
            this.cbxIVA.TabIndex = 5;
70
            this.cbxIVA.TabIndex = 6;
71
            // 
71
            // 
72
            // lblRazonSocial
72
            // lblRazonSocial
73
            // 
73
            // 
...
...
83
            this.txtRazonSocial.Location = new System.Drawing.Point(118, 49);
83
            this.txtRazonSocial.Location = new System.Drawing.Point(118, 49);
84
            this.txtRazonSocial.Name = "txtRazonSocial";
84
            this.txtRazonSocial.Name = "txtRazonSocial";
85
            this.txtRazonSocial.Size = new System.Drawing.Size(181, 20);
85
            this.txtRazonSocial.Size = new System.Drawing.Size(181, 20);
86
            this.txtRazonSocial.TabIndex = 1;
86
            this.txtRazonSocial.TabIndex = 2;
87
            // 
87
            // 
88
            // lblCUIT
88
            // lblCUIT
89
            // 
89
            // 
...
...
108
            this.txtDomicilio.Location = new System.Drawing.Point(118, 75);
108
            this.txtDomicilio.Location = new System.Drawing.Point(118, 75);
109
            this.txtDomicilio.Name = "txtDomicilio";
109
            this.txtDomicilio.Name = "txtDomicilio";
110
            this.txtDomicilio.Size = new System.Drawing.Size(181, 20);
110
            this.txtDomicilio.Size = new System.Drawing.Size(181, 20);
111
            this.txtDomicilio.TabIndex = 2;
111
            this.txtDomicilio.TabIndex = 3;
112
            // 
112
            // 
113
            // lblTelefono
113
            // lblTelefono
114
            // 
114
            // 
...
...
125
            this.btnCancelar.Location = new System.Drawing.Point(268, 213);
125
            this.btnCancelar.Location = new System.Drawing.Point(268, 213);
126
            this.btnCancelar.Name = "btnCancelar";
126
            this.btnCancelar.Name = "btnCancelar";
127
            this.btnCancelar.Size = new System.Drawing.Size(75, 23);
127
            this.btnCancelar.Size = new System.Drawing.Size(75, 23);
128
            this.btnCancelar.TabIndex = 7;
128
            this.btnCancelar.TabIndex = 8;
129
            this.btnCancelar.Text = "Cancelar";
129
            this.btnCancelar.Text = "Cancelar";
130
            this.btnCancelar.UseVisualStyleBackColor = true;
130
            this.btnCancelar.UseVisualStyleBackColor = true;
131
            this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click);
131
            this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click);
...
...
135
            this.btnGuardar.Location = new System.Drawing.Point(187, 213);
135
            this.btnGuardar.Location = new System.Drawing.Point(187, 213);
136
            this.btnGuardar.Name = "btnGuardar";
136
            this.btnGuardar.Name = "btnGuardar";
137
            this.btnGuardar.Size = new System.Drawing.Size(75, 23);
137
            this.btnGuardar.Size = new System.Drawing.Size(75, 23);
138
            this.btnGuardar.TabIndex = 6;
138
            this.btnGuardar.TabIndex = 7;
139
            this.btnGuardar.Text = "Guardar";
139
            this.btnGuardar.Text = "Guardar";
140
            this.btnGuardar.UseVisualStyleBackColor = true;
140
            this.btnGuardar.UseVisualStyleBackColor = true;
141
            this.btnGuardar.Click += new System.EventHandler(this.btnGuardar_Click);
141
            this.btnGuardar.Click += new System.EventHandler(this.btnGuardar_Click);
...
...
173
            this.txtCUIT.Mask = "00-00000000-0";
173
            this.txtCUIT.Mask = "00-00000000-0";
174
            this.txtCUIT.Name = "txtCUIT";
174
            this.txtCUIT.Name = "txtCUIT";
175
            this.txtCUIT.Size = new System.Drawing.Size(181, 20);
175
            this.txtCUIT.Size = new System.Drawing.Size(181, 20);
176
            this.txtCUIT.TabIndex = 4;
176
            this.txtCUIT.TabIndex = 5;
177
            this.txtCUIT.TextMaskFormat = System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;
177
            this.txtCUIT.TextMaskFormat = System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;
178
            // 
178
            // 
179
            // txtCodigo
179
            // txtCodigo
...
...
181
            this.txtCodigo.Location = new System.Drawing.Point(118, 23);
181
            this.txtCodigo.Location = new System.Drawing.Point(118, 23);
182
            this.txtCodigo.Name = "txtCodigo";
182
            this.txtCodigo.Name = "txtCodigo";
183
            this.txtCodigo.Size = new System.Drawing.Size(86, 20);
183
            this.txtCodigo.Size = new System.Drawing.Size(86, 20);
184
            this.txtCodigo.TabIndex = 0;
184
            this.txtCodigo.TabIndex = 1;
185
            // 
185
            // 
186
            // lblCodigo
186
            // lblCodigo
187
            // 
187
            // 
...
...
242
            this.txtTelefono.Location = new System.Drawing.Point(118, 101);
242
            this.txtTelefono.Location = new System.Drawing.Point(118, 101);
243
            this.txtTelefono.Name = "txtTelefono";
243
            this.txtTelefono.Name = "txtTelefono";
244
            this.txtTelefono.Size = new System.Drawing.Size(181, 20);
244
            this.txtTelefono.Size = new System.Drawing.Size(181, 20);
245
            this.txtTelefono.TabIndex = 3;
245
            this.txtTelefono.TabIndex = 4;
246
            // 
246
            // 
247
            // lblRequeridoMain
247
            // lblRequeridoMain
248
            // 
248
            // 

Updated Tecnoplas/Escritorio/frmClientesLista.cs Download diff

5657
58
58
59
        private void btnCerrar_Click(object sender, EventArgs e)
59
        private void btnCerrar_Click(object sender, EventArgs e)
60
        {
60
        {
61
            this.codigoDevuelto = Convert.ToInt32(this.dgvClientes.SelectedRows[0].Cells[0].Value.ToString());
61
            this.Dispose();
62
            this.Dispose();
62
            this.codigoDevuelto = Convert.ToInt32(this.dgvClientes.SelectedRows[0].Cells[0].Value.ToString());
63
        }
63
        }
64
64
65
        private void cbxFiltrar_SelectedIndexChanged(object sender, EventArgs e)
65
        private void cbxFiltrar_SelectedIndexChanged(object sender, EventArgs e)

Updated Tecnoplas/Escritorio/frmClientesLista.Designer.cs Download diff

5657
102
            this.dgvClientes.RowTemplate.Height = 18;
102
            this.dgvClientes.RowTemplate.Height = 18;
103
            this.dgvClientes.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
103
            this.dgvClientes.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
104
            this.dgvClientes.Size = new System.Drawing.Size(803, 332);
104
            this.dgvClientes.Size = new System.Drawing.Size(803, 332);
105
            this.dgvClientes.TabIndex = 4;
105
            this.dgvClientes.TabIndex = 3;
106
            // 
106
            // 
107
            // colCodigo
107
            // colCodigo
108
            // 
108
            // 
...
...
165
            this.btnCerrar});
165
            this.btnCerrar});
166
            this.menuPrincipal.Location = new System.Drawing.Point(0, 0);
166
            this.menuPrincipal.Location = new System.Drawing.Point(0, 0);
167
            this.menuPrincipal.Name = "menuPrincipal";
167
            this.menuPrincipal.Name = "menuPrincipal";
168
            this.menuPrincipal.Size = new System.Drawing.Size(827, 36);
168
            this.menuPrincipal.Size = new System.Drawing.Size(827, 38);
169
            this.menuPrincipal.TabIndex = 5;
169
            this.menuPrincipal.TabIndex = 5;
170
            // 
170
            // 
171
            // btnAgregar
171
            // btnAgregar
...
...
173
            this.btnAgregar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgAgregar;
173
            this.btnAgregar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgAgregar;
174
            this.btnAgregar.ImageTransparentColor = System.Drawing.Color.Magenta;
174
            this.btnAgregar.ImageTransparentColor = System.Drawing.Color.Magenta;
175
            this.btnAgregar.Name = "btnAgregar";
175
            this.btnAgregar.Name = "btnAgregar";
176
            this.btnAgregar.Size = new System.Drawing.Size(84, 33);
176
            this.btnAgregar.Size = new System.Drawing.Size(91, 35);
177
            this.btnAgregar.Text = "Agregar cliente";
177
            this.btnAgregar.Text = "Agregar cliente";
178
            this.btnAgregar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
178
            this.btnAgregar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
179
            this.btnAgregar.Click += new System.EventHandler(this.btnAgregar_Click);
179
            this.btnAgregar.Click += new System.EventHandler(this.btnAgregar_Click);
...
...
181
            // separador1
181
            // separador1
182
            // 
182
            // 
183
            this.separador1.Name = "separador1";
183
            this.separador1.Name = "separador1";
184
            this.separador1.Size = new System.Drawing.Size(6, 36);
184
            this.separador1.Size = new System.Drawing.Size(6, 38);
185
            // 
185
            // 
186
            // btnModificar
186
            // btnModificar
187
            // 
187
            // 
188
            this.btnModificar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgModificar;
188
            this.btnModificar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgModificar;
189
            this.btnModificar.ImageTransparentColor = System.Drawing.Color.Magenta;
189
            this.btnModificar.ImageTransparentColor = System.Drawing.Color.Magenta;
190
            this.btnModificar.Name = "btnModificar";
190
            this.btnModificar.Name = "btnModificar";
191
            this.btnModificar.Size = new System.Drawing.Size(88, 33);
191
            this.btnModificar.Size = new System.Drawing.Size(100, 35);
192
            this.btnModificar.Text = "Modificar cliente";
192
            this.btnModificar.Text = "Modificar cliente";
193
            this.btnModificar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
193
            this.btnModificar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
194
            this.btnModificar.Click += new System.EventHandler(this.btnModificar_Click);
194
            this.btnModificar.Click += new System.EventHandler(this.btnModificar_Click);
...
...
196
            // separador2
196
            // separador2
197
            // 
197
            // 
198
            this.separador2.Name = "separador2";
198
            this.separador2.Name = "separador2";
199
            this.separador2.Size = new System.Drawing.Size(6, 36);
199
            this.separador2.Size = new System.Drawing.Size(6, 38);
200
            // 
200
            // 
201
            // btnEliminar
201
            // btnEliminar
202
            // 
202
            // 
203
            this.btnEliminar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgEliminar;
203
            this.btnEliminar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgEliminar;
204
            this.btnEliminar.ImageTransparentColor = System.Drawing.Color.Magenta;
204
            this.btnEliminar.ImageTransparentColor = System.Drawing.Color.Magenta;
205
            this.btnEliminar.Name = "btnEliminar";
205
            this.btnEliminar.Name = "btnEliminar";
206
            this.btnEliminar.Size = new System.Drawing.Size(81, 33);
206
            this.btnEliminar.Size = new System.Drawing.Size(92, 35);
207
            this.btnEliminar.Text = "Eliminar cliente";
207
            this.btnEliminar.Text = "Eliminar cliente";
208
            this.btnEliminar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
208
            this.btnEliminar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
209
            this.btnEliminar.Click += new System.EventHandler(this.btnEliminar_Click);
209
            this.btnEliminar.Click += new System.EventHandler(this.btnEliminar_Click);
...
...
211
            // separador3
211
            // separador3
212
            // 
212
            // 
213
            this.separador3.Name = "separador3";
213
            this.separador3.Name = "separador3";
214
            this.separador3.Size = new System.Drawing.Size(6, 36);
214
            this.separador3.Size = new System.Drawing.Size(6, 38);
215
            // 
215
            // 
216
            // btnCerrar
216
            // btnCerrar
217
            // 
217
            // 
218
            this.btnCerrar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgCerrar;
218
            this.btnCerrar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgCerrar;
219
            this.btnCerrar.ImageTransparentColor = System.Drawing.Color.Magenta;
219
            this.btnCerrar.ImageTransparentColor = System.Drawing.Color.Magenta;
220
            this.btnCerrar.Name = "btnCerrar";
220
            this.btnCerrar.Name = "btnCerrar";
221
            this.btnCerrar.Size = new System.Drawing.Size(42, 33);
221
            this.btnCerrar.Size = new System.Drawing.Size(43, 35);
222
            this.btnCerrar.Text = "Cerrar";
222
            this.btnCerrar.Text = "Cerrar";
223
            this.btnCerrar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
223
            this.btnCerrar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
224
            this.btnCerrar.Click += new System.EventHandler(this.btnCerrar_Click);
224
            this.btnCerrar.Click += new System.EventHandler(this.btnCerrar_Click);
...
...
255
            this.cbxIVA.Location = new System.Drawing.Point(253, 44);
255
            this.cbxIVA.Location = new System.Drawing.Point(253, 44);
256
            this.cbxIVA.Name = "cbxIVA";
256
            this.cbxIVA.Name = "cbxIVA";
257
            this.cbxIVA.Size = new System.Drawing.Size(176, 21);
257
            this.cbxIVA.Size = new System.Drawing.Size(176, 21);
258
            this.cbxIVA.TabIndex = 3;
258
            this.cbxIVA.TabIndex = 2;
259
            // 
259
            // 
260
            // frmClientesLista
260
            // frmClientesLista
261
            // 
261
            // 

Updated Tecnoplas/Escritorio/frmLogin.Designer.cs Download diff

5657
55
            this.lblUsuario.Location = new System.Drawing.Point(137, 56);
55
            this.lblUsuario.Location = new System.Drawing.Point(137, 56);
56
            this.lblUsuario.Name = "lblUsuario";
56
            this.lblUsuario.Name = "lblUsuario";
57
            this.lblUsuario.Size = new System.Drawing.Size(46, 13);
57
            this.lblUsuario.Size = new System.Drawing.Size(46, 13);
58
            this.lblUsuario.TabIndex = 1;
58
            this.lblUsuario.TabIndex = 0;
59
            this.lblUsuario.Text = "Usuario:";
59
            this.lblUsuario.Text = "Usuario:";
60
            // 
60
            // 
61
            // lblPassword
61
            // lblPassword
...
...
64
            this.lblPassword.Location = new System.Drawing.Point(118, 83);
64
            this.lblPassword.Location = new System.Drawing.Point(118, 83);
65
            this.lblPassword.Name = "lblPassword";
65
            this.lblPassword.Name = "lblPassword";
66
            this.lblPassword.Size = new System.Drawing.Size(64, 13);
66
            this.lblPassword.Size = new System.Drawing.Size(64, 13);
67
            this.lblPassword.TabIndex = 2;
67
            this.lblPassword.TabIndex = 0;
68
            this.lblPassword.Text = "Contraseña:";
68
            this.lblPassword.Text = "Contraseña:";
69
            // 
69
            // 
70
            // txtUsuario
70
            // txtUsuario
...
...
72
            this.txtUsuario.Location = new System.Drawing.Point(189, 53);
72
            this.txtUsuario.Location = new System.Drawing.Point(189, 53);
73
            this.txtUsuario.Name = "txtUsuario";
73
            this.txtUsuario.Name = "txtUsuario";
74
            this.txtUsuario.Size = new System.Drawing.Size(128, 20);
74
            this.txtUsuario.Size = new System.Drawing.Size(128, 20);
75
            this.txtUsuario.TabIndex = 3;
75
            this.txtUsuario.TabIndex = 1;
76
            // 
76
            // 
77
            // txtPassword
77
            // txtPassword
78
            // 
78
            // 
...
...
80
            this.txtPassword.Name = "txtPassword";
80
            this.txtPassword.Name = "txtPassword";
81
            this.txtPassword.PasswordChar = '*';
81
            this.txtPassword.PasswordChar = '*';
82
            this.txtPassword.Size = new System.Drawing.Size(128, 20);
82
            this.txtPassword.Size = new System.Drawing.Size(128, 20);
83
            this.txtPassword.TabIndex = 4;
83
            this.txtPassword.TabIndex = 2;
84
            // 
84
            // 
85
            // btnIngresar
85
            // btnIngresar
86
            // 
86
            // 
87
            this.btnIngresar.Location = new System.Drawing.Point(121, 114);
87
            this.btnIngresar.Location = new System.Drawing.Point(121, 114);
88
            this.btnIngresar.Name = "btnIngresar";
88
            this.btnIngresar.Name = "btnIngresar";
89
            this.btnIngresar.Size = new System.Drawing.Size(95, 23);
89
            this.btnIngresar.Size = new System.Drawing.Size(95, 23);
90
            this.btnIngresar.TabIndex = 5;
90
            this.btnIngresar.TabIndex = 3;
91
            this.btnIngresar.Text = "Ingresar";
91
            this.btnIngresar.Text = "Ingresar";
92
            this.btnIngresar.UseVisualStyleBackColor = true;
92
            this.btnIngresar.UseVisualStyleBackColor = true;
93
            this.btnIngresar.Click += new System.EventHandler(this.btnIngresar_Click);
93
            this.btnIngresar.Click += new System.EventHandler(this.btnIngresar_Click);
...
...
98
            this.btnSalir.Location = new System.Drawing.Point(222, 114);
98
            this.btnSalir.Location = new System.Drawing.Point(222, 114);
99
            this.btnSalir.Name = "btnSalir";
99
            this.btnSalir.Name = "btnSalir";
100
            this.btnSalir.Size = new System.Drawing.Size(95, 23);
100
            this.btnSalir.Size = new System.Drawing.Size(95, 23);
101
            this.btnSalir.TabIndex = 6;
101
            this.btnSalir.TabIndex = 4;
102
            this.btnSalir.Text = "Salir";
102
            this.btnSalir.Text = "Salir";
103
            this.btnSalir.UseVisualStyleBackColor = true;
103
            this.btnSalir.UseVisualStyleBackColor = true;
104
            this.btnSalir.Click += new System.EventHandler(this.btnSalir_Click);
104
            this.btnSalir.Click += new System.EventHandler(this.btnSalir_Click);

Updated Tecnoplas/Escritorio/frmProductosAM.cs Download diff

5657
30
            this.Text = "Modificar Producto";
30
            this.Text = "Modificar Producto";
31
            CompletarCampos(oProducto);
31
            CompletarCampos(oProducto);
32
            this.ShowInTaskbar = false;
32
            this.ShowInTaskbar = false;
33
34
            // El codigo solo se permite ingresar al insertar el producto, 
35
            // no luego dado que funciona como clave de las entidades Producto.
36
            this.txtCodigo.Enabled = false;
33
        }
37
        }
34
38
35
        private void frmProductosAM_Load(object sender, EventArgs e)
39
        private void frmProductosAM_Load(object sender, EventArgs e)
36
        {
40
        {
37
            this.txtCodigo.Enabled = false;
38
            this.AcceptButton = this.btnGuardar;
41
            this.AcceptButton = this.btnGuardar;
39
            this.CancelButton = this.btnCancelar;
42
            this.CancelButton = this.btnCancelar;
40
            this.ControlBox = false;
43
            this.ControlBox = false;
...
...
117
            this.txtMedidaTapa.Text = Convert.ToString(oProducto.MedidaTapa);
120
            this.txtMedidaTapa.Text = Convert.ToString(oProducto.MedidaTapa);
118
            this.txtCantidadLitros.Text = Convert.ToString(oProducto.CantidadLitros);
121
            this.txtCantidadLitros.Text = Convert.ToString(oProducto.CantidadLitros);
119
            this.txtDensidad.Text = Convert.ToString(oProducto.Densidad);
122
            this.txtDensidad.Text = Convert.ToString(oProducto.Densidad);
123
124
            // Validamos el habilitar o no cada campo de medidas
125
            if (oProducto.MedidaAlto != 0)
126
                this.cbxMedidaAlto.Checked = true;
127
            if (oProducto.MedidaAncho != 0)
128
                this.cbxMedidaAncho.Checked = true;
129
            if (oProducto.MedidaBase != 0)
130
                this.cbxMedidaBase.Checked = true;
131
            if (oProducto.MedidaTapa != 0)
132
                this.cbxMedidaTapa.Checked = true;
133
            if (oProducto.CantidadLitros != 0)
134
                this.cbxCantidadLitros.Checked = true;
135
            if (oProducto.Densidad != 0)
136
                this.cbxDensidad.Checked = true;
120
        }
137
        }
121
138
122
        private void Guardar()
139
        private void Guardar()
...
...
210
            String mensaje = "";
227
            String mensaje = "";
211
228
212
            //Campos Requeridos
229
            //Campos Requeridos
230
            if (String.IsNullOrEmpty(txtCodigo.Text.Trim()))
231
                mensaje += "- El código no puede estar en blanco." + "\n";
232
213
            if (String.IsNullOrEmpty(txtNombre.Text.Trim()))
233
            if (String.IsNullOrEmpty(txtNombre.Text.Trim()))
214
                mensaje += "- El nombre no puede estar en blanco." + "\n";
234
                mensaje += "- El nombre no puede estar en blanco." + "\n";
215
235
...
...
243
                if (String.IsNullOrEmpty(txtDensidad.Text.Trim()))
263
                if (String.IsNullOrEmpty(txtDensidad.Text.Trim()))
244
                      mensaje += "- La densidad no puede estar en blanco." + "\n";
264
                      mensaje += "- La densidad no puede estar en blanco." + "\n";
245
265
246
           // Mostrar Errores
266
            // Mostrar Errores
247
            if (!String.IsNullOrEmpty(mensaje))
267
            if (!String.IsNullOrEmpty(mensaje))
248
            {
268
            {
249
                //Si hay errores se muestra el mensaje y se devuelve false.
269
                //Si hay errores se muestra el mensaje y se devuelve false.

Updated Tecnoplas/Escritorio/frmProductosAM.Designer.cs Download diff

5657
79
            this.txtCodigo.Location = new System.Drawing.Point(99, 23);
79
            this.txtCodigo.Location = new System.Drawing.Point(99, 23);
80
            this.txtCodigo.Name = "txtCodigo";
80
            this.txtCodigo.Name = "txtCodigo";
81
            this.txtCodigo.Size = new System.Drawing.Size(100, 20);
81
            this.txtCodigo.Size = new System.Drawing.Size(100, 20);
82
            this.txtCodigo.TabIndex = 0;
82
            this.txtCodigo.TabIndex = 1;
83
            // 
83
            // 
84
            // lblCodigo
84
            // lblCodigo
85
            // 
85
            // 
...
...
87
            this.lblCodigo.Location = new System.Drawing.Point(50, 26);
87
            this.lblCodigo.Location = new System.Drawing.Point(50, 26);
88
            this.lblCodigo.Name = "lblCodigo";
88
            this.lblCodigo.Name = "lblCodigo";
89
            this.lblCodigo.Size = new System.Drawing.Size(43, 13);
89
            this.lblCodigo.Size = new System.Drawing.Size(43, 13);
90
            this.lblCodigo.TabIndex = 1;
90
            this.lblCodigo.TabIndex = 0;
91
            this.lblCodigo.Text = "Código:";
91
            this.lblCodigo.Text = "Código:";
92
            // 
92
            // 
93
            // grpDatosProducto
93
            // grpDatosProducto
...
...
108
            this.grpDatosProducto.Location = new System.Drawing.Point(12, 12);
108
            this.grpDatosProducto.Location = new System.Drawing.Point(12, 12);
109
            this.grpDatosProducto.Name = "grpDatosProducto";
109
            this.grpDatosProducto.Name = "grpDatosProducto";
110
            this.grpDatosProducto.Size = new System.Drawing.Size(357, 325);
110
            this.grpDatosProducto.Size = new System.Drawing.Size(357, 325);
111
            this.grpDatosProducto.TabIndex = 4;
111
            this.grpDatosProducto.TabIndex = 0;
112
            this.grpDatosProducto.TabStop = false;
112
            this.grpDatosProducto.TabStop = false;
113
            this.grpDatosProducto.Text = "Datos Producto";
113
            this.grpDatosProducto.Text = "Datos Producto";
114
            // 
114
            // 
...
...
117
            this.txtStock.Location = new System.Drawing.Point(99, 97);
117
            this.txtStock.Location = new System.Drawing.Point(99, 97);
118
            this.txtStock.Name = "txtStock";
118
            this.txtStock.Name = "txtStock";
119
            this.txtStock.Size = new System.Drawing.Size(106, 20);
119
            this.txtStock.Size = new System.Drawing.Size(106, 20);
120
            this.txtStock.TabIndex = 24;
120
            this.txtStock.TabIndex = 4;
121
            // 
121
            // 
122
            // grpMedidas
122
            // grpMedidas
123
            // 
123
            // 
...
...
148
            this.grpMedidas.Location = new System.Drawing.Point(7, 126);
148
            this.grpMedidas.Location = new System.Drawing.Point(7, 126);
149
            this.grpMedidas.Name = "grpMedidas";
149
            this.grpMedidas.Name = "grpMedidas";
150
            this.grpMedidas.Size = new System.Drawing.Size(270, 190);
150
            this.grpMedidas.Size = new System.Drawing.Size(270, 190);
151
            this.grpMedidas.TabIndex = 23;
151
            this.grpMedidas.TabIndex = 0;
152
            this.grpMedidas.TabStop = false;
152
            this.grpMedidas.TabStop = false;
153
            this.grpMedidas.Text = "Medidas";
153
            this.grpMedidas.Text = "Medidas";
154
            // 
154
            // 
...
...
158
            this.lblDensidad.Location = new System.Drawing.Point(31, 162);
158
            this.lblDensidad.Location = new System.Drawing.Point(31, 162);
159
            this.lblDensidad.Name = "lblDensidad";
159
            this.lblDensidad.Name = "lblDensidad";
160
            this.lblDensidad.Size = new System.Drawing.Size(55, 13);
160
            this.lblDensidad.Size = new System.Drawing.Size(55, 13);
161
            this.lblDensidad.TabIndex = 30;
161
            this.lblDensidad.TabIndex = 0;
162
            this.lblDensidad.Text = "Densidad:";
162
            this.lblDensidad.Text = "Densidad:";
163
            // 
163
            // 
164
            // lblMilimetros4
164
            // lblMilimetros4
...
...
167
            this.lblMilimetros4.Location = new System.Drawing.Point(202, 110);
167
            this.lblMilimetros4.Location = new System.Drawing.Point(202, 110);
168
            this.lblMilimetros4.Name = "lblMilimetros4";
168
            this.lblMilimetros4.Name = "lblMilimetros4";
169
            this.lblMilimetros4.Size = new System.Drawing.Size(26, 13);
169
            this.lblMilimetros4.Size = new System.Drawing.Size(26, 13);
170
            this.lblMilimetros4.TabIndex = 35;
170
            this.lblMilimetros4.TabIndex = 0;
171
            this.lblMilimetros4.Text = "mm.";
171
            this.lblMilimetros4.Text = "mm.";
172
            // 
172
            // 
173
            // lblCantidadLitros
173
            // lblCantidadLitros
...
...
176
            this.lblCantidadLitros.Location = new System.Drawing.Point(10, 136);
176
            this.lblCantidadLitros.Location = new System.Drawing.Point(10, 136);
177
            this.lblCantidadLitros.Name = "lblCantidadLitros";
177
            this.lblCantidadLitros.Name = "lblCantidadLitros";
178
            this.lblCantidadLitros.Size = new System.Drawing.Size(76, 13);
178
            this.lblCantidadLitros.Size = new System.Drawing.Size(76, 13);
179
            this.lblCantidadLitros.TabIndex = 29;
179
            this.lblCantidadLitros.TabIndex = 0;
180
            this.lblCantidadLitros.Text = "Cantidad litros:";
180
            this.lblCantidadLitros.Text = "Cantidad litros:";
181
            // 
181
            // 
182
            // txtMedidaTapa
182
            // txtMedidaTapa
...
...
185
            this.txtMedidaTapa.Location = new System.Drawing.Point(92, 107);
185
            this.txtMedidaTapa.Location = new System.Drawing.Point(92, 107);
186
            this.txtMedidaTapa.Name = "txtMedidaTapa";
186
            this.txtMedidaTapa.Name = "txtMedidaTapa";
187
            this.txtMedidaTapa.Size = new System.Drawing.Size(104, 20);
187
            this.txtMedidaTapa.Size = new System.Drawing.Size(104, 20);
188
            this.txtMedidaTapa.TabIndex = 34;
188
            this.txtMedidaTapa.TabIndex = 12;
189
            // 
189
            // 
190
            // lblMedidaTapa
190
            // lblMedidaTapa
191
            // 
191
            // 
...
...
193
            this.lblMedidaTapa.Location = new System.Drawing.Point(17, 110);
193
            this.lblMedidaTapa.Location = new System.Drawing.Point(17, 110);
194
            this.lblMedidaTapa.Name = "lblMedidaTapa";
194
            this.lblMedidaTapa.Name = "lblMedidaTapa";
195
            this.lblMedidaTapa.Size = new System.Drawing.Size(69, 13);
195
            this.lblMedidaTapa.Size = new System.Drawing.Size(69, 13);
196
            this.lblMedidaTapa.TabIndex = 28;
196
            this.lblMedidaTapa.TabIndex = 0;
197
            this.lblMedidaTapa.Text = "Medida tapa:";
197
            this.lblMedidaTapa.Text = "Medida tapa:";
198
            // 
198
            // 
199
            // cbxMedidaTapa
199
            // cbxMedidaTapa
...
...
202
            this.cbxMedidaTapa.Location = new System.Drawing.Point(234, 110);
202
            this.cbxMedidaTapa.Location = new System.Drawing.Point(234, 110);
203
            this.cbxMedidaTapa.Name = "cbxMedidaTapa";
203
            this.cbxMedidaTapa.Name = "cbxMedidaTapa";
204
            this.cbxMedidaTapa.Size = new System.Drawing.Size(15, 14);
204
            this.cbxMedidaTapa.Size = new System.Drawing.Size(15, 14);
205
            this.cbxMedidaTapa.TabIndex = 33;
205
            this.cbxMedidaTapa.TabIndex = 11;
206
            this.cbxMedidaTapa.UseVisualStyleBackColor = true;
206
            this.cbxMedidaTapa.UseVisualStyleBackColor = true;
207
            this.cbxMedidaTapa.CheckedChanged += new System.EventHandler(this.cbxMedidaTapa_CheckedChanged);
207
            this.cbxMedidaTapa.CheckedChanged += new System.EventHandler(this.cbxMedidaTapa_CheckedChanged);
208
            // 
208
            // 
...
...
212
            this.lblMedidaBase.Location = new System.Drawing.Point(15, 83);
212
            this.lblMedidaBase.Location = new System.Drawing.Point(15, 83);
213
            this.lblMedidaBase.Name = "lblMedidaBase";
213
            this.lblMedidaBase.Name = "lblMedidaBase";
214
            this.lblMedidaBase.Size = new System.Drawing.Size(71, 13);
214
            this.lblMedidaBase.Size = new System.Drawing.Size(71, 13);
215
            this.lblMedidaBase.TabIndex = 27;
215
            this.lblMedidaBase.TabIndex = 0;
216
            this.lblMedidaBase.Text = "Medida base:";
216
            this.lblMedidaBase.Text = "Medida base:";
217
            // 
217
            // 
218
            // lblMilimetros5
218
            // lblMilimetros5
...
...
221
            this.lblMilimetros5.Location = new System.Drawing.Point(202, 162);
221
            this.lblMilimetros5.Location = new System.Drawing.Point(202, 162);
222
            this.lblMilimetros5.Name = "lblMilimetros5";
222
            this.lblMilimetros5.Name = "lblMilimetros5";
223
            this.lblMilimetros5.Size = new System.Drawing.Size(26, 13);
223
            this.lblMilimetros5.Size = new System.Drawing.Size(26, 13);
224
            this.lblMilimetros5.TabIndex = 32;
224
            this.lblMilimetros5.TabIndex = 0;
225
            this.lblMilimetros5.Text = "mm.";
225
            this.lblMilimetros5.Text = "mm.";
226
            // 
226
            // 
227
            // lblMedidaAncho
227
            // lblMedidaAncho
...
...
230
            this.lblMedidaAncho.Location = new System.Drawing.Point(10, 57);
230
            this.lblMedidaAncho.Location = new System.Drawing.Point(10, 57);
231
            this.lblMedidaAncho.Name = "lblMedidaAncho";
231
            this.lblMedidaAncho.Name = "lblMedidaAncho";
232
            this.lblMedidaAncho.Size = new System.Drawing.Size(78, 13);
232
            this.lblMedidaAncho.Size = new System.Drawing.Size(78, 13);
233
            this.lblMedidaAncho.TabIndex = 26;
233
            this.lblMedidaAncho.TabIndex = 0;
234
            this.lblMedidaAncho.Text = "Medida ancho:";
234
            this.lblMedidaAncho.Text = "Medida ancho:";
235
            // 
235
            // 
236
            // txtDensidad
236
            // txtDensidad
...
...
239
            this.txtDensidad.Location = new System.Drawing.Point(92, 159);
239
            this.txtDensidad.Location = new System.Drawing.Point(92, 159);
240
            this.txtDensidad.Name = "txtDensidad";
240
            this.txtDensidad.Name = "txtDensidad";
241
            this.txtDensidad.Size = new System.Drawing.Size(104, 20);
241
            this.txtDensidad.Size = new System.Drawing.Size(104, 20);
242
            this.txtDensidad.TabIndex = 31;
242
            this.txtDensidad.TabIndex = 16;
243
            // 
243
            // 
244
            // lblMedidaAlto
244
            // lblMedidaAlto
245
            // 
245
            // 
...
...
247
            this.lblMedidaAlto.Location = new System.Drawing.Point(23, 29);
247
            this.lblMedidaAlto.Location = new System.Drawing.Point(23, 29);
248
            this.lblMedidaAlto.Name = "lblMedidaAlto";
248
            this.lblMedidaAlto.Name = "lblMedidaAlto";
249
            this.lblMedidaAlto.Size = new System.Drawing.Size(65, 13);
249
            this.lblMedidaAlto.Size = new System.Drawing.Size(65, 13);
250
            this.lblMedidaAlto.TabIndex = 25;
250
            this.lblMedidaAlto.TabIndex = 0;
251
            this.lblMedidaAlto.Text = "Medida alto:";
251
            this.lblMedidaAlto.Text = "Medida alto:";
252
            // 
252
            // 
253
            // cbxDensidad
253
            // cbxDensidad
...
...
256
            this.cbxDensidad.Location = new System.Drawing.Point(234, 162);
256
            this.cbxDensidad.Location = new System.Drawing.Point(234, 162);
257
            this.cbxDensidad.Name = "cbxDensidad";
257
            this.cbxDensidad.Name = "cbxDensidad";
258
            this.cbxDensidad.Size = new System.Drawing.Size(15, 14);
258
            this.cbxDensidad.Size = new System.Drawing.Size(15, 14);
259
            this.cbxDensidad.TabIndex = 30;
259
            this.cbxDensidad.TabIndex = 15;
260
            this.cbxDensidad.UseVisualStyleBackColor = true;
260
            this.cbxDensidad.UseVisualStyleBackColor = true;
261
            this.cbxDensidad.CheckedChanged += new System.EventHandler(this.cbxDensidad_CheckedChanged);
261
            this.cbxDensidad.CheckedChanged += new System.EventHandler(this.cbxDensidad_CheckedChanged);
262
            // 
262
            // 
...
...
266
            this.lblLitros.Location = new System.Drawing.Point(202, 136);
266
            this.lblLitros.Location = new System.Drawing.Point(202, 136);
267
            this.lblLitros.Name = "lblLitros";
267
            this.lblLitros.Name = "lblLitros";
268
            this.lblLitros.Size = new System.Drawing.Size(23, 13);
268
            this.lblLitros.Size = new System.Drawing.Size(23, 13);
269
            this.lblLitros.TabIndex = 29;
269
            this.lblLitros.TabIndex = 0;
270
            this.lblLitros.Text = "ltrs.";
270
            this.lblLitros.Text = "ltrs.";
271
            // 
271
            // 
272
            // cbxCantidadLitros
272
            // cbxCantidadLitros
...
...
275
            this.cbxCantidadLitros.Location = new System.Drawing.Point(234, 136);
275
            this.cbxCantidadLitros.Location = new System.Drawing.Point(234, 136);
276
            this.cbxCantidadLitros.Name = "cbxCantidadLitros";
276
            this.cbxCantidadLitros.Name = "cbxCantidadLitros";
277
            this.cbxCantidadLitros.Size = new System.Drawing.Size(15, 14);
277
            this.cbxCantidadLitros.Size = new System.Drawing.Size(15, 14);
278
            this.cbxCantidadLitros.TabIndex = 28;
278
            this.cbxCantidadLitros.TabIndex = 13;
279
            this.cbxCantidadLitros.UseVisualStyleBackColor = true;
279
            this.cbxCantidadLitros.UseVisualStyleBackColor = true;
280
            this.cbxCantidadLitros.CheckedChanged += new System.EventHandler(this.cbxCantidadLitros_CheckedChanged);
280
            this.cbxCantidadLitros.CheckedChanged += new System.EventHandler(this.cbxCantidadLitros_CheckedChanged);
281
            // 
281
            // 
...
...
285
            this.lblMilimetros3.Location = new System.Drawing.Point(202, 83);
285
            this.lblMilimetros3.Location = new System.Drawing.Point(202, 83);
286
            this.lblMilimetros3.Name = "lblMilimetros3";
286
            this.lblMilimetros3.Name = "lblMilimetros3";
287
            this.lblMilimetros3.Size = new System.Drawing.Size(26, 13);
287
            this.lblMilimetros3.Size = new System.Drawing.Size(26, 13);
288
            this.lblMilimetros3.TabIndex = 27;
288
            this.lblMilimetros3.TabIndex = 0;
289
            this.lblMilimetros3.Text = "mm.";
289
            this.lblMilimetros3.Text = "mm.";
290
            // 
290
            // 
291
            // cbxMedidaBase
291
            // cbxMedidaBase
...
...
294
            this.cbxMedidaBase.Location = new System.Drawing.Point(234, 83);
294
            this.cbxMedidaBase.Location = new System.Drawing.Point(234, 83);
295
            this.cbxMedidaBase.Name = "cbxMedidaBase";
295
            this.cbxMedidaBase.Name = "cbxMedidaBase";
296
            this.cbxMedidaBase.Size = new System.Drawing.Size(15, 14);
296
            this.cbxMedidaBase.Size = new System.Drawing.Size(15, 14);
297
            this.cbxMedidaBase.TabIndex = 26;
297
            this.cbxMedidaBase.TabIndex = 9;
298
            this.cbxMedidaBase.UseVisualStyleBackColor = true;
298
            this.cbxMedidaBase.UseVisualStyleBackColor = true;
299
            this.cbxMedidaBase.CheckedChanged += new System.EventHandler(this.cbxMedidaBase_CheckedChanged);
299
            this.cbxMedidaBase.CheckedChanged += new System.EventHandler(this.cbxMedidaBase_CheckedChanged);
300
            // 
300
            // 
...
...
304
            this.lblMilimetros2.Location = new System.Drawing.Point(202, 57);
304
            this.lblMilimetros2.Location = new System.Drawing.Point(202, 57);
305
            this.lblMilimetros2.Name = "lblMilimetros2";
305
            this.lblMilimetros2.Name = "lblMilimetros2";
306
            this.lblMilimetros2.Size = new System.Drawing.Size(26, 13);
306
            this.lblMilimetros2.Size = new System.Drawing.Size(26, 13);
307
            this.lblMilimetros2.TabIndex = 25;
307
            this.lblMilimetros2.TabIndex = 0;
308
            this.lblMilimetros2.Text = "mm.";
308
            this.lblMilimetros2.Text = "mm.";
309
            // 
309
            // 
310
            // cbxMedidaAncho
310
            // cbxMedidaAncho
...
...
313
            this.cbxMedidaAncho.Location = new System.Drawing.Point(234, 57);
313
            this.cbxMedidaAncho.Location = new System.Drawing.Point(234, 57);
314
            this.cbxMedidaAncho.Name = "cbxMedidaAncho";
314
            this.cbxMedidaAncho.Name = "cbxMedidaAncho";
315
            this.cbxMedidaAncho.Size = new System.Drawing.Size(15, 14);
315
            this.cbxMedidaAncho.Size = new System.Drawing.Size(15, 14);
316
            this.cbxMedidaAncho.TabIndex = 24;
316
            this.cbxMedidaAncho.TabIndex = 7;
317
            this.cbxMedidaAncho.UseVisualStyleBackColor = true;
317
            this.cbxMedidaAncho.UseVisualStyleBackColor = true;
318
            this.cbxMedidaAncho.CheckedChanged += new System.EventHandler(this.cbxMedidaAncho_CheckedChanged);
318
            this.cbxMedidaAncho.CheckedChanged += new System.EventHandler(this.cbxMedidaAncho_CheckedChanged);
319
            // 
319
            // 
...
...
323
            this.lblMilimetros1.Location = new System.Drawing.Point(202, 29);
323
            this.lblMilimetros1.Location = new System.Drawing.Point(202, 29);
324
            this.lblMilimetros1.Name = "lblMilimetros1";
324
            this.lblMilimetros1.Name = "lblMilimetros1";
325
            this.lblMilimetros1.Size = new System.Drawing.Size(26, 13);
325
            this.lblMilimetros1.Size = new System.Drawing.Size(26, 13);
326
            this.lblMilimetros1.TabIndex = 23;
326
            this.lblMilimetros1.TabIndex = 0;
327
            this.lblMilimetros1.Text = "mm.";
327
            this.lblMilimetros1.Text = "mm.";
328
            // 
328
            // 
329
            // cbxMedidaAlto
329
            // cbxMedidaAlto
...
...
332
            this.cbxMedidaAlto.Location = new System.Drawing.Point(234, 29);
332
            this.cbxMedidaAlto.Location = new System.Drawing.Point(234, 29);
333
            this.cbxMedidaAlto.Name = "cbxMedidaAlto";
333
            this.cbxMedidaAlto.Name = "cbxMedidaAlto";
334
            this.cbxMedidaAlto.Size = new System.Drawing.Size(15, 14);
334
            this.cbxMedidaAlto.Size = new System.Drawing.Size(15, 14);
335
            this.cbxMedidaAlto.TabIndex = 22;
335
            this.cbxMedidaAlto.TabIndex = 5;
336
            this.cbxMedidaAlto.UseVisualStyleBackColor = true;
336
            this.cbxMedidaAlto.UseVisualStyleBackColor = true;
337
            this.cbxMedidaAlto.CheckedChanged += new System.EventHandler(this.cbxMedidaAlto_CheckedChanged);
337
            this.cbxMedidaAlto.CheckedChanged += new System.EventHandler(this.cbxMedidaAlto_CheckedChanged);
338
            // 
338
            // 
...
...
342
            this.txtMedidaAlto.Location = new System.Drawing.Point(92, 26);
342
            this.txtMedidaAlto.Location = new System.Drawing.Point(92, 26);
343
            this.txtMedidaAlto.Name = "txtMedidaAlto";
343
            this.txtMedidaAlto.Name = "txtMedidaAlto";
344
            this.txtMedidaAlto.Size = new System.Drawing.Size(104, 20);
344
            this.txtMedidaAlto.Size = new System.Drawing.Size(104, 20);
345
            this.txtMedidaAlto.TabIndex = 10;
345
            this.txtMedidaAlto.TabIndex = 6;
346
            // 
346
            // 
347
            // txtCantidadLitros
347
            // txtCantidadLitros
348
            // 
348
            // 
...
...
350
            this.txtCantidadLitros.Location = new System.Drawing.Point(92, 133);
350
            this.txtCantidadLitros.Location = new System.Drawing.Point(92, 133);
351
            this.txtCantidadLitros.Name = "txtCantidadLitros";
351
            this.txtCantidadLitros.Name = "txtCantidadLitros";
352
            this.txtCantidadLitros.Size = new System.Drawing.Size(104, 20);
352
            this.txtCantidadLitros.Size = new System.Drawing.Size(104, 20);
353
            this.txtCantidadLitros.TabIndex = 13;
353
            this.txtCantidadLitros.TabIndex = 14;
354
            // 
354
            // 
355
            // txtMedidaAncho
355
            // txtMedidaAncho
356
            // 
356
            // 
...
...
358
            this.txtMedidaAncho.Location = new System.Drawing.Point(92, 54);
358
            this.txtMedidaAncho.Location = new System.Drawing.Point(92, 54);
359
            this.txtMedidaAncho.Name = "txtMedidaAncho";
359
            this.txtMedidaAncho.Name = "txtMedidaAncho";
360
            this.txtMedidaAncho.Size = new System.Drawing.Size(104, 20);
360
            this.txtMedidaAncho.Size = new System.Drawing.Size(104, 20);
361
            this.txtMedidaAncho.TabIndex = 11;
361
            this.txtMedidaAncho.TabIndex = 8;
362
            // 
362
            // 
363
            // txtMedidaBase
363
            // txtMedidaBase
364
            // 
364
            // 
...
...
366
            this.txtMedidaBase.Location = new System.Drawing.Point(92, 80);
366
            this.txtMedidaBase.Location = new System.Drawing.Point(92, 80);
367
            this.txtMedidaBase.Name = "txtMedidaBase";
367
            this.txtMedidaBase.Name = "txtMedidaBase";
368
            this.txtMedidaBase.Size = new System.Drawing.Size(104, 20);
368
            this.txtMedidaBase.Size = new System.Drawing.Size(104, 20);
369
            this.txtMedidaBase.TabIndex = 12;
369
            this.txtMedidaBase.TabIndex = 10;
370
            // 
370
            // 
371
            // label5
371
            // label5
372
            // 
372
            // 
...
...
374
            this.label5.Location = new System.Drawing.Point(211, 100);
374
            this.label5.Location = new System.Drawing.Point(211, 100);
375
            this.label5.Name = "label5";
375
            this.label5.Name = "label5";
376
            this.label5.Size = new System.Drawing.Size(11, 13);
376
            this.label5.Size = new System.Drawing.Size(11, 13);
377
            this.label5.TabIndex = 20;
377
            this.label5.TabIndex = 0;
378
            this.label5.Text = "*";
378
            this.label5.Text = "*";
379
            // 
379
            // 
380
            // label1
380
            // label1
...
...
383
            this.label1.Location = new System.Drawing.Point(330, 74);
383
            this.label1.Location = new System.Drawing.Point(330, 74);
384
            this.label1.Name = "label1";
384
            this.label1.Name = "label1";
385
            this.label1.Size = new System.Drawing.Size(11, 13);
385
            this.label1.Size = new System.Drawing.Size(11, 13);
386
            this.label1.TabIndex = 16;
386
            this.label1.TabIndex = 0;
387
            this.label1.Text = "*";
387
            this.label1.Text = "*";
388
            // 
388
            // 
389
            // lblRequerido1
389
            // lblRequerido1
...
...
392
            this.lblRequerido1.Location = new System.Drawing.Point(330, 52);
392
            this.lblRequerido1.Location = new System.Drawing.Point(330, 52);
393
            this.lblRequerido1.Name = "lblRequerido1";
393
            this.lblRequerido1.Name = "lblRequerido1";
394
            this.lblRequerido1.Size = new System.Drawing.Size(11, 13);
394
            this.lblRequerido1.Size = new System.Drawing.Size(11, 13);
395
            this.lblRequerido1.TabIndex = 6;
395
            this.lblRequerido1.TabIndex = 0;
396
            this.lblRequerido1.Text = "*";
396
            this.lblRequerido1.Text = "*";
397
            // 
397
            // 
398
            // txtDescripcion
398
            // txtDescripcion
...
...
400
            this.txtDescripcion.Location = new System.Drawing.Point(99, 71);
400
            this.txtDescripcion.Location = new System.Drawing.Point(99, 71);
401
            this.txtDescripcion.Name = "txtDescripcion";
401
            this.txtDescripcion.Name = "txtDescripcion";
402
            this.txtDescripcion.Size = new System.Drawing.Size(225, 20);
402
            this.txtDescripcion.Size = new System.Drawing.Size(225, 20);
403
            this.txtDescripcion.TabIndex = 8;
403
            this.txtDescripcion.TabIndex = 3;
404
            // 
404
            // 
405
            // lblCodigoProducto
405
            // lblCodigoProducto
406
            // 
406
            // 
...
...
415
            this.txtNombre.Location = new System.Drawing.Point(99, 49);
415
            this.txtNombre.Location = new System.Drawing.Point(99, 49);
416
            this.txtNombre.Name = "txtNombre";
416
            this.txtNombre.Name = "txtNombre";
417
            this.txtNombre.Size = new System.Drawing.Size(225, 20);
417
            this.txtNombre.Size = new System.Drawing.Size(225, 20);
418
            this.txtNombre.TabIndex = 6;
418
            this.txtNombre.TabIndex = 2;
419
            // 
419
            // 
420
            // lblStock
420
            // lblStock
421
            // 
421
            // 
...
...
423
            this.lblStock.Location = new System.Drawing.Point(55, 100);
423
            this.lblStock.Location = new System.Drawing.Point(55, 100);
424
            this.lblStock.Name = "lblStock";
424
            this.lblStock.Name = "lblStock";
425
            this.lblStock.Size = new System.Drawing.Size(38, 13);
425
            this.lblStock.Size = new System.Drawing.Size(38, 13);
426
            this.lblStock.TabIndex = 2;
426
            this.lblStock.TabIndex = 0;
427
            this.lblStock.Text = "Stock:";
427
            this.lblStock.Text = "Stock:";
428
            // 
428
            // 
429
            // lblDescripcion
429
            // lblDescripcion
...
...
432
            this.lblDescripcion.Location = new System.Drawing.Point(27, 74);
432
            this.lblDescripcion.Location = new System.Drawing.Point(27, 74);
433
            this.lblDescripcion.Name = "lblDescripcion";
433
            this.lblDescripcion.Name = "lblDescripcion";
434
            this.lblDescripcion.Size = new System.Drawing.Size(66, 13);
434
            this.lblDescripcion.Size = new System.Drawing.Size(66, 13);
435
            this.lblDescripcion.TabIndex = 1;
435
            this.lblDescripcion.TabIndex = 0;
436
            this.lblDescripcion.Text = "Descripción:";
436
            this.lblDescripcion.Text = "Descripción:";
437
            // 
437
            // 
438
            // lblNombre
438
            // lblNombre
...
...
450
            this.lblRequeridoMain.Location = new System.Drawing.Point(9, 351);
450
            this.lblRequeridoMain.Location = new System.Drawing.Point(9, 351);
451
            this.lblRequeridoMain.Name = "lblRequeridoMain";
451
            this.lblRequeridoMain.Name = "lblRequeridoMain";
452
            this.lblRequeridoMain.Size = new System.Drawing.Size(99, 13);
452
            this.lblRequeridoMain.Size = new System.Drawing.Size(99, 13);
453
            this.lblRequeridoMain.TabIndex = 5;
453
            this.lblRequeridoMain.TabIndex = 0;
454
            this.lblRequeridoMain.Text = "* Campo Requerido";
454
            this.lblRequeridoMain.Text = "* Campo Requerido";
455
            // 
455
            // 
456
            // btnGuardar
456
            // btnGuardar
...
...
458
            this.btnGuardar.Location = new System.Drawing.Point(212, 351);
458
            this.btnGuardar.Location = new System.Drawing.Point(212, 351);
459
            this.btnGuardar.Name = "btnGuardar";
459
            this.btnGuardar.Name = "btnGuardar";
460
            this.btnGuardar.Size = new System.Drawing.Size(75, 23);
460
            this.btnGuardar.Size = new System.Drawing.Size(75, 23);
461
            this.btnGuardar.TabIndex = 10;
461
            this.btnGuardar.TabIndex = 17;
462
            this.btnGuardar.Text = "Guardar";
462
            this.btnGuardar.Text = "Guardar";
463
            this.btnGuardar.UseVisualStyleBackColor = true;
463
            this.btnGuardar.UseVisualStyleBackColor = true;
464
            this.btnGuardar.Click += new System.EventHandler(this.btnGuardar_Click);
464
            this.btnGuardar.Click += new System.EventHandler(this.btnGuardar_Click);
...
...
468
            this.btnCancelar.Location = new System.Drawing.Point(294, 351);
468
            this.btnCancelar.Location = new System.Drawing.Point(294, 351);
469
            this.btnCancelar.Name = "btnCancelar";
469
            this.btnCancelar.Name = "btnCancelar";
470
            this.btnCancelar.Size = new System.Drawing.Size(75, 23);
470
            this.btnCancelar.Size = new System.Drawing.Size(75, 23);
471
            this.btnCancelar.TabIndex = 11;
471
            this.btnCancelar.TabIndex = 18;
472
            this.btnCancelar.Text = "Cancelar";
472
            this.btnCancelar.Text = "Cancelar";
473
            this.btnCancelar.UseVisualStyleBackColor = true;
473
            this.btnCancelar.UseVisualStyleBackColor = true;
474
            this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click);
474
            this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click);

Updated Tecnoplas/Escritorio/frmProductosLista.Designer.cs Download diff

5657
70
            this.btnCerrar});
70
            this.btnCerrar});
71
            this.menuPrincipal.Location = new System.Drawing.Point(0, 0);
71
            this.menuPrincipal.Location = new System.Drawing.Point(0, 0);
72
            this.menuPrincipal.Name = "menuPrincipal";
72
            this.menuPrincipal.Name = "menuPrincipal";
73
            this.menuPrincipal.Size = new System.Drawing.Size(877, 36);
73
            this.menuPrincipal.Size = new System.Drawing.Size(877, 38);
74
            this.menuPrincipal.TabIndex = 6;
74
            this.menuPrincipal.TabIndex = 6;
75
            // 
75
            // 
76
            // btnAgregar
76
            // btnAgregar
...
...
78
            this.btnAgregar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgAgregar;
78
            this.btnAgregar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgAgregar;
79
            this.btnAgregar.ImageTransparentColor = System.Drawing.Color.Magenta;
79
            this.btnAgregar.ImageTransparentColor = System.Drawing.Color.Magenta;
80
            this.btnAgregar.Name = "btnAgregar";
80
            this.btnAgregar.Name = "btnAgregar";
81
            this.btnAgregar.Size = new System.Drawing.Size(101, 33);
81
            this.btnAgregar.Size = new System.Drawing.Size(110, 35);
82
            this.btnAgregar.Text = "Agregar productos";
82
            this.btnAgregar.Text = "Agregar productos";
83
            this.btnAgregar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
83
            this.btnAgregar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
84
            this.btnAgregar.Click += new System.EventHandler(this.btnAgregar_Click);
84
            this.btnAgregar.Click += new System.EventHandler(this.btnAgregar_Click);
...
...
86
            // separador1
86
            // separador1
87
            // 
87
            // 
88
            this.separador1.Name = "separador1";
88
            this.separador1.Name = "separador1";
89
            this.separador1.Size = new System.Drawing.Size(6, 36);
89
            this.separador1.Size = new System.Drawing.Size(6, 38);
90
            // 
90
            // 
91
            // btnModificar
91
            // btnModificar
92
            // 
92
            // 
93
            this.btnModificar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgModificar;
93
            this.btnModificar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgModificar;
94
            this.btnModificar.ImageTransparentColor = System.Drawing.Color.Magenta;
94
            this.btnModificar.ImageTransparentColor = System.Drawing.Color.Magenta;
95
            this.btnModificar.Name = "btnModificar";
95
            this.btnModificar.Name = "btnModificar";
96
            this.btnModificar.Size = new System.Drawing.Size(105, 33);
96
            this.btnModificar.Size = new System.Drawing.Size(119, 35);
97
            this.btnModificar.Text = "Modificar productos";
97
            this.btnModificar.Text = "Modificar productos";
98
            this.btnModificar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
98
            this.btnModificar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
99
            this.btnModificar.Click += new System.EventHandler(this.btnModificar_Click);
99
            this.btnModificar.Click += new System.EventHandler(this.btnModificar_Click);
...
...
101
            // separador2
101
            // separador2
102
            // 
102
            // 
103
            this.separador2.Name = "separador2";
103
            this.separador2.Name = "separador2";
104
            this.separador2.Size = new System.Drawing.Size(6, 36);
104
            this.separador2.Size = new System.Drawing.Size(6, 38);
105
            // 
105
            // 
106
            // btnEliminar
106
            // btnEliminar
107
            // 
107
            // 
108
            this.btnEliminar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgEliminar;
108
            this.btnEliminar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgEliminar;
109
            this.btnEliminar.ImageTransparentColor = System.Drawing.Color.Magenta;
109
            this.btnEliminar.ImageTransparentColor = System.Drawing.Color.Magenta;
110
            this.btnEliminar.Name = "btnEliminar";
110
            this.btnEliminar.Name = "btnEliminar";
111
            this.btnEliminar.Size = new System.Drawing.Size(98, 33);
111
            this.btnEliminar.Size = new System.Drawing.Size(111, 35);
112
            this.btnEliminar.Text = "Eliminar productos";
112
            this.btnEliminar.Text = "Eliminar productos";
113
            this.btnEliminar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
113
            this.btnEliminar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
114
            this.btnEliminar.Click += new System.EventHandler(this.btnEliminar_Click);
114
            this.btnEliminar.Click += new System.EventHandler(this.btnEliminar_Click);
...
...
116
            // separador3
116
            // separador3
117
            // 
117
            // 
118
            this.separador3.Name = "separador3";
118
            this.separador3.Name = "separador3";
119
            this.separador3.Size = new System.Drawing.Size(6, 36);
119
            this.separador3.Size = new System.Drawing.Size(6, 38);
120
            // 
120
            // 
121
            // btnCerrar
121
            // btnCerrar
122
            // 
122
            // 
123
            this.btnCerrar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgCerrar;
123
            this.btnCerrar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgCerrar;
124
            this.btnCerrar.ImageTransparentColor = System.Drawing.Color.Magenta;
124
            this.btnCerrar.ImageTransparentColor = System.Drawing.Color.Magenta;
125
            this.btnCerrar.Name = "btnCerrar";
125
            this.btnCerrar.Name = "btnCerrar";
126
            this.btnCerrar.Size = new System.Drawing.Size(42, 33);
126
            this.btnCerrar.Size = new System.Drawing.Size(43, 35);
127
            this.btnCerrar.Text = "Cerrar";
127
            this.btnCerrar.Text = "Cerrar";
128
            this.btnCerrar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
128
            this.btnCerrar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
129
            this.btnCerrar.Click += new System.EventHandler(this.btnCerrar_Click);
129
            this.btnCerrar.Click += new System.EventHandler(this.btnCerrar_Click);
...
...
134
            this.lblFiltrar.Location = new System.Drawing.Point(12, 48);
134
            this.lblFiltrar.Location = new System.Drawing.Point(12, 48);
135
            this.lblFiltrar.Name = "lblFiltrar";
135
            this.lblFiltrar.Name = "lblFiltrar";
136
            this.lblFiltrar.Size = new System.Drawing.Size(53, 13);
136
            this.lblFiltrar.Size = new System.Drawing.Size(53, 13);
137
            this.lblFiltrar.TabIndex = 7;
137
            this.lblFiltrar.TabIndex = 0;
138
            this.lblFiltrar.Text = "Filtrar por:";
138
            this.lblFiltrar.Text = "Filtrar por:";
139
            // 
139
            // 
140
            // txtBuscar
140
            // txtBuscar
...
...
142
            this.txtBuscar.Location = new System.Drawing.Point(253, 45);
142
            this.txtBuscar.Location = new System.Drawing.Point(253, 45);
143
            this.txtBuscar.Name = "txtBuscar";
143
            this.txtBuscar.Name = "txtBuscar";
144
            this.txtBuscar.Size = new System.Drawing.Size(230, 20);
144
            this.txtBuscar.Size = new System.Drawing.Size(230, 20);
145
            this.txtBuscar.TabIndex = 9;
145
            this.txtBuscar.TabIndex = 2;
146
            this.txtBuscar.TextChanged += new System.EventHandler(this.txtBuscar_TextChanged);
146
            this.txtBuscar.TextChanged += new System.EventHandler(this.txtBuscar_TextChanged);
147
            // 
147
            // 
148
            // cbxFiltrar
148
            // cbxFiltrar
...
...
151
            this.cbxFiltrar.Location = new System.Drawing.Point(71, 44);
151
            this.cbxFiltrar.Location = new System.Drawing.Point(71, 44);
152
            this.cbxFiltrar.Name = "cbxFiltrar";
152
            this.cbxFiltrar.Name = "cbxFiltrar";
153
            this.cbxFiltrar.Size = new System.Drawing.Size(176, 21);
153
            this.cbxFiltrar.Size = new System.Drawing.Size(176, 21);
154
            this.cbxFiltrar.TabIndex = 8;
154
            this.cbxFiltrar.TabIndex = 1;
155
            this.cbxFiltrar.SelectedIndexChanged += new System.EventHandler(this.cbxFiltrar_SelectedIndexChanged);
155
            this.cbxFiltrar.SelectedIndexChanged += new System.EventHandler(this.cbxFiltrar_SelectedIndexChanged);
156
            // 
156
            // 
157
            // dgvProductos
157
            // dgvProductos
...
...
206
            this.dgvProductos.RowTemplate.Height = 18;
206
            this.dgvProductos.RowTemplate.Height = 18;
207
            this.dgvProductos.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
207
            this.dgvProductos.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
208
            this.dgvProductos.Size = new System.Drawing.Size(853, 332);
208
            this.dgvProductos.Size = new System.Drawing.Size(853, 332);
209
            this.dgvProductos.TabIndex = 10;
209
            this.dgvProductos.TabIndex = 3;
210
            // 
210
            // 
211
            // colCodigo
211
            // colCodigo
212
            // 
212
            // 

Updated Tecnoplas/Escritorio/frmProveedoresAM.Designer.cs Download diff

5657
31
            this.lblCodigo = new System.Windows.Forms.Label();
31
            this.lblCodigo = new System.Windows.Forms.Label();
32
            this.txtCodigo = new System.Windows.Forms.TextBox();
32
            this.txtCodigo = new System.Windows.Forms.TextBox();
33
            this.grpDatosProveedor = new System.Windows.Forms.GroupBox();
33
            this.grpDatosProveedor = new System.Windows.Forms.GroupBox();
34
            this.txtCUIT = new System.Windows.Forms.MaskedTextBox();
34
            this.lblRequerido5 = new System.Windows.Forms.Label();
35
            this.lblRequerido5 = new System.Windows.Forms.Label();
35
            this.txtLocalidad = new System.Windows.Forms.TextBox();
36
            this.txtLocalidad = new System.Windows.Forms.TextBox();
36
            this.lblRequerido4 = new System.Windows.Forms.Label();
37
            this.lblRequerido4 = new System.Windows.Forms.Label();
...
...
38
            this.lblRequerido3 = new System.Windows.Forms.Label();
39
            this.lblRequerido3 = new System.Windows.Forms.Label();
39
            this.txtDomicilio = new System.Windows.Forms.TextBox();
40
            this.txtDomicilio = new System.Windows.Forms.TextBox();
40
            this.lblRequerido2 = new System.Windows.Forms.Label();
41
            this.lblRequerido2 = new System.Windows.Forms.Label();
41
            this.txtCUIT = new System.Windows.Forms.TextBox();
42
            this.txtRazonSocial = new System.Windows.Forms.TextBox();
42
            this.txtRazonSocial = new System.Windows.Forms.TextBox();
43
            this.lblRequerido1 = new System.Windows.Forms.Label();
43
            this.lblRequerido1 = new System.Windows.Forms.Label();
44
            this.lblLocalidad = new System.Windows.Forms.Label();
44
            this.lblLocalidad = new System.Windows.Forms.Label();
...
...
70
            // 
70
            // 
71
            // grpDatosProveedor
71
            // grpDatosProveedor
72
            // 
72
            // 
73
            this.grpDatosProveedor.Controls.Add(this.txtCUIT);
73
            this.grpDatosProveedor.Controls.Add(this.lblRequerido5);
74
            this.grpDatosProveedor.Controls.Add(this.lblRequerido5);
74
            this.grpDatosProveedor.Controls.Add(this.txtLocalidad);
75
            this.grpDatosProveedor.Controls.Add(this.txtLocalidad);
75
            this.grpDatosProveedor.Controls.Add(this.lblRequerido4);
76
            this.grpDatosProveedor.Controls.Add(this.lblRequerido4);
...
...
79
            this.grpDatosProveedor.Controls.Add(this.txtCodigo);
80
            this.grpDatosProveedor.Controls.Add(this.txtCodigo);
80
            this.grpDatosProveedor.Controls.Add(this.lblCodigo);
81
            this.grpDatosProveedor.Controls.Add(this.lblCodigo);
81
            this.grpDatosProveedor.Controls.Add(this.lblRequerido2);
82
            this.grpDatosProveedor.Controls.Add(this.lblRequerido2);
82
            this.grpDatosProveedor.Controls.Add(this.txtCUIT);
83
            this.grpDatosProveedor.Controls.Add(this.txtRazonSocial);
83
            this.grpDatosProveedor.Controls.Add(this.txtRazonSocial);
84
            this.grpDatosProveedor.Controls.Add(this.lblRequerido1);
84
            this.grpDatosProveedor.Controls.Add(this.lblRequerido1);
85
            this.grpDatosProveedor.Controls.Add(this.lblLocalidad);
85
            this.grpDatosProveedor.Controls.Add(this.lblLocalidad);
...
...
94
            this.grpDatosProveedor.TabStop = false;
94
            this.grpDatosProveedor.TabStop = false;
95
            this.grpDatosProveedor.Text = "Datos Proveedor";
95
            this.grpDatosProveedor.Text = "Datos Proveedor";
96
            // 
96
            // 
97
            // txtCUIT
98
            // 
99
            this.txtCUIT.Location = new System.Drawing.Point(118, 76);
100
            this.txtCUIT.Mask = "00-00000000-0";
101
            this.txtCUIT.Name = "txtCUIT";
102
            this.txtCUIT.Size = new System.Drawing.Size(181, 20);
103
            this.txtCUIT.TabIndex = 3;
104
            // 
97
            // lblRequerido5
105
            // lblRequerido5
98
            // 
106
            // 
99
            this.lblRequerido5.AutoSize = true;
107
            this.lblRequerido5.AutoSize = true;
100
            this.lblRequerido5.Location = new System.Drawing.Point(305, 157);
108
            this.lblRequerido5.Location = new System.Drawing.Point(305, 157);
101
            this.lblRequerido5.Name = "lblRequerido5";
109
            this.lblRequerido5.Name = "lblRequerido5";
102
            this.lblRequerido5.Size = new System.Drawing.Size(11, 13);
110
            this.lblRequerido5.Size = new System.Drawing.Size(11, 13);
103
            this.lblRequerido5.TabIndex = 13;
111
            this.lblRequerido5.TabIndex = 0;
104
            this.lblRequerido5.Text = "*";
112
            this.lblRequerido5.Text = "*";
105
            // 
113
            // 
106
            // txtLocalidad
114
            // txtLocalidad
...
...
108
            this.txtLocalidad.Location = new System.Drawing.Point(118, 153);
116
            this.txtLocalidad.Location = new System.Drawing.Point(118, 153);
109
            this.txtLocalidad.Name = "txtLocalidad";
117
            this.txtLocalidad.Name = "txtLocalidad";
110
            this.txtLocalidad.Size = new System.Drawing.Size(181, 20);
118
            this.txtLocalidad.Size = new System.Drawing.Size(181, 20);
111
            this.txtLocalidad.TabIndex = 7;
119
            this.txtLocalidad.TabIndex = 6;
112
            // 
120
            // 
113
            // lblRequerido4
121
            // lblRequerido4
114
            // 
122
            // 
...
...
116
            this.lblRequerido4.Location = new System.Drawing.Point(305, 130);
124
            this.lblRequerido4.Location = new System.Drawing.Point(305, 130);
117
            this.lblRequerido4.Name = "lblRequerido4";
125
            this.lblRequerido4.Name = "lblRequerido4";
118
            this.lblRequerido4.Size = new System.Drawing.Size(11, 13);
126
            this.lblRequerido4.Size = new System.Drawing.Size(11, 13);
119
            this.lblRequerido4.TabIndex = 14;
127
            this.lblRequerido4.TabIndex = 0;
120
            this.lblRequerido4.Text = "*";
128
            this.lblRequerido4.Text = "*";
121
            // 
129
            // 
122
            // txtTelefono
130
            // txtTelefono
...
...
124
            this.txtTelefono.Location = new System.Drawing.Point(118, 127);
132
            this.txtTelefono.Location = new System.Drawing.Point(118, 127);
125
            this.txtTelefono.Name = "txtTelefono";
133
            this.txtTelefono.Name = "txtTelefono";
126
            this.txtTelefono.Size = new System.Drawing.Size(181, 20);
134
            this.txtTelefono.Size = new System.Drawing.Size(181, 20);
127
            this.txtTelefono.TabIndex = 6;
135
            this.txtTelefono.TabIndex = 5;
128
            // 
136
            // 
129
            // lblRequerido3
137
            // lblRequerido3
130
            // 
138
            // 
...
...
132
            this.lblRequerido3.Location = new System.Drawing.Point(305, 103);
140
            this.lblRequerido3.Location = new System.Drawing.Point(305, 103);
133
            this.lblRequerido3.Name = "lblRequerido3";
141
            this.lblRequerido3.Name = "lblRequerido3";
134
            this.lblRequerido3.Size = new System.Drawing.Size(11, 13);
142
            this.lblRequerido3.Size = new System.Drawing.Size(11, 13);
135
            this.lblRequerido3.TabIndex = 15;
143
            this.lblRequerido3.TabIndex = 0;
136
            this.lblRequerido3.Text = "*";
144
            this.lblRequerido3.Text = "*";
137
            // 
145
            // 
138
            // txtDomicilio
146
            // txtDomicilio
...
...
140
            this.txtDomicilio.Location = new System.Drawing.Point(118, 101);
148
            this.txtDomicilio.Location = new System.Drawing.Point(118, 101);
141
            this.txtDomicilio.Name = "txtDomicilio";
149
            this.txtDomicilio.Name = "txtDomicilio";
142
            this.txtDomicilio.Size = new System.Drawing.Size(181, 20);
150
            this.txtDomicilio.Size = new System.Drawing.Size(181, 20);
143
            this.txtDomicilio.TabIndex = 5;
151
            this.txtDomicilio.TabIndex = 4;
144
            // 
152
            // 
145
            // lblRequerido2
153
            // lblRequerido2
146
            // 
154
            // 
...
...
148
            this.lblRequerido2.Location = new System.Drawing.Point(305, 78);
156
            this.lblRequerido2.Location = new System.Drawing.Point(305, 78);
149
            this.lblRequerido2.Name = "lblRequerido2";
157
            this.lblRequerido2.Name = "lblRequerido2";
150
            this.lblRequerido2.Size = new System.Drawing.Size(11, 13);
158
            this.lblRequerido2.Size = new System.Drawing.Size(11, 13);
151
            this.lblRequerido2.TabIndex = 10;
159
            this.lblRequerido2.TabIndex = 0;
152
            this.lblRequerido2.Text = "*";
160
            this.lblRequerido2.Text = "*";
153
            // 
161
            // 
154
            // txtCUIT
155
            // 
156
            this.txtCUIT.Location = new System.Drawing.Point(118, 75);
157
            this.txtCUIT.Name = "txtCUIT";
158
            this.txtCUIT.Size = new System.Drawing.Size(181, 20);
159
            this.txtCUIT.TabIndex = 4;
160
            // 
161
            // txtRazonSocial
162
            // txtRazonSocial
162
            // 
163
            // 
163
            this.txtRazonSocial.Location = new System.Drawing.Point(118, 49);
164
            this.txtRazonSocial.Location = new System.Drawing.Point(118, 49);
164
            this.txtRazonSocial.Name = "txtRazonSocial";
165
            this.txtRazonSocial.Name = "txtRazonSocial";
165
            this.txtRazonSocial.Size = new System.Drawing.Size(181, 20);
166
            this.txtRazonSocial.Size = new System.Drawing.Size(181, 20);
166
            this.txtRazonSocial.TabIndex = 3;
167
            this.txtRazonSocial.TabIndex = 2;
167
            // 
168
            // 
168
            // lblRequerido1
169
            // lblRequerido1
169
            // 
170
            // 
...
...
171
            this.lblRequerido1.Location = new System.Drawing.Point(305, 52);
172
            this.lblRequerido1.Location = new System.Drawing.Point(305, 52);
172
            this.lblRequerido1.Name = "lblRequerido1";
173
            this.lblRequerido1.Name = "lblRequerido1";
173
            this.lblRequerido1.Size = new System.Drawing.Size(11, 13);
174
            this.lblRequerido1.Size = new System.Drawing.Size(11, 13);
174
            this.lblRequerido1.TabIndex = 12;
175
            this.lblRequerido1.TabIndex = 0;
175
            this.lblRequerido1.Text = "*";
176
            this.lblRequerido1.Text = "*";
176
            // 
177
            // 
177
            // lblLocalidad
178
            // lblLocalidad
...
...
224
            this.btnCancelar.Location = new System.Drawing.Point(268, 213);
225
            this.btnCancelar.Location = new System.Drawing.Point(268, 213);
225
            this.btnCancelar.Name = "btnCancelar";
226
            this.btnCancelar.Name = "btnCancelar";
226
            this.btnCancelar.Size = new System.Drawing.Size(75, 23);
227
            this.btnCancelar.Size = new System.Drawing.Size(75, 23);
227
            this.btnCancelar.TabIndex = 9;
228
            this.btnCancelar.TabIndex = 8;
228
            this.btnCancelar.Text = "Cancelar";
229
            this.btnCancelar.Text = "Cancelar";
229
            this.btnCancelar.UseVisualStyleBackColor = true;
230
            this.btnCancelar.UseVisualStyleBackColor = true;
230
            this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click);
231
            this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click);
...
...
234
            this.btnGuardar.Location = new System.Drawing.Point(187, 213);
235
            this.btnGuardar.Location = new System.Drawing.Point(187, 213);
235
            this.btnGuardar.Name = "btnGuardar";
236
            this.btnGuardar.Name = "btnGuardar";
236
            this.btnGuardar.Size = new System.Drawing.Size(75, 23);
237
            this.btnGuardar.Size = new System.Drawing.Size(75, 23);
237
            this.btnGuardar.TabIndex = 8;
238
            this.btnGuardar.TabIndex = 7;
238
            this.btnGuardar.Text = "Guardar";
239
            this.btnGuardar.Text = "Guardar";
239
            this.btnGuardar.UseVisualStyleBackColor = true;
240
            this.btnGuardar.UseVisualStyleBackColor = true;
240
            this.btnGuardar.Click += new System.EventHandler(this.btnGuardar_Click);
241
            this.btnGuardar.Click += new System.EventHandler(this.btnGuardar_Click);
...
...
245
            this.lblRequeridoMain.Location = new System.Drawing.Point(9, 218);
246
            this.lblRequeridoMain.Location = new System.Drawing.Point(9, 218);
246
            this.lblRequeridoMain.Name = "lblRequeridoMain";
247
            this.lblRequeridoMain.Name = "lblRequeridoMain";
247
            this.lblRequeridoMain.Size = new System.Drawing.Size(99, 13);
248
            this.lblRequeridoMain.Size = new System.Drawing.Size(99, 13);
248
            this.lblRequeridoMain.TabIndex = 11;
249
            this.lblRequeridoMain.TabIndex = 0;
249
            this.lblRequeridoMain.Text = "* Campo Requerido";
250
            this.lblRequeridoMain.Text = "* Campo Requerido";
250
            // 
251
            // 
251
            // frmProveedoresAM
252
            // frmProveedoresAM
...
...
281
        private System.Windows.Forms.TextBox txtLocalidad;
282
        private System.Windows.Forms.TextBox txtLocalidad;
282
        private System.Windows.Forms.TextBox txtTelefono;
283
        private System.Windows.Forms.TextBox txtTelefono;
283
        private System.Windows.Forms.TextBox txtDomicilio;
284
        private System.Windows.Forms.TextBox txtDomicilio;
284
        private System.Windows.Forms.TextBox txtCUIT;
285
        private System.Windows.Forms.Button btnCancelar;
285
        private System.Windows.Forms.Button btnCancelar;
286
        private System.Windows.Forms.Button btnGuardar;
286
        private System.Windows.Forms.Button btnGuardar;
287
        private System.Windows.Forms.Label lblRequerido5;
287
        private System.Windows.Forms.Label lblRequerido5;
...
...
290
        private System.Windows.Forms.Label lblRequerido2;
290
        private System.Windows.Forms.Label lblRequerido2;
291
        private System.Windows.Forms.Label lblRequerido1;
291
        private System.Windows.Forms.Label lblRequerido1;
292
        private System.Windows.Forms.Label lblRequeridoMain;
292
        private System.Windows.Forms.Label lblRequeridoMain;
293
        private System.Windows.Forms.MaskedTextBox txtCUIT;
293
    }
294
    }
294
}
295
}

Updated Tecnoplas/Escritorio/frmProveedoresLista.Designer.cs Download diff

5657
28
        /// </summary>
28
        /// </summary>
29
        private void InitializeComponent()
29
        private void InitializeComponent()
30
        {
30
        {
31
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
31
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
32
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
32
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
33
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
33
            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
34
            this.menuPrincipal = new System.Windows.Forms.ToolStrip();
34
            this.menuPrincipal = new System.Windows.Forms.ToolStrip();
35
            this.btnAgregar = new System.Windows.Forms.ToolStripButton();
35
            this.btnAgregar = new System.Windows.Forms.ToolStripButton();
36
            this.separador1 = new System.Windows.Forms.ToolStripSeparator();
36
            this.separador1 = new System.Windows.Forms.ToolStripSeparator();
...
...
66
            this.btnCerrar});
66
            this.btnCerrar});
67
            this.menuPrincipal.Location = new System.Drawing.Point(0, 0);
67
            this.menuPrincipal.Location = new System.Drawing.Point(0, 0);
68
            this.menuPrincipal.Name = "menuPrincipal";
68
            this.menuPrincipal.Name = "menuPrincipal";
69
            this.menuPrincipal.Size = new System.Drawing.Size(827, 36);
69
            this.menuPrincipal.Size = new System.Drawing.Size(827, 38);
70
            this.menuPrincipal.TabIndex = 6;
70
            this.menuPrincipal.TabIndex = 6;
71
            // 
71
            // 
72
            // btnAgregar
72
            // btnAgregar
...
...
74
            this.btnAgregar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgAgregar;
74
            this.btnAgregar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgAgregar;
75
            this.btnAgregar.ImageTransparentColor = System.Drawing.Color.Magenta;
75
            this.btnAgregar.ImageTransparentColor = System.Drawing.Color.Magenta;
76
            this.btnAgregar.Name = "btnAgregar";
76
            this.btnAgregar.Name = "btnAgregar";
77
            this.btnAgregar.Size = new System.Drawing.Size(114, 33);
77
            this.btnAgregar.Size = new System.Drawing.Size(121, 35);
78
            this.btnAgregar.Text = "Agregar proveedores";
78
            this.btnAgregar.Text = "Agregar proveedores";
79
            this.btnAgregar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
79
            this.btnAgregar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
80
            this.btnAgregar.Click += new System.EventHandler(this.btnAgregar_Click);
80
            this.btnAgregar.Click += new System.EventHandler(this.btnAgregar_Click);
...
...
82
            // separador1
82
            // separador1
83
            // 
83
            // 
84
            this.separador1.Name = "separador1";
84
            this.separador1.Name = "separador1";
85
            this.separador1.Size = new System.Drawing.Size(6, 36);
85
            this.separador1.Size = new System.Drawing.Size(6, 38);
86
            // 
86
            // 
87
            // btnModificar
87
            // btnModificar
88
            // 
88
            // 
89
            this.btnModificar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgModificar;
89
            this.btnModificar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgModificar;
90
            this.btnModificar.ImageTransparentColor = System.Drawing.Color.Magenta;
90
            this.btnModificar.ImageTransparentColor = System.Drawing.Color.Magenta;
91
            this.btnModificar.Name = "btnModificar";
91
            this.btnModificar.Name = "btnModificar";
92
            this.btnModificar.Size = new System.Drawing.Size(118, 33);
92
            this.btnModificar.Size = new System.Drawing.Size(130, 35);
93
            this.btnModificar.Text = "Modificar proveedores";
93
            this.btnModificar.Text = "Modificar proveedores";
94
            this.btnModificar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
94
            this.btnModificar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
95
            this.btnModificar.Click += new System.EventHandler(this.btnModificar_Click);
95
            this.btnModificar.Click += new System.EventHandler(this.btnModificar_Click);
...
...
97
            // separador2
97
            // separador2
98
            // 
98
            // 
99
            this.separador2.Name = "separador2";
99
            this.separador2.Name = "separador2";
100
            this.separador2.Size = new System.Drawing.Size(6, 36);
100
            this.separador2.Size = new System.Drawing.Size(6, 38);
101
            // 
101
            // 
102
            // btnEliminar
102
            // btnEliminar
103
            // 
103
            // 
104
            this.btnEliminar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgEliminar;
104
            this.btnEliminar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgEliminar;
105
            this.btnEliminar.ImageTransparentColor = System.Drawing.Color.Magenta;
105
            this.btnEliminar.ImageTransparentColor = System.Drawing.Color.Magenta;
106
            this.btnEliminar.Name = "btnEliminar";
106
            this.btnEliminar.Name = "btnEliminar";
107
            this.btnEliminar.Size = new System.Drawing.Size(111, 33);
107
            this.btnEliminar.Size = new System.Drawing.Size(122, 35);
108
            this.btnEliminar.Text = "Eliminar proveedores";
108
            this.btnEliminar.Text = "Eliminar proveedores";
109
            this.btnEliminar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
109
            this.btnEliminar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
110
            this.btnEliminar.Click += new System.EventHandler(this.btnEliminar_Click);
110
            this.btnEliminar.Click += new System.EventHandler(this.btnEliminar_Click);
...
...
112
            // separador3
112
            // separador3
113
            // 
113
            // 
114
            this.separador3.Name = "separador3";
114
            this.separador3.Name = "separador3";
115
            this.separador3.Size = new System.Drawing.Size(6, 36);
115
            this.separador3.Size = new System.Drawing.Size(6, 38);
116
            // 
116
            // 
117
            // btnCerrar
117
            // btnCerrar
118
            // 
118
            // 
119
            this.btnCerrar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgCerrar;
119
            this.btnCerrar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgCerrar;
120
            this.btnCerrar.ImageTransparentColor = System.Drawing.Color.Magenta;
120
            this.btnCerrar.ImageTransparentColor = System.Drawing.Color.Magenta;
121
            this.btnCerrar.Name = "btnCerrar";
121
            this.btnCerrar.Name = "btnCerrar";
122
            this.btnCerrar.Size = new System.Drawing.Size(42, 33);
122
            this.btnCerrar.Size = new System.Drawing.Size(43, 35);
123
            this.btnCerrar.Text = "Cerrar";
123
            this.btnCerrar.Text = "Cerrar";
124
            this.btnCerrar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
124
            this.btnCerrar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
125
            this.btnCerrar.Click += new System.EventHandler(this.btnCerrar_Click);
125
            this.btnCerrar.Click += new System.EventHandler(this.btnCerrar_Click);
...
...
130
            this.lblFiltrar.Location = new System.Drawing.Point(12, 48);
130
            this.lblFiltrar.Location = new System.Drawing.Point(12, 48);
131
            this.lblFiltrar.Name = "lblFiltrar";
131
            this.lblFiltrar.Name = "lblFiltrar";
132
            this.lblFiltrar.Size = new System.Drawing.Size(53, 13);
132
            this.lblFiltrar.Size = new System.Drawing.Size(53, 13);
133
            this.lblFiltrar.TabIndex = 7;
133
            this.lblFiltrar.TabIndex = 0;
134
            this.lblFiltrar.Text = "Filtrar por:";
134
            this.lblFiltrar.Text = "Filtrar por:";
135
            // 
135
            // 
136
            // txtBuscar
136
            // txtBuscar
...
...
138
            this.txtBuscar.Location = new System.Drawing.Point(253, 45);
138
            this.txtBuscar.Location = new System.Drawing.Point(253, 45);
139
            this.txtBuscar.Name = "txtBuscar";
139
            this.txtBuscar.Name = "txtBuscar";
140
            this.txtBuscar.Size = new System.Drawing.Size(230, 20);
140
            this.txtBuscar.Size = new System.Drawing.Size(230, 20);
141
            this.txtBuscar.TabIndex = 9;
141
            this.txtBuscar.TabIndex = 2;
142
            this.txtBuscar.TextChanged += new System.EventHandler(this.txtBuscar_TextChanged);
142
            this.txtBuscar.TextChanged += new System.EventHandler(this.txtBuscar_TextChanged);
143
            // 
143
            // 
144
            // cbxFiltrar
144
            // cbxFiltrar
...
...
147
            this.cbxFiltrar.Location = new System.Drawing.Point(71, 44);
147
            this.cbxFiltrar.Location = new System.Drawing.Point(71, 44);
148
            this.cbxFiltrar.Name = "cbxFiltrar";
148
            this.cbxFiltrar.Name = "cbxFiltrar";
149
            this.cbxFiltrar.Size = new System.Drawing.Size(176, 21);
149
            this.cbxFiltrar.Size = new System.Drawing.Size(176, 21);
150
            this.cbxFiltrar.TabIndex = 8;
150
            this.cbxFiltrar.TabIndex = 1;
151
            this.cbxFiltrar.SelectedIndexChanged += new System.EventHandler(this.cbxFiltrar_SelectedIndexChanged);
151
            this.cbxFiltrar.SelectedIndexChanged += new System.EventHandler(this.cbxFiltrar_SelectedIndexChanged);
152
            // 
152
            // 
153
            // dgvProveedores
153
            // dgvProveedores
...
...
159
            this.dgvProveedores.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top |
System.Windows.Forms.AnchorStyles.Bottom)
159
            this.dgvProveedores.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top |
System.Windows.Forms.AnchorStyles.Bottom)
160
                        | System.Windows.Forms.AnchorStyles.Left)
160
                        | System.Windows.Forms.AnchorStyles.Left)
161
                        | System.Windows.Forms.AnchorStyles.Right)));
161
                        | System.Windows.Forms.AnchorStyles.Right)));
162
            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
162
            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
163
            dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
163
            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
164
            dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
164
            dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
165
            dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
165
            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
166
            dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
166
            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
167
            dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
167
            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
168
            dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
168
            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
169
            this.dgvProveedores.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
169
            this.dgvProveedores.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
170
            this.dgvProveedores.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
170
            this.dgvProveedores.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
171
            this.dgvProveedores.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
171
            this.dgvProveedores.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
172
            this.colCodigo,
172
            this.colCodigo,
...
...
175
            this.colTelefono,
175
            this.colTelefono,
176
            this.colDomicilio,
176
            this.colDomicilio,
177
            this.colLocalidad});
177
            this.colLocalidad});
178
            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
178
            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
179
            dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
179
            dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
180
            dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
180
            dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
181
            dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;
181
            dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
182
            dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
182
            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
183
            dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
183
            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
184
            dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
184
            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
185
            this.dgvProveedores.DefaultCellStyle = dataGridViewCellStyle5;
185
            this.dgvProveedores.DefaultCellStyle = dataGridViewCellStyle2;
186
            this.dgvProveedores.Location = new System.Drawing.Point(12, 71);
186
            this.dgvProveedores.Location = new System.Drawing.Point(12, 71);
187
            this.dgvProveedores.MultiSelect = false;
187
            this.dgvProveedores.MultiSelect = false;
188
            this.dgvProveedores.Name = "dgvProveedores";
188
            this.dgvProveedores.Name = "dgvProveedores";
189
            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
189
            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
190
            dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
190
            dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
191
            dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
191
            dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
192
            dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
192
            dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
193
            dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
193
            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
194
            dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
194
            dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
195
            dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
195
            dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
196
            this.dgvProveedores.RowHeadersDefaultCellStyle = dataGridViewCellStyle6;
196
            this.dgvProveedores.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
197
            this.dgvProveedores.RowHeadersVisible = false;
197
            this.dgvProveedores.RowHeadersVisible = false;
198
            this.dgvProveedores.RowTemplate.Height = 18;
198
            this.dgvProveedores.RowTemplate.Height = 18;
199
            this.dgvProveedores.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
199
            this.dgvProveedores.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
200
            this.dgvProveedores.Size = new System.Drawing.Size(803, 332);
200
            this.dgvProveedores.Size = new System.Drawing.Size(803, 332);
201
            this.dgvProveedores.TabIndex = 10;
201
            this.dgvProveedores.TabIndex = 3;
202
            // 
202
            // 
203
            // colCodigo
203
            // colCodigo
204
            // 
204
            // 

Updated Tecnoplas/Escritorio/frmVentasAC.cs Download diff

5657
64
64
65
        private void btnAgregarProducto_Click(object sender, EventArgs e)
65
        private void btnAgregarProducto_Click(object sender, EventArgs e)
66
        {
66
        {
67
67
            // Llamar a la lista de productos
68
            new frmProductosLista().Show();
68
        }
69
        }
69
70
70
        private void btnQuitarProducto_Click(object sender, EventArgs e)
71
        private void btnQuitarProducto_Click(object sender, EventArgs e)
71
        {
72
        {
73
            // Quitar producto de la linea de venta
74
            DataGridViewRow filaMarcada = this.dgvLineasVenta.SelectedRows[0];
75
            DataGridViewCellCollection celdas = filaMarcada.Cells;
72
76
77
            List<String> listaCeldas = new List<String>();
78
            foreach (DataGridViewCell celda in celdas)
79
            {
80
                if(celda.Value != null)
81
                    listaCeldas.Add(celda.Value.ToString());
82
            }
83
84
            int tamanio = listaCeldas.Count;
73
        }
85
        }
74
86
75
        private void txtCodigoCliente_TextChanged(object sender, EventArgs e)
87
        private void txtCodigoCliente_TextChanged(object sender, EventArgs e)
...
...
86
            }
98
            }
87
            catch (Exception ex)
99
            catch (Exception ex)
88
            {
100
            {
89
                // No quiero que me muestre nada sino encuentra el codigo, simplemente que el fondo
101
                // No quiero que me muestre nada sino encuentra el codigo, simplemente que 
90
                // del TextBox se ponga rojo.
102
                // el fondo del TextBox se ponga rojo.
91
                this.txtCodigoCliente.BackColor = Color.WhiteSmoke;
103
                this.txtCodigoCliente.BackColor = Color.RoyalBlue;
92
            }
104
            }
93
        }
105
        }
94
106
95
        private void btnBuscarCliente_Click(object sender, EventArgs e)
107
        private void txtFechaFactura_Enter(object sender, EventArgs e)
96
        {
108
        {
97
109
            // Solo si no hay una fecha completamente ingresada, la pisamos con la fecha actual
110
            if(!this.txtFechaFactura.MaskCompleted)
111
                this.txtFechaFactura.Text = DateTime.Today.ToString();
98
        }
112
        }
99
113
100
        private void dgvLineasVenta_CellClick(object sender, DataGridViewCellEventArgs e)
101
        {
102
            // Si la columna de la celda seleccionada es la 1 (asumo es producto)...
103
            if (dgvLineasVenta.SelectedCells[0].ColumnIndex == 1)
104
            {
105
                new frmProductosLista().Show();
106
            }
107
        }
108
109
        #endregion
114
        #endregion
110
115
111
116
...
...
138
            // El resto se autocompleta por la propiedad TextChanged del TxtCodigo.
143
            // El resto se autocompleta por la propiedad TextChanged del TxtCodigo.
139
144
140
            // Datos de las lineas de venta.
145
            // Datos de las lineas de venta.
146
            foreach (Entidades.LineaVenta oLineaVenta in oVenta.LineasVentas)
147
            {
148
                dgvLineasVenta.Rows.Add(oLineaVenta.Codigo, oLineaVenta.Producto.Nombre, oLineaVenta.Cantidad);
149
            }
141
        }
150
        }
142
151
143
        private void NuevaLineaVenta()
152
        private void NuevaLineaVenta()
...
...
166
        }
175
        }
167
176
168
        #endregion
177
        #endregion
178
169
    }
179
    }
170
}
180
}

Updated Tecnoplas/Escritorio/frmVentasAC.Designer.cs Download diff

5657
42
            this.lblFormaPago = new System.Windows.Forms.Label();
42
            this.lblFormaPago = new System.Windows.Forms.Label();
43
            this.grpDatosCliente = new System.Windows.Forms.GroupBox();
43
            this.grpDatosCliente = new System.Windows.Forms.GroupBox();
44
            this.txtIVA = new System.Windows.Forms.TextBox();
44
            this.txtIVA = new System.Windows.Forms.TextBox();
45
            this.btnBuscarCliente = new System.Windows.Forms.Button();
46
            this.lblRazonSocial = new System.Windows.Forms.Label();
45
            this.lblRazonSocial = new System.Windows.Forms.Label();
47
            this.lblIVA = new System.Windows.Forms.Label();
46
            this.lblIVA = new System.Windows.Forms.Label();
48
            this.txtCodigoCliente = new System.Windows.Forms.TextBox();
47
            this.txtCodigoCliente = new System.Windows.Forms.TextBox();
...
...
52
            this.txtCUIT = new System.Windows.Forms.TextBox();
51
            this.txtCUIT = new System.Windows.Forms.TextBox();
53
            this.grpLineasVenta = new System.Windows.Forms.GroupBox();
52
            this.grpLineasVenta = new System.Windows.Forms.GroupBox();
54
            this.dgvLineasVenta = new System.Windows.Forms.DataGridView();
53
            this.dgvLineasVenta = new System.Windows.Forms.DataGridView();
54
            this.colCodigo = new System.Windows.Forms.DataGridViewTextBoxColumn();
55
            this.colNombre = new System.Windows.Forms.DataGridViewTextBoxColumn();
56
            this.colDescripcion = new System.Windows.Forms.DataGridViewTextBoxColumn();
57
            this.PrecioUnitario = new System.Windows.Forms.DataGridViewTextBoxColumn();
55
            this.btnQuitarProducto = new System.Windows.Forms.Button();
58
            this.btnQuitarProducto = new System.Windows.Forms.Button();
56
            this.btnAgregarProducto = new System.Windows.Forms.Button();
59
            this.btnAgregarProducto = new System.Windows.Forms.Button();
57
            this.lblRequeridoMain = new System.Windows.Forms.Label();
60
            this.lblRequeridoMain = new System.Windows.Forms.Label();
58
            this.btnAceptar = new System.Windows.Forms.Button();
61
            this.btnAceptar = new System.Windows.Forms.Button();
59
            this.btnCancelar = new System.Windows.Forms.Button();
62
            this.btnCancelar = new System.Windows.Forms.Button();
60
            this.colCodigo = new System.Windows.Forms.DataGridViewTextBoxColumn();
61
            this.colNombre = new System.Windows.Forms.DataGridViewTextBoxColumn();
62
            this.colDescripcion = new System.Windows.Forms.DataGridViewTextBoxColumn();
63
            this.PrecioUnitario = new System.Windows.Forms.DataGridViewTextBoxColumn();
64
            this.grpDatosFactura.SuspendLayout();
63
            this.grpDatosFactura.SuspendLayout();
65
            this.grpDatosCliente.SuspendLayout();
64
            this.grpDatosCliente.SuspendLayout();
66
            this.grpLineasVenta.SuspendLayout();
65
            this.grpLineasVenta.SuspendLayout();
...
...
89
            this.lblNumeroFactura.Location = new System.Drawing.Point(23, 57);
88
            this.lblNumeroFactura.Location = new System.Drawing.Point(23, 57);
90
            this.lblNumeroFactura.Name = "lblNumeroFactura";
89
            this.lblNumeroFactura.Name = "lblNumeroFactura";
91
            this.lblNumeroFactura.Size = new System.Drawing.Size(101, 13);
90
            this.lblNumeroFactura.Size = new System.Drawing.Size(101, 13);
92
            this.lblNumeroFactura.TabIndex = 2;
91
            this.lblNumeroFactura.TabIndex = 0;
93
            this.lblNumeroFactura.Text = "Número de Factura:";
92
            this.lblNumeroFactura.Text = "Número de Factura:";
94
            // 
93
            // 
95
            // txtNumeroFactura
94
            // txtNumeroFactura
...
...
97
            this.txtNumeroFactura.Location = new System.Drawing.Point(130, 54);
96
            this.txtNumeroFactura.Location = new System.Drawing.Point(130, 54);
98
            this.txtNumeroFactura.Name = "txtNumeroFactura";
97
            this.txtNumeroFactura.Name = "txtNumeroFactura";
99
            this.txtNumeroFactura.Size = new System.Drawing.Size(86, 20);
98
            this.txtNumeroFactura.Size = new System.Drawing.Size(86, 20);
100
            this.txtNumeroFactura.TabIndex = 3;
99
            this.txtNumeroFactura.TabIndex = 2;
101
            // 
100
            // 
102
            // grpDatosFactura
101
            // grpDatosFactura
103
            // 
102
            // 
...
...
112
            this.grpDatosFactura.Location = new System.Drawing.Point(12, 12);
111
            this.grpDatosFactura.Location = new System.Drawing.Point(12, 12);
113
            this.grpDatosFactura.Name = "grpDatosFactura";
112
            this.grpDatosFactura.Name = "grpDatosFactura";
114
            this.grpDatosFactura.Size = new System.Drawing.Size(325, 139);
113
            this.grpDatosFactura.Size = new System.Drawing.Size(325, 139);
115
            this.grpDatosFactura.TabIndex = 4;
114
            this.grpDatosFactura.TabIndex = 0;
116
            this.grpDatosFactura.TabStop = false;
115
            this.grpDatosFactura.TabStop = false;
117
            this.grpDatosFactura.Text = "Datos de la Factura";
116
            this.grpDatosFactura.Text = "Datos de la Factura";
118
            // 
117
            // 
...
...
124
            this.txtFechaFactura.Mask = "00/00/0000";
123
            this.txtFechaFactura.Mask = "00/00/0000";
125
            this.txtFechaFactura.Name = "txtFechaFactura";
124
            this.txtFechaFactura.Name = "txtFechaFactura";
126
            this.txtFechaFactura.Size = new System.Drawing.Size(86, 20);
125
            this.txtFechaFactura.Size = new System.Drawing.Size(86, 20);
127
            this.txtFechaFactura.TabIndex = 7;
126
            this.txtFechaFactura.TabIndex = 3;
128
            this.txtFechaFactura.ValidatingType = typeof(System.DateTime);
127
            this.txtFechaFactura.ValidatingType = typeof(System.DateTime);
128
            this.txtFechaFactura.Enter += new System.EventHandler(this.txtFechaFactura_Enter);
129
            // 
129
            // 
130
            // lblFechaFactura
130
            // lblFechaFactura
131
            // 
131
            // 
...
...
133
            this.lblFechaFactura.Location = new System.Drawing.Point(30, 83);
133
            this.lblFechaFactura.Location = new System.Drawing.Point(30, 83);
134
            this.lblFechaFactura.Name = "lblFechaFactura";
134
            this.lblFechaFactura.Name = "lblFechaFactura";
135
            this.lblFechaFactura.Size = new System.Drawing.Size(94, 13);
135
            this.lblFechaFactura.Size = new System.Drawing.Size(94, 13);
136
            this.lblFechaFactura.TabIndex = 6;
136
            this.lblFechaFactura.TabIndex = 0;
137
            this.lblFechaFactura.Text = "Fecha de Factura:";
137
            this.lblFechaFactura.Text = "Fecha de Factura:";
138
            // 
138
            // 
139
            // cbxFormaPago
139
            // cbxFormaPago
...
...
142
            this.cbxFormaPago.Location = new System.Drawing.Point(130, 106);
142
            this.cbxFormaPago.Location = new System.Drawing.Point(130, 106);
143
            this.cbxFormaPago.Name = "cbxFormaPago";
143
            this.cbxFormaPago.Name = "cbxFormaPago";
144
            this.cbxFormaPago.Size = new System.Drawing.Size(181, 21);
144
            this.cbxFormaPago.Size = new System.Drawing.Size(181, 21);
145
            this.cbxFormaPago.TabIndex = 5;
145
            this.cbxFormaPago.TabIndex = 4;
146
            // 
146
            // 
147
            // lblFormaPago
147
            // lblFormaPago
148
            // 
148
            // 
...
...
150
            this.lblFormaPago.Location = new System.Drawing.Point(42, 110);
150
            this.lblFormaPago.Location = new System.Drawing.Point(42, 110);
151
            this.lblFormaPago.Name = "lblFormaPago";
151
            this.lblFormaPago.Name = "lblFormaPago";
152
            this.lblFormaPago.Size = new System.Drawing.Size(82, 13);
152
            this.lblFormaPago.Size = new System.Drawing.Size(82, 13);
153
            this.lblFormaPago.TabIndex = 4;
153
            this.lblFormaPago.TabIndex = 0;
154
            this.lblFormaPago.Text = "Forma de Pago:";
154
            this.lblFormaPago.Text = "Forma de Pago:";
155
            // 
155
            // 
156
            // grpDatosCliente
156
            // grpDatosCliente
157
            // 
157
            // 
158
            this.grpDatosCliente.Controls.Add(this.txtIVA);
158
            this.grpDatosCliente.Controls.Add(this.txtIVA);
159
            this.grpDatosCliente.Controls.Add(this.btnBuscarCliente);
160
            this.grpDatosCliente.Controls.Add(this.lblRazonSocial);
159
            this.grpDatosCliente.Controls.Add(this.lblRazonSocial);
161
            this.grpDatosCliente.Controls.Add(this.lblIVA);
160
            this.grpDatosCliente.Controls.Add(this.lblIVA);
162
            this.grpDatosCliente.Controls.Add(this.txtCodigoCliente);
161
            this.grpDatosCliente.Controls.Add(this.txtCodigoCliente);
...
...
167
            this.grpDatosCliente.Location = new System.Drawing.Point(343, 12);
166
            this.grpDatosCliente.Location = new System.Drawing.Point(343, 12);
168
            this.grpDatosCliente.Name = "grpDatosCliente";
167
            this.grpDatosCliente.Name = "grpDatosCliente";
169
            this.grpDatosCliente.Size = new System.Drawing.Size(325, 139);
168
            this.grpDatosCliente.Size = new System.Drawing.Size(325, 139);
170
            this.grpDatosCliente.TabIndex = 14;
169
            this.grpDatosCliente.TabIndex = 0;
171
            this.grpDatosCliente.TabStop = false;
170
            this.grpDatosCliente.TabStop = false;
172
            this.grpDatosCliente.Text = "Datos del Cliente";
171
            this.grpDatosCliente.Text = "Datos del Cliente";
173
            // 
172
            // 
174
            // txtIVA
173
            // txtIVA
175
            // 
174
            // 
175
            this.txtIVA.Enabled = false;
176
            this.txtIVA.Location = new System.Drawing.Point(123, 106);
176
            this.txtIVA.Location = new System.Drawing.Point(123, 106);
177
            this.txtIVA.Name = "txtIVA";
177
            this.txtIVA.Name = "txtIVA";
178
            this.txtIVA.Size = new System.Drawing.Size(181, 20);
178
            this.txtIVA.Size = new System.Drawing.Size(181, 20);
179
            this.txtIVA.TabIndex = 16;
179
            this.txtIVA.TabIndex = 9;
180
            // 
180
            // 
181
            // btnBuscarCliente
182
            // 
183
            this.btnBuscarCliente.Location = new System.Drawing.Point(214, 26);
184
            this.btnBuscarCliente.Name = "btnBuscarCliente";
185
            this.btnBuscarCliente.Size = new System.Drawing.Size(90, 23);
186
            this.btnBuscarCliente.TabIndex = 13;
187
            this.btnBuscarCliente.Text = "Buscar...";
188
            this.btnBuscarCliente.UseVisualStyleBackColor = true;
189
            this.btnBuscarCliente.Click += new System.EventHandler(this.btnBuscarCliente_Click);
190
            // 
191
            // lblRazonSocial
181
            // lblRazonSocial
192
            // 
182
            // 
193
            this.lblRazonSocial.AutoSize = true;
183
            this.lblRazonSocial.AutoSize = true;
...
...
211
            this.txtCodigoCliente.Location = new System.Drawing.Point(123, 28);
201
            this.txtCodigoCliente.Location = new System.Drawing.Point(123, 28);
212
            this.txtCodigoCliente.Name = "txtCodigoCliente";
202
            this.txtCodigoCliente.Name = "txtCodigoCliente";
213
            this.txtCodigoCliente.Size = new System.Drawing.Size(86, 20);
203
            this.txtCodigoCliente.Size = new System.Drawing.Size(86, 20);
214
            this.txtCodigoCliente.TabIndex = 12;
204
            this.txtCodigoCliente.TabIndex = 5;
215
            this.txtCodigoCliente.TextChanged += new System.EventHandler(this.txtCodigoCliente_TextChanged);
205
            this.txtCodigoCliente.TextChanged += new System.EventHandler(this.txtCodigoCliente_TextChanged);
216
            // 
206
            // 
217
            // lblCodigoCliente
207
            // lblCodigoCliente
...
...
220
            this.lblCodigoCliente.Location = new System.Drawing.Point(73, 30);
210
            this.lblCodigoCliente.Location = new System.Drawing.Point(73, 30);
221
            this.lblCodigoCliente.Name = "lblCodigoCliente";
211
            this.lblCodigoCliente.Name = "lblCodigoCliente";
222
            this.lblCodigoCliente.Size = new System.Drawing.Size(43, 13);
212
            this.lblCodigoCliente.Size = new System.Drawing.Size(43, 13);
223
            this.lblCodigoCliente.TabIndex = 11;
213
            this.lblCodigoCliente.TabIndex = 0;
224
            this.lblCodigoCliente.Text = "Código:";
214
            this.lblCodigoCliente.Text = "Código:";
225
            // 
215
            // 
226
            // txtRazonSocial
216
            // txtRazonSocial
227
            // 
217
            // 
218
            this.txtRazonSocial.Enabled = false;
228
            this.txtRazonSocial.Location = new System.Drawing.Point(123, 54);
219
            this.txtRazonSocial.Location = new System.Drawing.Point(123, 54);
229
            this.txtRazonSocial.Name = "txtRazonSocial";
220
            this.txtRazonSocial.Name = "txtRazonSocial";
230
            this.txtRazonSocial.Size = new System.Drawing.Size(181, 20);
221
            this.txtRazonSocial.Size = new System.Drawing.Size(181, 20);
231
            this.txtRazonSocial.TabIndex = 3;
222
            this.txtRazonSocial.TabIndex = 7;
232
            // 
223
            // 
233
            // lblCUIT
224
            // lblCUIT
234
            // 
225
            // 
...
...
241
            // 
232
            // 
242
            // txtCUIT
233
            // txtCUIT
243
            // 
234
            // 
235
            this.txtCUIT.Enabled = false;
244
            this.txtCUIT.Location = new System.Drawing.Point(123, 80);
236
            this.txtCUIT.Location = new System.Drawing.Point(123, 80);
245
            this.txtCUIT.Name = "txtCUIT";
237
            this.txtCUIT.Name = "txtCUIT";
246
            this.txtCUIT.Size = new System.Drawing.Size(181, 20);
238
            this.txtCUIT.Size = new System.Drawing.Size(181, 20);
247
            this.txtCUIT.TabIndex = 6;
239
            this.txtCUIT.TabIndex = 8;
248
            // 
240
            // 
249
            // grpLineasVenta
241
            // grpLineasVenta
250
            // 
242
            // 
...
...
254
            this.grpLineasVenta.Location = new System.Drawing.Point(12, 157);
246
            this.grpLineasVenta.Location = new System.Drawing.Point(12, 157);
255
            this.grpLineasVenta.Name = "grpLineasVenta";
247
            this.grpLineasVenta.Name = "grpLineasVenta";
256
            this.grpLineasVenta.Size = new System.Drawing.Size(656, 359);
248
            this.grpLineasVenta.Size = new System.Drawing.Size(656, 359);
257
            this.grpLineasVenta.TabIndex = 15;
249
            this.grpLineasVenta.TabIndex = 0;
258
            this.grpLineasVenta.TabStop = false;
250
            this.grpLineasVenta.TabStop = false;
259
            this.grpLineasVenta.Text = "Lineas de Venta";
251
            this.grpLineasVenta.Text = "Lineas de Venta";
260
            // 
252
            // 
...
...
301
            this.dgvLineasVenta.RowTemplate.Height = 18;
293
            this.dgvLineasVenta.RowTemplate.Height = 18;
302
            this.dgvLineasVenta.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
294
            this.dgvLineasVenta.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
303
            this.dgvLineasVenta.Size = new System.Drawing.Size(644, 305);
295
            this.dgvLineasVenta.Size = new System.Drawing.Size(644, 305);
304
            this.dgvLineasVenta.TabIndex = 11;
296
            this.dgvLineasVenta.TabIndex = 10;
305
            this.dgvLineasVenta.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvLineasVenta_CellClick);
306
            // 
297
            // 
298
            // colCodigo
299
            // 
300
            this.colCodigo.DataPropertyName = "Codigo";
301
            this.colCodigo.HeaderText = "Código";
302
            this.colCodigo.Name = "colCodigo";
303
            this.colCodigo.ReadOnly = true;
304
            this.colCodigo.Width = 50;
305
            // 
306
            // colNombre
307
            // 
308
            this.colNombre.DataPropertyName = "Producto";
309
            this.colNombre.HeaderText = "Producto";
310
            this.colNombre.Name = "colNombre";
311
            this.colNombre.ReadOnly = true;
312
            this.colNombre.Width = 200;
313
            // 
314
            // colDescripcion
315
            // 
316
            this.colDescripcion.DataPropertyName = "Cantidad";
317
            this.colDescripcion.HeaderText = "Cantidad";
318
            this.colDescripcion.Name = "colDescripcion";
319
            this.colDescripcion.Width = 75;
320
            // 
321
            // PrecioUnitario
322
            // 
323
            this.PrecioUnitario.HeaderText = "Precio Unitario";
324
            this.PrecioUnitario.Name = "PrecioUnitario";
325
            this.PrecioUnitario.ReadOnly = true;
326
            // 
307
            // btnQuitarProducto
327
            // btnQuitarProducto
308
            // 
328
            // 
309
            this.btnQuitarProducto.Location = new System.Drawing.Point(336, 330);
329
            this.btnQuitarProducto.Location = new System.Drawing.Point(336, 330);
310
            this.btnQuitarProducto.Name = "btnQuitarProducto";
330
            this.btnQuitarProducto.Name = "btnQuitarProducto";
311
            this.btnQuitarProducto.Size = new System.Drawing.Size(314, 23);
331
            this.btnQuitarProducto.Size = new System.Drawing.Size(314, 23);
312
            this.btnQuitarProducto.TabIndex = 2;
332
            this.btnQuitarProducto.TabIndex = 12;
313
            this.btnQuitarProducto.Text = "Quitar Producto";
333
            this.btnQuitarProducto.Text = "Quitar Producto";
314
            this.btnQuitarProducto.UseVisualStyleBackColor = true;
334
            this.btnQuitarProducto.UseVisualStyleBackColor = true;
315
            this.btnQuitarProducto.Click += new System.EventHandler(this.btnQuitarProducto_Click);
335
            this.btnQuitarProducto.Click += new System.EventHandler(this.btnQuitarProducto_Click);
...
...
319
            this.btnAgregarProducto.Location = new System.Drawing.Point(6, 330);
339
            this.btnAgregarProducto.Location = new System.Drawing.Point(6, 330);
320
            this.btnAgregarProducto.Name = "btnAgregarProducto";
340
            this.btnAgregarProducto.Name = "btnAgregarProducto";
321
            this.btnAgregarProducto.Size = new System.Drawing.Size(315, 23);
341
            this.btnAgregarProducto.Size = new System.Drawing.Size(315, 23);
322
            this.btnAgregarProducto.TabIndex = 1;
342
            this.btnAgregarProducto.TabIndex = 11;
323
            this.btnAgregarProducto.Text = "Agregar Producto";
343
            this.btnAgregarProducto.Text = "Agregar Producto";
324
            this.btnAgregarProducto.UseVisualStyleBackColor = true;
344
            this.btnAgregarProducto.UseVisualStyleBackColor = true;
325
            this.btnAgregarProducto.Click += new System.EventHandler(this.btnAgregarProducto_Click);
345
            this.btnAgregarProducto.Click += new System.EventHandler(this.btnAgregarProducto_Click);
...
...
330
            this.lblRequeridoMain.Location = new System.Drawing.Point(15, 534);
350
            this.lblRequeridoMain.Location = new System.Drawing.Point(15, 534);
331
            this.lblRequeridoMain.Name = "lblRequeridoMain";
351
            this.lblRequeridoMain.Name = "lblRequeridoMain";
332
            this.lblRequeridoMain.Size = new System.Drawing.Size(99, 13);
352
            this.lblRequeridoMain.Size = new System.Drawing.Size(99, 13);
333
            this.lblRequeridoMain.TabIndex = 16;
353
            this.lblRequeridoMain.TabIndex = 0;
334
            this.lblRequeridoMain.Text = "* Campo Requerido";
354
            this.lblRequeridoMain.Text = "* Campo Requerido";
335
            // 
355
            // 
336
            // btnAceptar
356
            // btnAceptar
...
...
338
            this.btnAceptar.Location = new System.Drawing.Point(506, 524);
358
            this.btnAceptar.Location = new System.Drawing.Point(506, 524);
339
            this.btnAceptar.Name = "btnAceptar";
359
            this.btnAceptar.Name = "btnAceptar";
340
            this.btnAceptar.Size = new System.Drawing.Size(75, 23);
360
            this.btnAceptar.Size = new System.Drawing.Size(75, 23);
341
            this.btnAceptar.TabIndex = 17;
361
            this.btnAceptar.TabIndex = 13;
342
            this.btnAceptar.Text = "Aceptar";
362
            this.btnAceptar.Text = "Aceptar";
343
            this.btnAceptar.UseVisualStyleBackColor = true;
363
            this.btnAceptar.UseVisualStyleBackColor = true;
344
            this.btnAceptar.Click += new System.EventHandler(this.btnAceptar_Click);
364
            this.btnAceptar.Click += new System.EventHandler(this.btnAceptar_Click);
...
...
349
            this.btnCancelar.Location = new System.Drawing.Point(587, 524);
369
            this.btnCancelar.Location = new System.Drawing.Point(587, 524);
350
            this.btnCancelar.Name = "btnCancelar";
370
            this.btnCancelar.Name = "btnCancelar";
351
            this.btnCancelar.Size = new System.Drawing.Size(75, 23);
371
            this.btnCancelar.Size = new System.Drawing.Size(75, 23);
352
            this.btnCancelar.TabIndex = 18;
372
            this.btnCancelar.TabIndex = 14;
353
            this.btnCancelar.Text = "Cancelar";
373
            this.btnCancelar.Text = "Cancelar";
354
            this.btnCancelar.UseVisualStyleBackColor = true;
374
            this.btnCancelar.UseVisualStyleBackColor = true;
355
            this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click);
375
            this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click);
356
            // 
376
            // 
357
            // colCodigo
358
            // 
359
            this.colCodigo.DataPropertyName = "Codigo";
360
            this.colCodigo.HeaderText = "Código";
361
            this.colCodigo.Name = "colCodigo";
362
            this.colCodigo.ReadOnly = true;
363
            this.colCodigo.Width = 50;
364
            // 
365
            // colNombre
366
            // 
367
            this.colNombre.DataPropertyName = "Producto";
368
            this.colNombre.HeaderText = "Producto";
369
            this.colNombre.Name = "colNombre";
370
            this.colNombre.ReadOnly = true;
371
            this.colNombre.Width = 200;
372
            // 
373
            // colDescripcion
374
            // 
375
            this.colDescripcion.DataPropertyName = "Cantidad";
376
            this.colDescripcion.HeaderText = "Cantidad";
377
            this.colDescripcion.Name = "colDescripcion";
378
            this.colDescripcion.Width = 75;
379
            // 
380
            // PrecioUnitario
381
            // 
382
            this.PrecioUnitario.HeaderText = "Precio Unitario";
383
            this.PrecioUnitario.Name = "PrecioUnitario";
384
            this.PrecioUnitario.ReadOnly = true;
385
            // 
386
            // frmVentasAC
377
            // frmVentasAC
387
            // 
378
            // 
388
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
379
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
...
...
431
        private System.Windows.Forms.Button btnQuitarProducto;
422
        private System.Windows.Forms.Button btnQuitarProducto;
432
        private System.Windows.Forms.MaskedTextBox txtFechaFactura;
423
        private System.Windows.Forms.MaskedTextBox txtFechaFactura;
433
        private System.Windows.Forms.TextBox txtCUIT;
424
        private System.Windows.Forms.TextBox txtCUIT;
434
        private System.Windows.Forms.Button btnBuscarCliente;
435
        private System.Windows.Forms.Label lblRequeridoMain;
425
        private System.Windows.Forms.Label lblRequeridoMain;
436
        private System.Windows.Forms.Button btnAceptar;
426
        private System.Windows.Forms.Button btnAceptar;
437
        private System.Windows.Forms.Button btnCancelar;
427
        private System.Windows.Forms.Button btnCancelar;

Updated Tecnoplas/Escritorio/frmVentasLista.Designer.cs Download diff

5657
35
            this.txtBuscar = new System.Windows.Forms.TextBox();
35
            this.txtBuscar = new System.Windows.Forms.TextBox();
36
            this.cbxFiltrar = new System.Windows.Forms.ComboBox();
36
            this.cbxFiltrar = new System.Windows.Forms.ComboBox();
37
            this.dgvVentas = new System.Windows.Forms.DataGridView();
37
            this.dgvVentas = new System.Windows.Forms.DataGridView();
38
            this.colCodigo = new System.Windows.Forms.DataGridViewTextBoxColumn();
39
            this.colNroFactura = new System.Windows.Forms.DataGridViewTextBoxColumn();
40
            this.colFechaFactura = new System.Windows.Forms.DataGridViewTextBoxColumn();
41
            this.colCliente = new System.Windows.Forms.DataGridViewTextBoxColumn();
42
            this.colFormaPago = new System.Windows.Forms.DataGridViewTextBoxColumn();
38
            this.menuPrincipal = new System.Windows.Forms.ToolStrip();
43
            this.menuPrincipal = new System.Windows.Forms.ToolStrip();
39
            this.btnAgregar = new System.Windows.Forms.ToolStripButton();
44
            this.btnAgregar = new System.Windows.Forms.ToolStripButton();
40
            this.separador1 = new System.Windows.Forms.ToolStripSeparator();
45
            this.separador1 = new System.Windows.Forms.ToolStripSeparator();
41
            this.btnConsultar = new System.Windows.Forms.ToolStripButton();
46
            this.btnConsultar = new System.Windows.Forms.ToolStripButton();
42
            this.separador2 = new System.Windows.Forms.ToolStripSeparator();
47
            this.separador2 = new System.Windows.Forms.ToolStripSeparator();
43
            this.btnCerrar = new System.Windows.Forms.ToolStripButton();
48
            this.btnCerrar = new System.Windows.Forms.ToolStripButton();
44
            this.colCodigo = new System.Windows.Forms.DataGridViewTextBoxColumn();
45
            this.colNroFactura = new System.Windows.Forms.DataGridViewTextBoxColumn();
46
            this.colFechaFactura = new System.Windows.Forms.DataGridViewTextBoxColumn();
47
            this.colCliente = new System.Windows.Forms.DataGridViewTextBoxColumn();
48
            this.colFormaPago = new System.Windows.Forms.DataGridViewTextBoxColumn();
49
            ((System.ComponentModel.ISupportInitialize)(this.dgvVentas)).BeginInit();
49
            ((System.ComponentModel.ISupportInitialize)(this.dgvVentas)).BeginInit();
50
            this.menuPrincipal.SuspendLayout();
50
            this.menuPrincipal.SuspendLayout();
51
            this.SuspendLayout();
51
            this.SuspendLayout();
...
...
56
            this.lblFiltrar.Location = new System.Drawing.Point(12, 48);
56
            this.lblFiltrar.Location = new System.Drawing.Point(12, 48);
57
            this.lblFiltrar.Name = "lblFiltrar";
57
            this.lblFiltrar.Name = "lblFiltrar";
58
            this.lblFiltrar.Size = new System.Drawing.Size(53, 13);
58
            this.lblFiltrar.Size = new System.Drawing.Size(53, 13);
59
            this.lblFiltrar.TabIndex = 12;
59
            this.lblFiltrar.TabIndex = 0;
60
            this.lblFiltrar.Text = "Filtrar por:";
60
            this.lblFiltrar.Text = "Filtrar por:";
61
            // 
61
            // 
62
            // txtBuscar
62
            // txtBuscar
...
...
64
            this.txtBuscar.Location = new System.Drawing.Point(253, 45);
64
            this.txtBuscar.Location = new System.Drawing.Point(253, 45);
65
            this.txtBuscar.Name = "txtBuscar";
65
            this.txtBuscar.Name = "txtBuscar";
66
            this.txtBuscar.Size = new System.Drawing.Size(230, 20);
66
            this.txtBuscar.Size = new System.Drawing.Size(230, 20);
67
            this.txtBuscar.TabIndex = 14;
67
            this.txtBuscar.TabIndex = 2;
68
            this.txtBuscar.Click += new System.EventHandler(this.txtBuscar_TextChanged);
68
            this.txtBuscar.Click += new System.EventHandler(this.txtBuscar_TextChanged);
69
            // 
69
            // 
70
            // cbxFiltrar
70
            // cbxFiltrar
...
...
73
            this.cbxFiltrar.Location = new System.Drawing.Point(71, 44);
73
            this.cbxFiltrar.Location = new System.Drawing.Point(71, 44);
74
            this.cbxFiltrar.Name = "cbxFiltrar";
74
            this.cbxFiltrar.Name = "cbxFiltrar";
75
            this.cbxFiltrar.Size = new System.Drawing.Size(176, 21);
75
            this.cbxFiltrar.Size = new System.Drawing.Size(176, 21);
76
            this.cbxFiltrar.TabIndex = 13;
76
            this.cbxFiltrar.TabIndex = 1;
77
            this.cbxFiltrar.Click += new System.EventHandler(this.cbxFiltrar_SelectedIndexChanged);
77
            this.cbxFiltrar.Click += new System.EventHandler(this.cbxFiltrar_SelectedIndexChanged);
78
            // 
78
            // 
79
            // dgvVentas
79
            // dgvVentas
...
...
123
            this.dgvVentas.RowTemplate.Height = 18;
123
            this.dgvVentas.RowTemplate.Height = 18;
124
            this.dgvVentas.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
124
            this.dgvVentas.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
125
            this.dgvVentas.Size = new System.Drawing.Size(853, 332);
125
            this.dgvVentas.Size = new System.Drawing.Size(853, 332);
126
            this.dgvVentas.TabIndex = 15;
126
            this.dgvVentas.TabIndex = 3;
127
            // 
127
            // 
128
            // colCodigo
129
            // 
130
            this.colCodigo.DataPropertyName = "Codigo";
131
            this.colCodigo.HeaderText = "Código";
132
            this.colCodigo.Name = "colCodigo";
133
            this.colCodigo.ReadOnly = true;
134
            this.colCodigo.Width = 50;
135
            // 
136
            // colNroFactura
137
            // 
138
            this.colNroFactura.DataPropertyName = "NumeroFactura";
139
            this.colNroFactura.HeaderText = "Nro Factura";
140
            this.colNroFactura.Name = "colNroFactura";
141
            this.colNroFactura.ReadOnly = true;
142
            this.colNroFactura.Width = 75;
143
            // 
144
            // colFechaFactura
145
            // 
146
            this.colFechaFactura.DataPropertyName = "FechaFactura";
147
            this.colFechaFactura.HeaderText = "Fecha";
148
            this.colFechaFactura.Name = "colFechaFactura";
149
            this.colFechaFactura.Width = 75;
150
            // 
151
            // colCliente
152
            // 
153
            this.colCliente.DataPropertyName = "DatosCliente";
154
            this.colCliente.HeaderText = "Cliente";
155
            this.colCliente.Name = "colCliente";
156
            this.colCliente.ReadOnly = true;
157
            this.colCliente.Width = 250;
158
            // 
159
            // colFormaPago
160
            // 
161
            this.colFormaPago.DataPropertyName = "DescripcionFormaPago";
162
            this.colFormaPago.HeaderText = "Forma de Pago";
163
            this.colFormaPago.Name = "colFormaPago";
164
            this.colFormaPago.ReadOnly = true;
165
            this.colFormaPago.Width = 150;
166
            // 
128
            // menuPrincipal
167
            // menuPrincipal
129
            // 
168
            // 
130
            this.menuPrincipal.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
169
            this.menuPrincipal.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
...
...
136
            this.btnCerrar});
175
            this.btnCerrar});
137
            this.menuPrincipal.Location = new System.Drawing.Point(0, 0);
176
            this.menuPrincipal.Location = new System.Drawing.Point(0, 0);
138
            this.menuPrincipal.Name = "menuPrincipal";
177
            this.menuPrincipal.Name = "menuPrincipal";
139
            this.menuPrincipal.Size = new System.Drawing.Size(877, 36);
178
            this.menuPrincipal.Size = new System.Drawing.Size(877, 38);
140
            this.menuPrincipal.TabIndex = 16;
179
            this.menuPrincipal.TabIndex = 16;
141
            // 
180
            // 
142
            // btnAgregar
181
            // btnAgregar
...
...
144
            this.btnAgregar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgAgregar;
183
            this.btnAgregar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgAgregar;
145
            this.btnAgregar.ImageTransparentColor = System.Drawing.Color.Magenta;
184
            this.btnAgregar.ImageTransparentColor = System.Drawing.Color.Magenta;
146
            this.btnAgregar.Name = "btnAgregar";
185
            this.btnAgregar.Name = "btnAgregar";
147
            this.btnAgregar.Size = new System.Drawing.Size(81, 33);
186
            this.btnAgregar.Size = new System.Drawing.Size(85, 35);
148
            this.btnAgregar.Text = "Agregar venta";
187
            this.btnAgregar.Text = "Agregar venta";
149
            this.btnAgregar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
188
            this.btnAgregar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
150
            this.btnAgregar.Click += new System.EventHandler(this.btnAgregar_Click);
189
            this.btnAgregar.Click += new System.EventHandler(this.btnAgregar_Click);
...
...
152
            // separador1
191
            // separador1
153
            // 
192
            // 
154
            this.separador1.Name = "separador1";
193
            this.separador1.Name = "separador1";
155
            this.separador1.Size = new System.Drawing.Size(6, 36);
194
            this.separador1.Size = new System.Drawing.Size(6, 38);
156
            // 
195
            // 
157
            // btnConsultar
196
            // btnConsultar
158
            // 
197
            // 
159
            this.btnConsultar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgMarcador;
198
            this.btnConsultar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgMarcador;
160
            this.btnConsultar.ImageTransparentColor = System.Drawing.Color.Magenta;
199
            this.btnConsultar.ImageTransparentColor = System.Drawing.Color.Magenta;
161
            this.btnConsultar.Name = "btnConsultar";
200
            this.btnConsultar.Name = "btnConsultar";
162
            this.btnConsultar.Size = new System.Drawing.Size(88, 33);
201
            this.btnConsultar.Size = new System.Drawing.Size(94, 35);
163
            this.btnConsultar.Text = "Consultar venta";
202
            this.btnConsultar.Text = "Consultar venta";
164
            this.btnConsultar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
203
            this.btnConsultar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
165
            this.btnConsultar.Click += new System.EventHandler(this.btnConsultar_Click);
204
            this.btnConsultar.Click += new System.EventHandler(this.btnConsultar_Click);
...
...
167
            // separador2
206
            // separador2
168
            // 
207
            // 
169
            this.separador2.Name = "separador2";
208
            this.separador2.Name = "separador2";
170
            this.separador2.Size = new System.Drawing.Size(6, 36);
209
            this.separador2.Size = new System.Drawing.Size(6, 38);
171
            // 
210
            // 
172
            // btnCerrar
211
            // btnCerrar
173
            // 
212
            // 
174
            this.btnCerrar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgCerrar;
213
            this.btnCerrar.Image = global::Tecnoplas.Escritorio.Properties.Resources.imgCerrar;
175
            this.btnCerrar.ImageTransparentColor = System.Drawing.Color.Magenta;
214
            this.btnCerrar.ImageTransparentColor = System.Drawing.Color.Magenta;
176
            this.btnCerrar.Name = "btnCerrar";
215
            this.btnCerrar.Name = "btnCerrar";
177
            this.btnCerrar.Size = new System.Drawing.Size(42, 33);
216
            this.btnCerrar.Size = new System.Drawing.Size(43, 35);
178
            this.btnCerrar.Text = "Cerrar";
217
            this.btnCerrar.Text = "Cerrar";
179
            this.btnCerrar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
218
            this.btnCerrar.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
180
            this.btnCerrar.Click += new System.EventHandler(this.btnCerrar_Click);
219
            this.btnCerrar.Click += new System.EventHandler(this.btnCerrar_Click);
181
            // 
220
            // 
182
            // colCodigo
183
            // 
184
            this.colCodigo.DataPropertyName = "Codigo";
185
            this.colCodigo.HeaderText = "Código";
186
            this.colCodigo.Name = "colCodigo";
187
            this.colCodigo.ReadOnly = true;
188
            this.colCodigo.Width = 50;
189
            // 
190
            // colNroFactura
191
            // 
192
            this.colNroFactura.DataPropertyName = "NumeroFactura";
193
            this.colNroFactura.HeaderText = "Nro Factura";
194
            this.colNroFactura.Name = "colNroFactura";
195
            this.colNroFactura.ReadOnly = true;
196
            this.colNroFactura.Width = 75;
197
            // 
198
            // colFechaFactura
199
            // 
200
            this.colFechaFactura.DataPropertyName = "FechaFactura";
201
            this.colFechaFactura.HeaderText = "Fecha";
202
            this.colFechaFactura.Name = "colFechaFactura";
203
            this.colFechaFactura.Width = 75;
204
            // 
205
            // colCliente
206
            // 
207
            this.colCliente.DataPropertyName = "DatosCliente";
208
            this.colCliente.HeaderText = "Cliente";
209
            this.colCliente.Name = "colCliente";
210
            this.colCliente.ReadOnly = true;
211
            this.colCliente.Width = 250;
212
            // 
213
            // colFormaPago
214
            // 
215
            this.colFormaPago.DataPropertyName = "DescripcionFormaPago";
216
            this.colFormaPago.HeaderText = "Forma de Pago";
217
            this.colFormaPago.Name = "colFormaPago";
218
            this.colFormaPago.ReadOnly = true;
219
            this.colFormaPago.Width = 150;
220
            // 
221
            // frmVentasLista
221
            // frmVentasLista
222
            // 
222
            // 
223
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
223
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

Updated Tecnoplas/tecnoplas.sql Download diff

File was changed - ok, show the diff