/// <summary> /// Actualiza la variable ColFiltros según los controles en pantalla. /// </summary> public void ActualizarFiltros() { foreach (Lazaro.Pres.Filters.IFilter Filtro in this.ColFiltros) { if (Filtro is Lazaro.Pres.Filters.NumericRangeFilter) { Lcc.Entrada.RangoNumerico EntradaRangoNumerico = Filtro.Control as Lcc.Entrada.RangoNumerico; Lazaro.Pres.Filters.NumericRangeFilter FiltroNumerico = Filtro as Lazaro.Pres.Filters.NumericRangeFilter; FiltroNumerico.Value = EntradaRangoNumerico.Valule1; FiltroNumerico.Value2 = EntradaRangoNumerico.Valule2; } else if (Filtro is Lazaro.Pres.Filters.SetFilter) { Lazaro.Pres.Filters.SetFilter FiltroSet = Filtro as Lazaro.Pres.Filters.SetFilter; Lui.Forms.ComboBox EntradaSet = Filtro.Control as Lui.Forms.ComboBox; FiltroSet.CurrentValue = EntradaSet.TextKey; } else if (Filtro is Lazaro.Pres.Filters.DateRangeFilter) { Lazaro.Pres.Filters.DateRangeFilter FiltroFechas = Filtro as Lazaro.Pres.Filters.DateRangeFilter; Lcc.Entrada.RangoFechas EntradaRangoFechas = Filtro.Control as Lcc.Entrada.RangoFechas; FiltroFechas.DateRange = EntradaRangoFechas.Rango; } else if (Filtro is Lazaro.Pres.Filters.RelationFilter) { Lazaro.Pres.Filters.RelationFilter FiltroRelacion = Filtro as Lazaro.Pres.Filters.RelationFilter; Lcc.Entrada.CodigoDetalle EntradaRelacion = Filtro.Control as Lcc.Entrada.CodigoDetalle; FiltroRelacion.Elemento = EntradaRelacion.Elemento; } else { // Tipo de filtro de reconocidgo } } }
private void InitializeComponent() { this.Label1 = new Lui.Forms.Label(); this.EntradaEncargado = new Lcc.Entrada.CodigoDetalle(); this.EntradaDescripcion = new Lui.Forms.TextBox(); this.Label2 = new Lui.Forms.Label(); this.EntradaMinutos = new Lui.Forms.TextBox(); this.EntradaCondicion = new Lui.Forms.ComboBox(); this.Label3 = new Lui.Forms.Label(); this.Label4 = new Lui.Forms.Label(); this.EntradaTicket = new Lcc.Entrada.CodigoDetalle(); this.Label5 = new Lui.Forms.Label(); this.SuspendLayout(); // // Label1 // this.Label1.Location = new System.Drawing.Point(24, 240); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(88, 24); this.Label1.TabIndex = 8; this.Label1.Text = "Vendedor"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaEncargado // this.EntradaEncargado.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaEncargado.AutoTab = true; this.EntradaEncargado.CanCreate = true; this.EntradaEncargado.Filter = "(tipo&4)=4"; this.EntradaEncargado.Location = new System.Drawing.Point(112, 240); this.EntradaEncargado.MaxLength = 200; this.EntradaEncargado.Name = "EntradaEncargado"; this.EntradaEncargado.NombreTipo = "Lbl.Personas.Persona"; this.EntradaEncargado.Required = true; this.EntradaEncargado.Size = new System.Drawing.Size(496, 24); this.EntradaEncargado.TabIndex = 9; this.EntradaEncargado.Text = "0"; // // EntradaDescripcion // this.EntradaDescripcion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaDescripcion.Location = new System.Drawing.Point(112, 56); this.EntradaDescripcion.MultiLine = true; this.EntradaDescripcion.Name = "EntradaDescripcion"; this.EntradaDescripcion.Size = new System.Drawing.Size(496, 124); this.EntradaDescripcion.TabIndex = 3; // // Label2 // this.Label2.Location = new System.Drawing.Point(280, 192); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(68, 24); this.Label2.TabIndex = 6; this.Label2.Text = "Tiempo"; this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaMinutos // this.EntradaMinutos.Location = new System.Drawing.Point(348, 192); this.EntradaMinutos.Name = "EntradaMinutos"; this.EntradaMinutos.Size = new System.Drawing.Size(76, 24); this.EntradaMinutos.TabIndex = 7; // // EntradaCondicion // this.EntradaCondicion.AlwaysExpanded = true; this.EntradaCondicion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaCondicion.AutoSize = true; this.EntradaCondicion.Location = new System.Drawing.Point(112, 192); this.EntradaCondicion.Name = "EntradaCondicion"; this.EntradaCondicion.SetData = new string[] { "Publica|0", "Interna|1" }; this.EntradaCondicion.Size = new System.Drawing.Size(152, 40); this.EntradaCondicion.TabIndex = 5; this.EntradaCondicion.TextKey = "0"; // // Label3 // this.Label3.Location = new System.Drawing.Point(24, 192); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(88, 24); this.Label3.TabIndex = 4; this.Label3.Text = "Visibilidad"; this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label4 // this.Label4.Location = new System.Drawing.Point(24, 56); this.Label4.Name = "Label4"; this.Label4.Size = new System.Drawing.Size(88, 24); this.Label4.TabIndex = 2; this.Label4.Text = "Asunto"; this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaTicket // this.EntradaTicket.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaTicket.AutoTab = true; this.EntradaTicket.CanCreate = true; this.EntradaTicket.Location = new System.Drawing.Point(112, 24); this.EntradaTicket.MaxLength = 200; this.EntradaTicket.Name = "EntradaTicket"; this.EntradaTicket.NombreTipo = "Lbl.Tareas.Tarea"; this.EntradaTicket.Required = true; this.EntradaTicket.Size = new System.Drawing.Size(496, 24); this.EntradaTicket.TabIndex = 1; this.EntradaTicket.Text = "0"; // // Label5 // this.Label5.Location = new System.Drawing.Point(24, 24); this.Label5.Name = "Label5"; this.Label5.Size = new System.Drawing.Size(88, 24); this.Label5.TabIndex = 0; this.Label5.Text = "Tarea"; this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Novedad // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.ClientSize = new System.Drawing.Size(634, 374); this.Controls.Add(this.EntradaMinutos); this.Controls.Add(this.EntradaTicket); this.Controls.Add(this.EntradaCondicion); this.Controls.Add(this.EntradaDescripcion); this.Controls.Add(this.EntradaEncargado); this.Controls.Add(this.Label2); this.Controls.Add(this.Label5); this.Controls.Add(this.Label4); this.Controls.Add(this.Label3); this.Controls.Add(this.Label1); this.ForeColor = System.Drawing.Color.Black; this.Name = "Novedad"; this.Text = "Novedad: Cargar"; this.Controls.SetChildIndex(this.Label1, 0); this.Controls.SetChildIndex(this.Label3, 0); this.Controls.SetChildIndex(this.Label4, 0); this.Controls.SetChildIndex(this.Label5, 0); this.Controls.SetChildIndex(this.Label2, 0); this.Controls.SetChildIndex(this.EntradaEncargado, 0); this.Controls.SetChildIndex(this.EntradaDescripcion, 0); this.Controls.SetChildIndex(this.EntradaCondicion, 0); this.Controls.SetChildIndex(this.EntradaTicket, 0); this.Controls.SetChildIndex(this.EntradaMinutos, 0); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.EntradaFormaPago = new Lui.Forms.ComboBox(); this.Label11 = new Lui.Forms.Label(); this.EntradaCuponesCantidad = new Lui.Forms.TextBox(); this.lblLabel1 = new Lui.Forms.Label(); this.Label1 = new Lui.Forms.Label(); this.EntradaCuponesSubTotal = new Lui.Forms.TextBox(); this.EntradaComisionTarjeta = new Lui.Forms.TextBox(); this.Label2 = new Lui.Forms.Label(); this.Frame1 = new Lui.Forms.Frame(); this.lblComisionTarjetaPct = new Lui.Forms.Label(); this.EntradaComisionPlan = new Lui.Forms.TextBox(); this.Label3 = new Lui.Forms.Label(); this.EntradaComisionUsuario = new Lui.Forms.TextBox(); this.lblComisionPlanPct = new Lui.Forms.Label(); this.lblComisionUsuarioPct = new Lui.Forms.Label(); this.Label4 = new Lui.Forms.Label(); this.Label5 = new Lui.Forms.Label(); this.Label6 = new Lui.Forms.Label(); this.Label7 = new Lui.Forms.Label(); this.EntradaTotal = new Lui.Forms.TextBox(); this.Label8 = new Lui.Forms.Label(); this.Frame1.SuspendLayout(); this.SuspendLayout(); // // EntradaFormaPago // this.EntradaFormaPago.AlwaysExpanded = true; this.EntradaFormaPago.AutoSize = true; this.EntradaFormaPago.Location = new System.Drawing.Point(244, 272); this.EntradaFormaPago.Name = "EntradaFormaPago"; this.EntradaFormaPago.SetData = new string[] { "Efectivo|1", "Cheque|2", "Depósito en cuenta|6"}; this.EntradaFormaPago.Size = new System.Drawing.Size(200, 56); this.EntradaFormaPago.TabIndex = 17; this.EntradaFormaPago.TextKey = "6"; // // Label11 // this.Label11.Location = new System.Drawing.Point(112, 272); this.Label11.Name = "Label11"; this.Label11.Size = new System.Drawing.Size(132, 24); this.Label11.TabIndex = 16; this.Label11.Text = "Pago"; this.Label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaCuponesCantidad // this.EntradaCuponesCantidad.DataType = Lui.Forms.DataTypes.Integer; this.EntradaCuponesCantidad.Location = new System.Drawing.Point(136, 24); this.EntradaCuponesCantidad.Name = "EntradaCuponesCantidad"; this.EntradaCuponesCantidad.Size = new System.Drawing.Size(56, 24); this.EntradaCuponesCantidad.TabIndex = 1; this.EntradaCuponesCantidad.TabStop = false; this.EntradaCuponesCantidad.Text = "0"; // // lblLabel1 // this.lblLabel1.Location = new System.Drawing.Point(24, 24); this.lblLabel1.Name = "lblLabel1"; this.lblLabel1.Size = new System.Drawing.Size(112, 24); this.lblLabel1.TabIndex = 0; this.lblLabel1.Text = "Acreditación de"; this.lblLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label1 // this.Label1.Location = new System.Drawing.Point(200, 24); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(168, 24); this.Label1.TabIndex = 2; this.Label1.Text = "cupones por un total de"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaCuponesSubTotal // this.EntradaCuponesSubTotal.DataType = Lui.Forms.DataTypes.Currency; this.EntradaCuponesSubTotal.Location = new System.Drawing.Point(368, 24); this.EntradaCuponesSubTotal.Name = "EntradaCuponesSubTotal"; this.EntradaCuponesSubTotal.Prefijo = "$"; this.EntradaCuponesSubTotal.Size = new System.Drawing.Size(100, 24); this.EntradaCuponesSubTotal.TabIndex = 3; this.EntradaCuponesSubTotal.TabStop = false; // // EntradaComisionTarjeta // this.EntradaComisionTarjeta.DataType = Lui.Forms.DataTypes.Currency; this.EntradaComisionTarjeta.Location = new System.Drawing.Point(120, 40); this.EntradaComisionTarjeta.Name = "EntradaComisionTarjeta"; this.EntradaComisionTarjeta.Prefijo = "$"; this.EntradaComisionTarjeta.Size = new System.Drawing.Size(104, 24); this.EntradaComisionTarjeta.TabIndex = 6; this.EntradaComisionTarjeta.TabStop = false; this.EntradaComisionTarjeta.TextChanged += new System.EventHandler(this.EntradaComisionTarjeta_TextChanged); // // Label2 // this.Label2.Location = new System.Drawing.Point(8, 40); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(112, 24); this.Label2.TabIndex = 5; this.Label2.Text = "De las tarjetas"; this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Frame1 // this.Frame1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Frame1.Controls.Add(this.Label2); this.Frame1.Controls.Add(this.EntradaComisionTarjeta); this.Frame1.Controls.Add(this.lblComisionTarjetaPct); this.Frame1.Controls.Add(this.EntradaComisionPlan); this.Frame1.Controls.Add(this.Label3); this.Frame1.Controls.Add(this.EntradaComisionUsuario); this.Frame1.Controls.Add(this.lblComisionPlanPct); this.Frame1.Controls.Add(this.lblComisionUsuarioPct); this.Frame1.Controls.Add(this.Label4); this.Frame1.Controls.Add(this.Label5); this.Frame1.Controls.Add(this.Label6); this.Frame1.Controls.Add(this.Label7); this.Frame1.Font = new System.Drawing.Font("Bitstream Vera Sans", 9.75F); this.Frame1.Location = new System.Drawing.Point(24, 72); this.Frame1.Name = "Frame1"; this.Frame1.Size = new System.Drawing.Size(600, 136); this.Frame1.TabIndex = 4; this.Frame1.Text = "Comisiones y otros decuentos"; // // lblComisionTarjetaPct // this.lblComisionTarjetaPct.Location = new System.Drawing.Point(232, 40); this.lblComisionTarjetaPct.Name = "lblComisionTarjetaPct"; this.lblComisionTarjetaPct.Size = new System.Drawing.Size(76, 24); this.lblComisionTarjetaPct.TabIndex = 8; this.lblComisionTarjetaPct.Text = "(0%)"; this.lblComisionTarjetaPct.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaComisionPlan // this.EntradaComisionPlan.DataType = Lui.Forms.DataTypes.Currency; this.EntradaComisionPlan.Location = new System.Drawing.Point(120, 72); this.EntradaComisionPlan.Name = "EntradaComisionPlan"; this.EntradaComisionPlan.Prefijo = "$"; this.EntradaComisionPlan.Size = new System.Drawing.Size(104, 24); this.EntradaComisionPlan.TabIndex = 9; this.EntradaComisionPlan.TabStop = false; this.EntradaComisionPlan.TextChanged += new System.EventHandler(this.EntradaComisionPlan_TextChanged); // // Label3 // this.Label3.Location = new System.Drawing.Point(8, 72); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(112, 24); this.Label3.TabIndex = 8; this.Label3.Text = "De los planes"; this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaComisionUsuario // this.EntradaComisionUsuario.DataType = Lui.Forms.DataTypes.Currency; this.EntradaComisionUsuario.Location = new System.Drawing.Point(120, 104); this.EntradaComisionUsuario.Name = "EntradaComisionUsuario"; this.EntradaComisionUsuario.Prefijo = "$"; this.EntradaComisionUsuario.Size = new System.Drawing.Size(104, 24); this.EntradaComisionUsuario.TabIndex = 12; this.EntradaComisionUsuario.TextChanged += new System.EventHandler(this.EntradaComisionUsuario_TextChanged); // // lblComisionPlanPct // this.lblComisionPlanPct.Location = new System.Drawing.Point(232, 72); this.lblComisionPlanPct.Name = "lblComisionPlanPct"; this.lblComisionPlanPct.Size = new System.Drawing.Size(76, 24); this.lblComisionPlanPct.TabIndex = 9; this.lblComisionPlanPct.Text = "(0%)"; this.lblComisionPlanPct.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblComisionUsuarioPct // this.lblComisionUsuarioPct.Location = new System.Drawing.Point(232, 104); this.lblComisionUsuarioPct.Name = "lblComisionUsuarioPct"; this.lblComisionUsuarioPct.Size = new System.Drawing.Size(76, 24); this.lblComisionUsuarioPct.TabIndex = 10; this.lblComisionUsuarioPct.Text = "(0%)"; this.lblComisionUsuarioPct.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label4 // this.Label4.Location = new System.Drawing.Point(8, 104); this.Label4.Name = "Label4"; this.Label4.Size = new System.Drawing.Size(112, 24); this.Label4.TabIndex = 11; this.Label4.Text = "Otros"; this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label5 // this.Label5.Location = new System.Drawing.Point(312, 40); this.Label5.Name = "Label5"; this.Label5.Size = new System.Drawing.Size(288, 24); this.Label5.TabIndex = 7; this.Label5.Text = "(Comisiones normales de las tarjetas)"; this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.Label5.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Small; // // Label6 // this.Label6.Location = new System.Drawing.Point(312, 72); this.Label6.Name = "Label6"; this.Label6.Size = new System.Drawing.Size(288, 24); this.Label6.TabIndex = 10; this.Label6.Text = "(Comisiones adicionales de algunos planes)"; this.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.Label6.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Small; // // Label7 // this.Label7.Location = new System.Drawing.Point(312, 104); this.Label7.Name = "Label7"; this.Label7.Size = new System.Drawing.Size(288, 24); this.Label7.TabIndex = 13; this.Label7.Text = "(Otros descuentos)"; this.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.Label7.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Small; // // EntradaTotal // this.EntradaTotal.DataType = Lui.Forms.DataTypes.Currency; this.EntradaTotal.Location = new System.Drawing.Point(244, 232); this.EntradaTotal.Name = "EntradaTotal"; this.EntradaTotal.Prefijo = "$"; this.EntradaTotal.Size = new System.Drawing.Size(136, 28); this.EntradaTotal.TabIndex = 15; this.EntradaTotal.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Big; this.EntradaTotal.TextChanged += new System.EventHandler(this.EntradaTotal_TextChanged); // // Label8 // this.Label8.Location = new System.Drawing.Point(112, 232); this.Label8.Name = "Label8"; this.Label8.Size = new System.Drawing.Size(132, 28); this.Label8.TabIndex = 14; this.Label8.Text = "Total a acreditar"; this.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Acreditar // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(650, 413); this.Controls.Add(this.EntradaTotal); this.Controls.Add(this.Label8); this.Controls.Add(this.EntradaCuponesSubTotal); this.Controls.Add(this.Label1); this.Controls.Add(this.EntradaCuponesCantidad); this.Controls.Add(this.lblLabel1); this.Controls.Add(this.EntradaFormaPago); this.Controls.Add(this.Label11); this.Controls.Add(this.Frame1); this.ForeColor = System.Drawing.Color.Black; this.Name = "Acreditar"; this.Text = "Acreditación de cupones de pago"; this.Controls.SetChildIndex(this.Frame1, 0); this.Controls.SetChildIndex(this.Label11, 0); this.Controls.SetChildIndex(this.EntradaFormaPago, 0); this.Controls.SetChildIndex(this.lblLabel1, 0); this.Controls.SetChildIndex(this.EntradaCuponesCantidad, 0); this.Controls.SetChildIndex(this.Label1, 0); this.Controls.SetChildIndex(this.EntradaCuponesSubTotal, 0); this.Controls.SetChildIndex(this.Label8, 0); this.Controls.SetChildIndex(this.EntradaTotal, 0); this.Frame1.ResumeLayout(false); this.Frame1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.EntradaFormaDePago = new Lcc.Entrada.CodigoDetalle(); this.Label16 = new Lui.Forms.Label(); this.Label11 = new Lui.Forms.Label(); this.EntradaPlanInteres = new Lui.Forms.TextBox(); this.Label14 = new Lui.Forms.Label(); this.EntradaPlanCuotas = new Lui.Forms.TextBox(); this.EtiquetaFecha1 = new Lui.Forms.Label(); this.EntradaPlan = new Lcc.Entrada.CodigoDetalle(); this.Label15 = new Lui.Forms.Label(); this.EntradaCliente = new Lcc.Entrada.CodigoDetalle(); this.Label1 = new Lui.Forms.Label(); this.EntradaEstado = new Lui.Forms.ComboBox(); this.label3 = new Lui.Forms.Label(); this.panel1 = new Lui.Forms.Panel(); this.tableLayoutPanel1 = new Lui.Forms.TableLayoutPanel(); this.EntradaFechas = new Lcc.Entrada.RangoFechas(); this.panel1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // OkButton // this.OkButton.Location = new System.Drawing.Point(354, 8); // // CancelCommandButton // this.CancelCommandButton.Location = new System.Drawing.Point(474, 8); // // txtTarjeta // this.EntradaFormaDePago.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaFormaDePago.AutoSize = true; this.EntradaFormaDePago.CanCreate = false; this.EntradaFormaDePago.Filter = "tipo=4"; this.EntradaFormaDePago.Location = new System.Drawing.Point(85, 3); this.EntradaFormaDePago.MaxLength = 200; this.EntradaFormaDePago.Name = "txtTarjeta"; this.EntradaFormaDePago.Required = true; this.EntradaFormaDePago.Size = new System.Drawing.Size(456, 24); this.EntradaFormaDePago.TabIndex = 1; this.EntradaFormaDePago.NombreTipo = "Lbl.Pagos.FormaDePago"; this.EntradaFormaDePago.TeclaDespuesDeEnter = "{tab}"; this.EntradaFormaDePago.Text = "0"; this.EntradaFormaDePago.ValueInt = 0; this.EntradaFormaDePago.TextChanged += new System.EventHandler(this.EntradaTarjeta_TextChanged); // // Label16 // this.Label16.Location = new System.Drawing.Point(3, 0); this.Label16.Name = "Label16"; this.Label16.Size = new System.Drawing.Size(76, 24); this.Label16.TabIndex = 0; this.Label16.Text = "Tarjeta"; this.Label16.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label11 // this.Label11.Location = new System.Drawing.Point(3, 90); this.Label11.Name = "Label11"; this.Label11.Size = new System.Drawing.Size(76, 24); this.Label11.TabIndex = 5; this.Label11.Text = "Estado"; this.Label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtPlanInteres // this.EntradaPlanInteres.AutoSize = false; this.EntradaPlanInteres.DataType = Lui.Forms.DataTypes.Float; this.EntradaPlanInteres.Location = new System.Drawing.Point(200, 0); this.EntradaPlanInteres.Name = "txtPlanInteres"; this.EntradaPlanInteres.TemporaryReadOnly = true; this.EntradaPlanInteres.Size = new System.Drawing.Size(56, 24); this.EntradaPlanInteres.TabIndex = 3; this.EntradaPlanInteres.TabStop = false; // // Label14 // this.Label14.Location = new System.Drawing.Point(144, 0); this.Label14.Name = "Label14"; this.Label14.Size = new System.Drawing.Size(56, 24); this.Label14.TabIndex = 2; this.Label14.Text = "Interés"; this.Label14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtPlanCuotas // this.EntradaPlanCuotas.AutoSize = false; this.EntradaPlanCuotas.DataType = Lui.Forms.DataTypes.Integer; this.EntradaPlanCuotas.Location = new System.Drawing.Point(76, 0); this.EntradaPlanCuotas.Name = "txtPlanCuotas"; this.EntradaPlanCuotas.TemporaryReadOnly = true; this.EntradaPlanCuotas.Size = new System.Drawing.Size(56, 24); this.EntradaPlanCuotas.TabIndex = 1; this.EntradaPlanCuotas.TabStop = false; this.EntradaPlanCuotas.Text = "1"; // // lblFecha1 // this.EtiquetaFecha1.Location = new System.Drawing.Point(20, 0); this.EtiquetaFecha1.Name = "lblFecha1"; this.EtiquetaFecha1.Size = new System.Drawing.Size(56, 24); this.EtiquetaFecha1.TabIndex = 0; this.EtiquetaFecha1.Text = "Cuotas"; this.EtiquetaFecha1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtPlan // this.EntradaPlan.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaPlan.AutoSize = true; this.EntradaPlan.CanCreate = false; this.EntradaPlan.Filter = ""; this.EntradaPlan.Location = new System.Drawing.Point(85, 33); this.EntradaPlan.MaxLength = 200; this.EntradaPlan.Name = "txtPlan"; this.EntradaPlan.Required = false; this.EntradaPlan.Size = new System.Drawing.Size(456, 24); this.EntradaPlan.TabIndex = 3; this.EntradaPlan.NombreTipo = "Lbl.Pagos.Plan"; this.EntradaPlan.TeclaDespuesDeEnter = "{tab}"; this.EntradaPlan.Text = "0"; this.EntradaPlan.ValueInt = 0; this.EntradaPlan.TextChanged += new System.EventHandler(this.txtPlan_TextChanged); // // Label15 // this.Label15.Location = new System.Drawing.Point(3, 30); this.Label15.Name = "Label15"; this.Label15.Size = new System.Drawing.Size(76, 24); this.Label15.TabIndex = 2; this.Label15.Text = "Plan"; this.Label15.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtCliente // this.EntradaCliente.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaCliente.AutoSize = true; this.EntradaCliente.CanCreate = false; this.EntradaCliente.Filter = ""; this.EntradaCliente.Location = new System.Drawing.Point(85, 123); this.EntradaCliente.MaxLength = 200; this.EntradaCliente.Name = "txtCliente"; this.EntradaCliente.Required = false; this.EntradaCliente.Size = new System.Drawing.Size(456, 24); this.EntradaCliente.TabIndex = 8; this.EntradaCliente.NombreTipo = "Lbl.Personas.Persona"; this.EntradaCliente.TeclaDespuesDeEnter = "{tab}"; this.EntradaCliente.Text = "0"; this.EntradaCliente.ValueInt = 0; // // Label1 // this.Label1.Location = new System.Drawing.Point(3, 120); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(76, 24); this.Label1.TabIndex = 7; this.Label1.Text = "Cliente"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaEstado // this.EntradaEstado.AutoSize = true; this.EntradaEstado.Location = new System.Drawing.Point(85, 93); this.EntradaEstado.Name = "EntradaEstado"; this.EntradaEstado.SetData = new string[] { "No Cobrados|-2", "Sin presentar|0", "Cancelados|1", "Rechazados|2", "Presentados|10", "Acreditados|20", "Todos|-1" }; this.EntradaEstado.Size = new System.Drawing.Size(180, 24); this.EntradaEstado.TabIndex = 6; this.EntradaEstado.Text = "No Cobrados"; this.EntradaEstado.TextKey = "-2"; // // label3 // this.label3.Location = new System.Drawing.Point(3, 150); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(76, 24); this.label3.TabIndex = 9; this.label3.Text = "Fecha"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // panel1 // this.panel1.Controls.Add(this.EtiquetaFecha1); this.panel1.Controls.Add(this.EntradaPlanCuotas); this.panel1.Controls.Add(this.Label14); this.panel1.Controls.Add(this.EntradaPlanInteres); this.panel1.Location = new System.Drawing.Point(85, 63); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(260, 24); this.panel1.TabIndex = 4; // // tableLayoutPanel1 // this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.Controls.Add(this.EntradaFechas, 1, 5); this.tableLayoutPanel1.Controls.Add(this.panel1, 1, 2); this.tableLayoutPanel1.Controls.Add(this.EntradaCliente, 1, 4); this.tableLayoutPanel1.Controls.Add(this.EntradaEstado, 1, 3); this.tableLayoutPanel1.Controls.Add(this.Label16, 0, 0); this.tableLayoutPanel1.Controls.Add(this.Label15, 0, 1); this.tableLayoutPanel1.Controls.Add(this.Label11, 0, 3); this.tableLayoutPanel1.Controls.Add(this.Label1, 0, 4); this.tableLayoutPanel1.Controls.Add(this.label3, 0, 5); this.tableLayoutPanel1.Controls.Add(this.EntradaFormaDePago, 1, 0); this.tableLayoutPanel1.Controls.Add(this.EntradaPlan, 1, 1); this.tableLayoutPanel1.Location = new System.Drawing.Point(24, 24); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 6; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.Size = new System.Drawing.Size(544, 288); this.tableLayoutPanel1.TabIndex = 0; // // EntradaFechas // this.EntradaFechas.AutoSize = true; this.EntradaFechas.Location = new System.Drawing.Point(85, 153); this.EntradaFechas.MuestraFuturos = false; this.EntradaFechas.Name = "EntradaFechas"; this.EntradaFechas.Size = new System.Drawing.Size(455, 30); this.EntradaFechas.TabIndex = 10; // // Filtros // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(594, 375); this.Controls.Add(this.tableLayoutPanel1); this.Name = "Filtros"; this.Text = "Tarjetas: Filtros"; this.Controls.SetChildIndex(this.tableLayoutPanel1, 0); this.panel1.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Convertir)); this.EntradaOrigen = new Lui.Forms.TextBox(); this.Label6 = new Lui.Forms.Label(); this.Label7 = new Lui.Forms.Label(); this.EntradaDestinoTipo = new Lui.Forms.ComboBox(); this.lblInfo = new Lui.Forms.Label(); this.lblOrigenTipo = new Lui.Forms.Label(); this.lblDestinoTipo = new Lui.Forms.Label(); this.lblDuplicado = new Lui.Forms.Label(); this.PictureBox2 = new System.Windows.Forms.PictureBox(); this.PictureBox1 = new System.Windows.Forms.PictureBox(); this.label1 = new Lui.Forms.Label(); this.EtiquetaTitulo = new Lui.Forms.Label(); this.pictureBox3 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); this.SuspendLayout(); // // EntradaOrigen // this.EntradaOrigen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaOrigen.Location = new System.Drawing.Point(328, 96); this.EntradaOrigen.Name = "EntradaOrigen"; this.EntradaOrigen.Size = new System.Drawing.Size(280, 24); this.EntradaOrigen.TabIndex = 1; this.EntradaOrigen.TabStop = false; // // Label6 // this.Label6.Location = new System.Drawing.Point(24, 96); this.Label6.Name = "Label6"; this.Label6.Size = new System.Drawing.Size(304, 24); this.Label6.TabIndex = 0; this.Label6.Text = "A partir del comprobante de origen"; this.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label7 // this.Label7.Location = new System.Drawing.Point(24, 128); this.Label7.Name = "Label7"; this.Label7.Size = new System.Drawing.Size(304, 24); this.Label7.TabIndex = 2; this.Label7.Text = "Se generará un nuevo comprobante tipo"; this.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaDestinoTipo // this.EntradaDestinoTipo.AlwaysExpanded = true; this.EntradaDestinoTipo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaDestinoTipo.AutoSize = true; this.EntradaDestinoTipo.Location = new System.Drawing.Point(328, 128); this.EntradaDestinoTipo.Name = "EntradaDestinoTipo"; this.EntradaDestinoTipo.SetData = new string[] { "Factura|F", "Presupuesto|PS", "Remito|R", "Nota de Crédito|NC", "Nota de Débito|ND"}; this.EntradaDestinoTipo.Size = new System.Drawing.Size(280, 90); this.EntradaDestinoTipo.TabIndex = 3; this.EntradaDestinoTipo.TextKey = "F"; this.EntradaDestinoTipo.TextChanged += new System.EventHandler(this.EntradaDestinoTipo_TextChanged); // // lblInfo // this.lblInfo.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblInfo.Location = new System.Drawing.Point(304, 310); this.lblInfo.Name = "lblInfo"; this.lblInfo.Size = new System.Drawing.Size(304, 22); this.lblInfo.TabIndex = 6; this.lblInfo.Text = "El comprobante original queda sin cambios."; // // lblOrigenTipo // this.lblOrigenTipo.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblOrigenTipo.Location = new System.Drawing.Point(40, 216); this.lblOrigenTipo.Name = "lblOrigenTipo"; this.lblOrigenTipo.Size = new System.Drawing.Size(120, 48); this.lblOrigenTipo.TabIndex = 4; this.lblOrigenTipo.Text = "Nota de Débito A"; this.lblOrigenTipo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblOrigenTipo.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Big; // // lblDestinoTipo // this.lblDestinoTipo.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblDestinoTipo.Location = new System.Drawing.Point(184, 216); this.lblDestinoTipo.Name = "lblDestinoTipo"; this.lblDestinoTipo.Size = new System.Drawing.Size(120, 48); this.lblDestinoTipo.TabIndex = 5; this.lblDestinoTipo.Text = "Presupuesto"; this.lblDestinoTipo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblDestinoTipo.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Big; // // lblDuplicado // this.lblDuplicado.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblDuplicado.Location = new System.Drawing.Point(304, 280); this.lblDuplicado.Name = "lblDuplicado"; this.lblDuplicado.Size = new System.Drawing.Size(304, 22); this.lblDuplicado.TabIndex = 58; this.lblDuplicado.Text = "Se creará un duplicado del comprobante original."; this.lblDuplicado.Visible = false; // // PictureBox2 // this.PictureBox2.Anchor = System.Windows.Forms.AnchorStyles.None; this.PictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox2.Image"))); this.PictureBox2.Location = new System.Drawing.Point(152, 286); this.PictureBox2.Name = "PictureBox2"; this.PictureBox2.Size = new System.Drawing.Size(40, 34); this.PictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.PictureBox2.TabIndex = 57; this.PictureBox2.TabStop = false; // // PictureBox1 // this.PictureBox1.Anchor = System.Windows.Forms.AnchorStyles.None; this.PictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox1.Image"))); this.PictureBox1.Location = new System.Drawing.Point(64, 264); this.PictureBox1.Name = "PictureBox1"; this.PictureBox1.Size = new System.Drawing.Size(72, 72); this.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.PictureBox1.TabIndex = 56; this.PictureBox1.TabStop = false; // // label1 // this.label1.Location = new System.Drawing.Point(24, 64); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(584, 24); this.label1.TabIndex = 107; this.label1.Text = "Puede crear un nuevo comprobante a partir de los datos del comprobante actual."; // // EtiquetaTitulo // this.EtiquetaTitulo.AutoSize = true; this.EtiquetaTitulo.Location = new System.Drawing.Point(24, 24); this.EtiquetaTitulo.Name = "EtiquetaTitulo"; this.EtiquetaTitulo.Size = new System.Drawing.Size(240, 30); this.EtiquetaTitulo.TabIndex = 106; this.EtiquetaTitulo.Text = "Convertir comprobante"; this.EtiquetaTitulo.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.MainHeader; // // pictureBox3 // this.pictureBox3.Anchor = System.Windows.Forms.AnchorStyles.None; this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image"))); this.pictureBox3.Location = new System.Drawing.Point(208, 264); this.pictureBox3.Name = "pictureBox3"; this.pictureBox3.Size = new System.Drawing.Size(72, 72); this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.pictureBox3.TabIndex = 108; this.pictureBox3.TabStop = false; // // Convertir // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(634, 424); this.Controls.Add(this.pictureBox3); this.Controls.Add(this.label1); this.Controls.Add(this.EtiquetaTitulo); this.Controls.Add(this.lblDuplicado); this.Controls.Add(this.lblDestinoTipo); this.Controls.Add(this.lblOrigenTipo); this.Controls.Add(this.PictureBox2); this.Controls.Add(this.PictureBox1); this.Controls.Add(this.lblInfo); this.Controls.Add(this.Label7); this.Controls.Add(this.EntradaDestinoTipo); this.Controls.Add(this.Label6); this.Controls.Add(this.EntradaOrigen); this.ForeColor = System.Drawing.Color.Black; this.Name = "Convertir"; this.Text = "Convertir comprobante"; this.Controls.SetChildIndex(this.EntradaOrigen, 0); this.Controls.SetChildIndex(this.Label6, 0); this.Controls.SetChildIndex(this.EntradaDestinoTipo, 0); this.Controls.SetChildIndex(this.Label7, 0); this.Controls.SetChildIndex(this.lblInfo, 0); this.Controls.SetChildIndex(this.PictureBox1, 0); this.Controls.SetChildIndex(this.PictureBox2, 0); this.Controls.SetChildIndex(this.lblOrigenTipo, 0); this.Controls.SetChildIndex(this.lblDestinoTipo, 0); this.Controls.SetChildIndex(this.lblDuplicado, 0); this.Controls.SetChildIndex(this.EtiquetaTitulo, 0); this.Controls.SetChildIndex(this.label1, 0); this.Controls.SetChildIndex(this.pictureBox3, 0); ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
public void FromFilters(Lazaro.Pres.Filters.FilterCollection filters) { this.SuspendLayout(); this.TablaFiltros.SuspendLayout(); this.ColFiltros = filters; this.TablaFiltros.RowCount = filters.Count; while (TablaFiltros.RowStyles.Count < TablaFiltros.RowCount) TablaFiltros.RowStyles.Add(new System.Windows.Forms.RowStyle(SizeType.AutoSize)); int i = 0; foreach (Lazaro.Pres.Filters.IFilter Filtro in this.ColFiltros) { Label Etiqueta = new Label(); Etiqueta.Name = "etiqueta" + i.ToString(); Etiqueta.Text = Filtro.Label; Etiqueta.TextAlign = System.Drawing.ContentAlignment.TopLeft; Etiqueta.Margin = new System.Windows.Forms.Padding(0, 4, 4, 0); Etiqueta.Dock = DockStyle.Fill; this.TablaFiltros.Controls.Add(Etiqueta, 0, i); Control Entrada; if (Filtro is Lazaro.Pres.Filters.NumericRangeFilter) { Lcc.Entrada.RangoNumerico EntradaRangoNumerico = new Lcc.Entrada.RangoNumerico(); Lazaro.Pres.Filters.NumericRangeFilter FiltroNumerico = Filtro as Lazaro.Pres.Filters.NumericRangeFilter; EntradaRangoNumerico.DecimalPlaces = FiltroNumerico.DecimalPlaces; EntradaRangoNumerico.Valule1 = System.Convert.ToDecimal(FiltroNumerico.Value); EntradaRangoNumerico.Valule2 = System.Convert.ToDecimal(FiltroNumerico.Value2); EntradaRangoNumerico.Dock = DockStyle.Top; Entrada = EntradaRangoNumerico; } else if (Filtro is Lazaro.Pres.Filters.SetFilter) { Lazaro.Pres.Filters.SetFilter FiltroSet = Filtro as Lazaro.Pres.Filters.SetFilter; Lui.Forms.ComboBox EntradaSet = new Lui.Forms.ComboBox(); EntradaSet.SetData = FiltroSet.SetData; EntradaSet.TextKey = FiltroSet.CurrentValue; EntradaSet.Size = new System.Drawing.Size(200, 24); EntradaSet.AlwaysExpanded = EntradaSet.SetData != null && (EntradaSet.SetData.Length <= 4 || TablaFiltros.RowCount <= 6); EntradaSet.AutoSize = EntradaSet.AlwaysExpanded; EntradaSet.Dock = DockStyle.Top; Entrada = EntradaSet; } else if (Filtro is Lazaro.Pres.Filters.DateRangeFilter) { Lazaro.Pres.Filters.DateRangeFilter FiltroFechas = Filtro as Lazaro.Pres.Filters.DateRangeFilter; Lcc.Entrada.RangoFechas EntradaRangoFechas = new Lcc.Entrada.RangoFechas(); EntradaRangoFechas.Rango = FiltroFechas.DateRange; EntradaRangoFechas.Size = new System.Drawing.Size(160, 46); EntradaRangoFechas.AutoSize = true; EntradaRangoFechas.Dock = DockStyle.Top; Entrada = EntradaRangoFechas; } else if (Filtro is Lazaro.Pres.Filters.RelationFilter) { Lazaro.Pres.Filters.RelationFilter FiltroRelacion = Filtro as Lazaro.Pres.Filters.RelationFilter; Lcc.Entrada.CodigoDetalle EntradaRelacion = new Lcc.Entrada.CodigoDetalle(); EntradaRelacion.Required = false; EntradaRelacion.Size = new System.Drawing.Size(160, 24); EntradaRelacion.Relation = FiltroRelacion.Relation; if (FiltroRelacion.Filter != null) EntradaRelacion.Filter = FiltroRelacion.Filter.ToString(); EntradaRelacion.Elemento = (Lbl.IElementoDeDatos)FiltroRelacion.Elemento; EntradaRelacion.Dock = DockStyle.Top; Entrada = EntradaRelacion; } else { Entrada = new Label(); Entrada.Text = Filtro.GetType().ToString(); Etiqueta.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; } Entrada.Name = "entrada" + i.ToString(); Filtro.Control = Entrada; this.TablaFiltros.Controls.Add(Entrada, 1, i); i++; } this.TablaFiltros.ResumeLayout(); this.ResumeLayout(); }
public void FromSection(Lazaro.Pres.Forms.Section section) { this.EliminarCampos(); this.Text = section.Label; foreach (Lazaro.Pres.Field Fld in section.Fields) { Lui.Forms.EditableControl Ctrl; switch (Fld.DataType) { case Lfx.Data.InputFieldTypes.Bool: Lui.Forms.YesNo BoolField = new Lui.Forms.YesNo(); //BoolField.SetData = new string[] { "Sí|1", "No|0" }; //BoolField.AlwaysExpanded = false; //BoolField.AutoSize = false; BoolField.Value = m_Elemento.GetFieldValue<bool>(Fld.Name); Ctrl = BoolField; break; case Lfx.Data.InputFieldTypes.Set: Lui.Forms.ComboBox SetField = new Lui.Forms.ComboBox(); SetField.FromDictionary(Fld.SetValues); SetField.TextKey = m_Elemento.GetFieldValue<string>(Fld.Name); SetField.AlwaysExpanded = true; SetField.AutoSize = true; Ctrl = SetField; break; case Lfx.Data.InputFieldTypes.Relation: Entrada.CodigoDetalle RelationField = new Entrada.CodigoDetalle(); RelationField.Relation = Fld.Relation; RelationField.ValueInt = m_Elemento.GetFieldValue<int>(Fld.Name); RelationField.PlaceholderText = Fld.Label; RelationField.Required = false; RelationField.ElementoTipo = Fld.LblType; Ctrl = RelationField; break; default: Lui.Forms.TextBox TextField = new Lui.Forms.TextBox(); switch (Fld.DataType) { case Lfx.Data.InputFieldTypes.Currency: TextField.DataType = Lui.Forms.DataTypes.Currency; TextField.ValueDecimal = m_Elemento.GetFieldValue<decimal>(Fld.Name); break; case Lfx.Data.InputFieldTypes.Date: TextField.DataType = Lui.Forms.DataTypes.Date; TextField.Text = m_Elemento.GetFieldValue<DateTime>(Fld.Name).ToString(Lfx.Types.Formatting.DateTime.ShortDatePattern); break; case Lfx.Data.InputFieldTypes.DateTime: TextField.DataType = Lui.Forms.DataTypes.DateTime; TextField.Text = m_Elemento.GetFieldValue<DateTime>(Fld.Name).ToString(Lfx.Types.Formatting.DateTime.FullDateTimePattern); break; case Lfx.Data.InputFieldTypes.Numeric: TextField.DataType = Lui.Forms.DataTypes.Float; TextField.ValueDecimal = m_Elemento.GetFieldValue<decimal>(Fld.Name); break; case Lfx.Data.InputFieldTypes.Integer: TextField.DataType = Lui.Forms.DataTypes.Integer; TextField.ValueInt = m_Elemento.GetFieldValue<int>(Fld.Name); break; case Lfx.Data.InputFieldTypes.Text: TextField.Text = m_Elemento.GetFieldValue<string>(Fld.Name); break; case Lfx.Data.InputFieldTypes.Memo: TextField.MultiLine = true; TextField.Size = new Size(this.FieldContainer.ClientSize.Width, 72); TextField.Text = m_Elemento.GetFieldValue<string>(Fld.Name); break; } TextField.PlaceholderText = Fld.Label; Ctrl = TextField; break; } Ctrl.ReadOnly = Fld.ReadOnly; if (Ctrl.Size == System.Drawing.Size.Empty) Ctrl.Size = new Size(this.FieldContainer.ClientSize.Width, 24); Ctrl.Anchor = AnchorStyles.Top | AnchorStyles.Right | AnchorStyles.Top; Ctrl.FieldName = Fld.Name; this.AgregarCampo(Fld.Label, Ctrl); } }
public void Mostrar(Lui.Forms.ComboBox parentControl) { this.ControlDestino = parentControl; this.Size = new Size(parentControl.Width, IdealHeight); this.Mostrar(); }
public void FromSection(Lazaro.Pres.Forms.Section section) { this.EliminarCampos(); this.Text = section.Label; foreach (Lazaro.Pres.Field Fld in section.Fields) { Lui.Forms.EditableControl Ctrl; switch (Fld.DataType) { case Lfx.Data.InputFieldTypes.Bool: Lui.Forms.YesNo BoolField = new Lui.Forms.YesNo(); //BoolField.SetData = new string[] { "Sí|1", "No|0" }; //BoolField.AlwaysExpanded = false; //BoolField.AutoSize = false; BoolField.Value = m_Elemento.GetFieldValue <bool>(Fld.Name); Ctrl = BoolField; break; case Lfx.Data.InputFieldTypes.Set: Lui.Forms.ComboBox SetField = new Lui.Forms.ComboBox(); SetField.FromDictionary(Fld.SetValues); SetField.TextKey = m_Elemento.GetFieldValue <string>(Fld.Name); SetField.AlwaysExpanded = true; SetField.AutoSize = true; Ctrl = SetField; break; case Lfx.Data.InputFieldTypes.Relation: Entrada.CodigoDetalle RelationField = new Entrada.CodigoDetalle(); RelationField.Relation = Fld.Relation; RelationField.ValueInt = m_Elemento.GetFieldValue <int>(Fld.Name); RelationField.PlaceholderText = Fld.Label; RelationField.Required = false; RelationField.ElementoTipo = Fld.LblType; Ctrl = RelationField; break; default: Lui.Forms.TextBox TextField = new Lui.Forms.TextBox(); switch (Fld.DataType) { case Lfx.Data.InputFieldTypes.Currency: TextField.DataType = Lui.Forms.DataTypes.Currency; TextField.ValueDecimal = m_Elemento.GetFieldValue <decimal>(Fld.Name); break; case Lfx.Data.InputFieldTypes.Date: TextField.DataType = Lui.Forms.DataTypes.Date; TextField.Text = m_Elemento.GetFieldValue <DateTime>(Fld.Name).ToString(Lfx.Types.Formatting.DateTime.ShortDatePattern); break; case Lfx.Data.InputFieldTypes.DateTime: TextField.DataType = Lui.Forms.DataTypes.DateTime; TextField.Text = m_Elemento.GetFieldValue <DateTime>(Fld.Name).ToString(Lfx.Types.Formatting.DateTime.FullDateTimePattern); break; case Lfx.Data.InputFieldTypes.Numeric: TextField.DataType = Lui.Forms.DataTypes.Float; TextField.ValueDecimal = m_Elemento.GetFieldValue <decimal>(Fld.Name); break; case Lfx.Data.InputFieldTypes.Integer: TextField.DataType = Lui.Forms.DataTypes.Integer; TextField.ValueInt = m_Elemento.GetFieldValue <int>(Fld.Name); break; case Lfx.Data.InputFieldTypes.Text: TextField.Text = m_Elemento.GetFieldValue <string>(Fld.Name); break; case Lfx.Data.InputFieldTypes.Memo: TextField.MultiLine = true; TextField.Size = new Size(this.FieldContainer.ClientSize.Width, 72); TextField.Text = m_Elemento.GetFieldValue <string>(Fld.Name); break; } TextField.PlaceholderText = Fld.Label; Ctrl = TextField; break; } Ctrl.ReadOnly = Fld.ReadOnly; if (Ctrl.Size == System.Drawing.Size.Empty) { Ctrl.Size = new Size(this.FieldContainer.ClientSize.Width, 24); } Ctrl.Anchor = AnchorStyles.Top | AnchorStyles.Right | AnchorStyles.Top; Ctrl.FieldName = Fld.Name; this.AgregarCampo(Fld.Label, Ctrl); } }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Convertir)); this.EntradaOrigen = new Lui.Forms.TextBox(); this.Label6 = new Lui.Forms.Label(); this.Label7 = new Lui.Forms.Label(); this.EntradaDestinoTipo = new Lui.Forms.ComboBox(); this.lblInfo = new Lui.Forms.Label(); this.lblOrigenTipo = new Lui.Forms.Label(); this.lblDestinoTipo = new Lui.Forms.Label(); this.lblDuplicado = new Lui.Forms.Label(); this.PictureBox2 = new System.Windows.Forms.PictureBox(); this.PictureBox1 = new System.Windows.Forms.PictureBox(); this.label1 = new Lui.Forms.Label(); this.EtiquetaTitulo = new Lui.Forms.Label(); this.pictureBox3 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); this.SuspendLayout(); // // EntradaOrigen // this.EntradaOrigen.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaOrigen.Location = new System.Drawing.Point(328, 96); this.EntradaOrigen.Name = "EntradaOrigen"; this.EntradaOrigen.Size = new System.Drawing.Size(280, 24); this.EntradaOrigen.TabIndex = 1; this.EntradaOrigen.TabStop = false; // // Label6 // this.Label6.Location = new System.Drawing.Point(24, 96); this.Label6.Name = "Label6"; this.Label6.Size = new System.Drawing.Size(304, 24); this.Label6.TabIndex = 0; this.Label6.Text = "A partir del comprobante de origen"; this.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label7 // this.Label7.Location = new System.Drawing.Point(24, 128); this.Label7.Name = "Label7"; this.Label7.Size = new System.Drawing.Size(304, 24); this.Label7.TabIndex = 2; this.Label7.Text = "Se generará un nuevo comprobante tipo"; this.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaDestinoTipo // this.EntradaDestinoTipo.AlwaysExpanded = true; this.EntradaDestinoTipo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaDestinoTipo.AutoSize = true; this.EntradaDestinoTipo.Location = new System.Drawing.Point(328, 128); this.EntradaDestinoTipo.Name = "EntradaDestinoTipo"; this.EntradaDestinoTipo.SetData = new string[] { "Factura|F", "Presupuesto|PS", "Remito|R", "Nota de Crédito|NC", "Nota de Débito|ND" }; this.EntradaDestinoTipo.Size = new System.Drawing.Size(280, 90); this.EntradaDestinoTipo.TabIndex = 3; this.EntradaDestinoTipo.TextKey = "F"; this.EntradaDestinoTipo.TextChanged += new System.EventHandler(this.EntradaDestinoTipo_TextChanged); // // lblInfo // this.lblInfo.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblInfo.Location = new System.Drawing.Point(304, 310); this.lblInfo.Name = "lblInfo"; this.lblInfo.Size = new System.Drawing.Size(304, 22); this.lblInfo.TabIndex = 6; this.lblInfo.Text = "El comprobante original queda sin cambios."; // // lblOrigenTipo // this.lblOrigenTipo.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblOrigenTipo.Location = new System.Drawing.Point(40, 216); this.lblOrigenTipo.Name = "lblOrigenTipo"; this.lblOrigenTipo.Size = new System.Drawing.Size(120, 48); this.lblOrigenTipo.TabIndex = 4; this.lblOrigenTipo.Text = "Nota de Débito A"; this.lblOrigenTipo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblOrigenTipo.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Big; // // lblDestinoTipo // this.lblDestinoTipo.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblDestinoTipo.Location = new System.Drawing.Point(184, 216); this.lblDestinoTipo.Name = "lblDestinoTipo"; this.lblDestinoTipo.Size = new System.Drawing.Size(120, 48); this.lblDestinoTipo.TabIndex = 5; this.lblDestinoTipo.Text = "Presupuesto"; this.lblDestinoTipo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblDestinoTipo.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Big; // // lblDuplicado // this.lblDuplicado.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblDuplicado.Location = new System.Drawing.Point(304, 280); this.lblDuplicado.Name = "lblDuplicado"; this.lblDuplicado.Size = new System.Drawing.Size(304, 22); this.lblDuplicado.TabIndex = 58; this.lblDuplicado.Text = "Se creará un duplicado del comprobante original."; this.lblDuplicado.Visible = false; // // PictureBox2 // this.PictureBox2.Anchor = System.Windows.Forms.AnchorStyles.None; this.PictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox2.Image"))); this.PictureBox2.Location = new System.Drawing.Point(152, 286); this.PictureBox2.Name = "PictureBox2"; this.PictureBox2.Size = new System.Drawing.Size(40, 34); this.PictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.PictureBox2.TabIndex = 57; this.PictureBox2.TabStop = false; // // PictureBox1 // this.PictureBox1.Anchor = System.Windows.Forms.AnchorStyles.None; this.PictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox1.Image"))); this.PictureBox1.Location = new System.Drawing.Point(64, 264); this.PictureBox1.Name = "PictureBox1"; this.PictureBox1.Size = new System.Drawing.Size(72, 72); this.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.PictureBox1.TabIndex = 56; this.PictureBox1.TabStop = false; // // label1 // this.label1.Location = new System.Drawing.Point(24, 64); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(584, 24); this.label1.TabIndex = 107; this.label1.Text = "Puede crear un nuevo comprobante a partir de los datos del comprobante actual."; // // EtiquetaTitulo // this.EtiquetaTitulo.AutoSize = true; this.EtiquetaTitulo.Location = new System.Drawing.Point(24, 24); this.EtiquetaTitulo.Name = "EtiquetaTitulo"; this.EtiquetaTitulo.Size = new System.Drawing.Size(240, 30); this.EtiquetaTitulo.TabIndex = 106; this.EtiquetaTitulo.Text = "Convertir comprobante"; this.EtiquetaTitulo.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.MainHeader; // // pictureBox3 // this.pictureBox3.Anchor = System.Windows.Forms.AnchorStyles.None; this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image"))); this.pictureBox3.Location = new System.Drawing.Point(208, 264); this.pictureBox3.Name = "pictureBox3"; this.pictureBox3.Size = new System.Drawing.Size(72, 72); this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; this.pictureBox3.TabIndex = 108; this.pictureBox3.TabStop = false; // // Convertir // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(634, 424); this.Controls.Add(this.pictureBox3); this.Controls.Add(this.label1); this.Controls.Add(this.EtiquetaTitulo); this.Controls.Add(this.lblDuplicado); this.Controls.Add(this.lblDestinoTipo); this.Controls.Add(this.lblOrigenTipo); this.Controls.Add(this.PictureBox2); this.Controls.Add(this.PictureBox1); this.Controls.Add(this.lblInfo); this.Controls.Add(this.Label7); this.Controls.Add(this.EntradaDestinoTipo); this.Controls.Add(this.Label6); this.Controls.Add(this.EntradaOrigen); this.ForeColor = System.Drawing.Color.Black; this.Name = "Convertir"; this.Text = "Convertir comprobante"; this.Controls.SetChildIndex(this.EntradaOrigen, 0); this.Controls.SetChildIndex(this.Label6, 0); this.Controls.SetChildIndex(this.EntradaDestinoTipo, 0); this.Controls.SetChildIndex(this.Label7, 0); this.Controls.SetChildIndex(this.lblInfo, 0); this.Controls.SetChildIndex(this.PictureBox1, 0); this.Controls.SetChildIndex(this.PictureBox2, 0); this.Controls.SetChildIndex(this.lblOrigenTipo, 0); this.Controls.SetChildIndex(this.lblDestinoTipo, 0); this.Controls.SetChildIndex(this.lblDuplicado, 0); this.Controls.SetChildIndex(this.EtiquetaTitulo, 0); this.Controls.SetChildIndex(this.label1, 0); this.Controls.SetChildIndex(this.pictureBox3, 0); ((System.ComponentModel.ISupportInitialize)(this.PictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.EntradaNumero = new Lui.Forms.TextBox(); this.Label3 = new Lui.Forms.Label(); this.Label1 = new Lui.Forms.Label(); this.EntradaBanco = new Lcc.Entrada.CodigoDetalle(); this.EntradaTipo = new Lui.Forms.ComboBox(); this.Label7 = new Lui.Forms.Label(); this.EntradaNombre = new Lui.Forms.TextBox(); this.Label2 = new Lui.Forms.Label(); this.Label4 = new Lui.Forms.Label(); this.EntradaMoneda = new Lcc.Entrada.CodigoDetalle(); this.EntradaClaveBancaria = new Lui.Forms.TextBox(); this.EtiquetaClaveBancaria = new Lui.Forms.Label(); this.EntradaTitular = new Lui.Forms.TextBox(); this.label6 = new Lui.Forms.Label(); this.EntradaEstado = new Lui.Forms.ComboBox(); this.label8 = new Lui.Forms.Label(); this.SuspendLayout(); // // EntradaNumero // this.EntradaNumero.Location = new System.Drawing.Point(124, 152); this.EntradaNumero.Name = "EntradaNumero"; this.EntradaNumero.ReadOnly = false; this.EntradaNumero.Size = new System.Drawing.Size(228, 24); this.EntradaNumero.TabIndex = 9; this.EntradaNumero.TextChanged += new System.EventHandler(this.NumeroBanco_TextChanged); // // Label3 // this.Label3.Location = new System.Drawing.Point(0, 152); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(120, 24); this.Label3.TabIndex = 8; this.Label3.Text = "Número"; this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // Label1 // this.Label1.Location = new System.Drawing.Point(0, 120); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(120, 24); this.Label1.TabIndex = 6; this.Label1.Text = "Banco"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // EntradaBanco // this.EntradaBanco.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaBanco.CanCreate = true; this.EntradaBanco.Filter = ""; this.EntradaBanco.Location = new System.Drawing.Point(124, 120); this.EntradaBanco.MaxLength = 200; this.EntradaBanco.Name = "EntradaBanco"; this.EntradaBanco.ReadOnly = false; this.EntradaBanco.Required = false; this.EntradaBanco.Size = new System.Drawing.Size(488, 24); this.EntradaBanco.TabIndex = 7; this.EntradaBanco.NombreTipo = "Lbl.Bancos.Banco"; this.EntradaBanco.Text = "0"; this.EntradaBanco.TextChanged += new System.EventHandler(this.NumeroBanco_TextChanged); // // EntradaTipo // this.EntradaTipo.AlwaysExpanded = true; this.EntradaTipo.AutoSize = true; this.EntradaTipo.Location = new System.Drawing.Point(124, 64); this.EntradaTipo.Name = "EntradaTipo"; this.EntradaTipo.ReadOnly = false; this.EntradaTipo.SetData = new string[] { "Efectivo|0", "Caja de ahorro|1", "Cuenta corriente|2"}; this.EntradaTipo.Size = new System.Drawing.Size(168, 51); this.EntradaTipo.TabIndex = 5; this.EntradaTipo.TextKey = "1"; this.EntradaTipo.TextChanged += new System.EventHandler(this.EntradaTipo_TextChanged); // // Label7 // this.Label7.Location = new System.Drawing.Point(0, 64); this.Label7.Name = "Label7"; this.Label7.Size = new System.Drawing.Size(120, 24); this.Label7.TabIndex = 4; this.Label7.Text = "Tipo de Caja"; this.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // EntradaNombre // this.EntradaNombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaNombre.ForceCase = Lui.Forms.TextCasing.Automatic; this.EntradaNombre.Location = new System.Drawing.Point(124, 0); this.EntradaNombre.Name = "EntradaNombre"; this.EntradaNombre.ReadOnly = false; this.EntradaNombre.Size = new System.Drawing.Size(488, 24); this.EntradaNombre.TabIndex = 1; this.EntradaNombre.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.EntradaNombre_KeyPress); // // Label2 // this.Label2.Location = new System.Drawing.Point(0, 0); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(120, 24); this.Label2.TabIndex = 0; this.Label2.Text = "Nombre"; this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // Label4 // this.Label4.Location = new System.Drawing.Point(0, 184); this.Label4.Name = "Label4"; this.Label4.Size = new System.Drawing.Size(120, 24); this.Label4.TabIndex = 10; this.Label4.Text = "Moneda"; this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // EntradaMoneda // this.EntradaMoneda.CanCreate = true; this.EntradaMoneda.Filter = ""; this.EntradaMoneda.Location = new System.Drawing.Point(124, 184); this.EntradaMoneda.MaxLength = 200; this.EntradaMoneda.Name = "EntradaMoneda"; this.EntradaMoneda.ReadOnly = false; this.EntradaMoneda.Required = false; this.EntradaMoneda.Size = new System.Drawing.Size(228, 24); this.EntradaMoneda.TabIndex = 11; this.EntradaMoneda.NombreTipo = "Lbl.Entidades.Moneda"; this.EntradaMoneda.Text = "0"; // // EntradaClaveBancaria // this.EntradaClaveBancaria.Location = new System.Drawing.Point(124, 216); this.EntradaClaveBancaria.MaxLength = 23; this.EntradaClaveBancaria.Name = "EntradaClaveBancaria"; this.EntradaClaveBancaria.ReadOnly = false; this.EntradaClaveBancaria.Size = new System.Drawing.Size(228, 24); this.EntradaClaveBancaria.TabIndex = 13; // // EtiquetaClaveBancaria // this.EtiquetaClaveBancaria.Location = new System.Drawing.Point(0, 216); this.EtiquetaClaveBancaria.Name = "EtiquetaClaveBancaria"; this.EtiquetaClaveBancaria.Size = new System.Drawing.Size(120, 24); this.EtiquetaClaveBancaria.TabIndex = 12; this.EtiquetaClaveBancaria.Text = "Clave Bancaria"; this.EtiquetaClaveBancaria.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // EntradaTitular // this.EntradaTitular.Location = new System.Drawing.Point(124, 32); this.EntradaTitular.Name = "EntradaTitular"; this.EntradaTitular.ReadOnly = false; this.EntradaTitular.Size = new System.Drawing.Size(436, 24); this.EntradaTitular.TabIndex = 3; // // label6 // this.label6.Location = new System.Drawing.Point(0, 32); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(120, 24); this.label6.TabIndex = 2; this.label6.Text = "Titular"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // EntradaEstado // this.EntradaEstado.AlwaysExpanded = true; this.EntradaEstado.AutoSize = true; this.EntradaEstado.Location = new System.Drawing.Point(124, 248); this.EntradaEstado.Name = "EntradaEstado"; this.EntradaEstado.ReadOnly = false; this.EntradaEstado.SetData = new string[] { "Activa|1", "Inactiva|0"}; this.EntradaEstado.Size = new System.Drawing.Size(168, 36); this.EntradaEstado.TabIndex = 15; this.EntradaEstado.TextKey = "1"; // // label8 // this.label8.Location = new System.Drawing.Point(0, 248); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(120, 24); this.label8.TabIndex = 14; this.label8.Text = "Estado"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // Editar // this.Controls.Add(this.Label2); this.Controls.Add(this.EntradaEstado); this.Controls.Add(this.label8); this.Controls.Add(this.EntradaTitular); this.Controls.Add(this.label6); this.Controls.Add(this.EntradaClaveBancaria); this.Controls.Add(this.EtiquetaClaveBancaria); this.Controls.Add(this.Label4); this.Controls.Add(this.EntradaMoneda); this.Controls.Add(this.EntradaNombre); this.Controls.Add(this.Label3); this.Controls.Add(this.EntradaTipo); this.Controls.Add(this.Label7); this.Controls.Add(this.Label1); this.Controls.Add(this.EntradaBanco); this.Controls.Add(this.EntradaNumero); this.Name = "Editar"; this.Size = new System.Drawing.Size(615, 352); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.EntradaFormaDePago = new Lcc.Entrada.CodigoDetalle(); this.Label16 = new Lui.Forms.Label(); this.Label11 = new Lui.Forms.Label(); this.EntradaPlanInteres = new Lui.Forms.TextBox(); this.Label14 = new Lui.Forms.Label(); this.EntradaPlanCuotas = new Lui.Forms.TextBox(); this.EtiquetaFecha1 = new Lui.Forms.Label(); this.EntradaPlan = new Lcc.Entrada.CodigoDetalle(); this.Label15 = new Lui.Forms.Label(); this.EntradaCliente = new Lcc.Entrada.CodigoDetalle(); this.Label1 = new Lui.Forms.Label(); this.EntradaEstado = new Lui.Forms.ComboBox(); this.label3 = new Lui.Forms.Label(); this.panel1 = new Lui.Forms.Panel(); this.tableLayoutPanel1 = new Lui.Forms.TableLayoutPanel(); this.EntradaFechas = new Lcc.Entrada.RangoFechas(); this.panel1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // OkButton // this.OkButton.Location = new System.Drawing.Point(354, 8); // // CancelCommandButton // this.CancelCommandButton.Location = new System.Drawing.Point(474, 8); // // txtTarjeta // this.EntradaFormaDePago.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaFormaDePago.AutoSize = true; this.EntradaFormaDePago.CanCreate = false; this.EntradaFormaDePago.Filter = "tipo=4"; this.EntradaFormaDePago.Location = new System.Drawing.Point(85, 3); this.EntradaFormaDePago.MaxLength = 200; this.EntradaFormaDePago.Name = "txtTarjeta"; this.EntradaFormaDePago.Required = true; this.EntradaFormaDePago.Size = new System.Drawing.Size(456, 24); this.EntradaFormaDePago.TabIndex = 1; this.EntradaFormaDePago.NombreTipo = "Lbl.Pagos.FormaDePago"; this.EntradaFormaDePago.TeclaDespuesDeEnter = "{tab}"; this.EntradaFormaDePago.Text = "0"; this.EntradaFormaDePago.ValueInt = 0; this.EntradaFormaDePago.TextChanged += new System.EventHandler(this.EntradaTarjeta_TextChanged); // // Label16 // this.Label16.Location = new System.Drawing.Point(3, 0); this.Label16.Name = "Label16"; this.Label16.Size = new System.Drawing.Size(76, 24); this.Label16.TabIndex = 0; this.Label16.Text = "Tarjeta"; this.Label16.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label11 // this.Label11.Location = new System.Drawing.Point(3, 90); this.Label11.Name = "Label11"; this.Label11.Size = new System.Drawing.Size(76, 24); this.Label11.TabIndex = 5; this.Label11.Text = "Estado"; this.Label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtPlanInteres // this.EntradaPlanInteres.AutoSize = false; this.EntradaPlanInteres.DataType = Lui.Forms.DataTypes.Float; this.EntradaPlanInteres.Location = new System.Drawing.Point(200, 0); this.EntradaPlanInteres.Name = "txtPlanInteres"; this.EntradaPlanInteres.TemporaryReadOnly = true; this.EntradaPlanInteres.Size = new System.Drawing.Size(56, 24); this.EntradaPlanInteres.TabIndex = 3; this.EntradaPlanInteres.TabStop = false; // // Label14 // this.Label14.Location = new System.Drawing.Point(144, 0); this.Label14.Name = "Label14"; this.Label14.Size = new System.Drawing.Size(56, 24); this.Label14.TabIndex = 2; this.Label14.Text = "Interés"; this.Label14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtPlanCuotas // this.EntradaPlanCuotas.AutoSize = false; this.EntradaPlanCuotas.DataType = Lui.Forms.DataTypes.Integer; this.EntradaPlanCuotas.Location = new System.Drawing.Point(76, 0); this.EntradaPlanCuotas.Name = "txtPlanCuotas"; this.EntradaPlanCuotas.TemporaryReadOnly = true; this.EntradaPlanCuotas.Size = new System.Drawing.Size(56, 24); this.EntradaPlanCuotas.TabIndex = 1; this.EntradaPlanCuotas.TabStop = false; this.EntradaPlanCuotas.Text = "1"; // // lblFecha1 // this.EtiquetaFecha1.Location = new System.Drawing.Point(20, 0); this.EtiquetaFecha1.Name = "lblFecha1"; this.EtiquetaFecha1.Size = new System.Drawing.Size(56, 24); this.EtiquetaFecha1.TabIndex = 0; this.EtiquetaFecha1.Text = "Cuotas"; this.EtiquetaFecha1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtPlan // this.EntradaPlan.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaPlan.AutoSize = true; this.EntradaPlan.CanCreate = false; this.EntradaPlan.Filter = ""; this.EntradaPlan.Location = new System.Drawing.Point(85, 33); this.EntradaPlan.MaxLength = 200; this.EntradaPlan.Name = "txtPlan"; this.EntradaPlan.Required = false; this.EntradaPlan.Size = new System.Drawing.Size(456, 24); this.EntradaPlan.TabIndex = 3; this.EntradaPlan.NombreTipo = "Lbl.Pagos.Plan"; this.EntradaPlan.TeclaDespuesDeEnter = "{tab}"; this.EntradaPlan.Text = "0"; this.EntradaPlan.ValueInt = 0; this.EntradaPlan.TextChanged += new System.EventHandler(this.txtPlan_TextChanged); // // Label15 // this.Label15.Location = new System.Drawing.Point(3, 30); this.Label15.Name = "Label15"; this.Label15.Size = new System.Drawing.Size(76, 24); this.Label15.TabIndex = 2; this.Label15.Text = "Plan"; this.Label15.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtCliente // this.EntradaCliente.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaCliente.AutoSize = true; this.EntradaCliente.CanCreate = false; this.EntradaCliente.Filter = ""; this.EntradaCliente.Location = new System.Drawing.Point(85, 123); this.EntradaCliente.MaxLength = 200; this.EntradaCliente.Name = "txtCliente"; this.EntradaCliente.Required = false; this.EntradaCliente.Size = new System.Drawing.Size(456, 24); this.EntradaCliente.TabIndex = 8; this.EntradaCliente.NombreTipo = "Lbl.Personas.Persona"; this.EntradaCliente.TeclaDespuesDeEnter = "{tab}"; this.EntradaCliente.Text = "0"; this.EntradaCliente.ValueInt = 0; // // Label1 // this.Label1.Location = new System.Drawing.Point(3, 120); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(76, 24); this.Label1.TabIndex = 7; this.Label1.Text = "Cliente"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaEstado // this.EntradaEstado.AutoSize = true; this.EntradaEstado.Location = new System.Drawing.Point(85, 93); this.EntradaEstado.Name = "EntradaEstado"; this.EntradaEstado.SetData = new string[] { "No Cobrados|-2", "Sin presentar|0", "Cancelados|1", "Rechazados|2", "Presentados|10", "Acreditados|20", "Todos|-1"}; this.EntradaEstado.Size = new System.Drawing.Size(180, 24); this.EntradaEstado.TabIndex = 6; this.EntradaEstado.Text = "No Cobrados"; this.EntradaEstado.TextKey = "-2"; // // label3 // this.label3.Location = new System.Drawing.Point(3, 150); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(76, 24); this.label3.TabIndex = 9; this.label3.Text = "Fecha"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // panel1 // this.panel1.Controls.Add(this.EtiquetaFecha1); this.panel1.Controls.Add(this.EntradaPlanCuotas); this.panel1.Controls.Add(this.Label14); this.panel1.Controls.Add(this.EntradaPlanInteres); this.panel1.Location = new System.Drawing.Point(85, 63); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(260, 24); this.panel1.TabIndex = 4; // // tableLayoutPanel1 // this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.Controls.Add(this.EntradaFechas, 1, 5); this.tableLayoutPanel1.Controls.Add(this.panel1, 1, 2); this.tableLayoutPanel1.Controls.Add(this.EntradaCliente, 1, 4); this.tableLayoutPanel1.Controls.Add(this.EntradaEstado, 1, 3); this.tableLayoutPanel1.Controls.Add(this.Label16, 0, 0); this.tableLayoutPanel1.Controls.Add(this.Label15, 0, 1); this.tableLayoutPanel1.Controls.Add(this.Label11, 0, 3); this.tableLayoutPanel1.Controls.Add(this.Label1, 0, 4); this.tableLayoutPanel1.Controls.Add(this.label3, 0, 5); this.tableLayoutPanel1.Controls.Add(this.EntradaFormaDePago, 1, 0); this.tableLayoutPanel1.Controls.Add(this.EntradaPlan, 1, 1); this.tableLayoutPanel1.Location = new System.Drawing.Point(24, 24); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 6; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel1.Size = new System.Drawing.Size(544, 288); this.tableLayoutPanel1.TabIndex = 0; // // EntradaFechas // this.EntradaFechas.AutoSize = true; this.EntradaFechas.Location = new System.Drawing.Point(85, 153); this.EntradaFechas.MuestraFuturos = false; this.EntradaFechas.Name = "EntradaFechas"; this.EntradaFechas.Size = new System.Drawing.Size(455, 30); this.EntradaFechas.TabIndex = 10; // // Filtros // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(594, 375); this.Controls.Add(this.tableLayoutPanel1); this.Name = "Filtros"; this.Text = "Tarjetas: Filtros"; this.Controls.SetChildIndex(this.tableLayoutPanel1, 0); this.panel1.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.Label1 = new Lui.Forms.Label(); this.EntradaEncargado = new Lcc.Entrada.CodigoDetalle(); this.EntradaDescripcion = new Lui.Forms.TextBox(); this.Label2 = new Lui.Forms.Label(); this.EntradaMinutos = new Lui.Forms.TextBox(); this.EntradaCondicion = new Lui.Forms.ComboBox(); this.Label3 = new Lui.Forms.Label(); this.Label4 = new Lui.Forms.Label(); this.EntradaTicket = new Lcc.Entrada.CodigoDetalle(); this.Label5 = new Lui.Forms.Label(); this.SuspendLayout(); // // Label1 // this.Label1.Location = new System.Drawing.Point(24, 240); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(88, 24); this.Label1.TabIndex = 8; this.Label1.Text = "Persona"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaTecnico // this.EntradaEncargado.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaEncargado.AutoTab = true; this.EntradaEncargado.CanCreate = true; this.EntradaEncargado.Filter = "(tipo&4)=4"; this.EntradaEncargado.Location = new System.Drawing.Point(112, 240); this.EntradaEncargado.MaxLength = 200; this.EntradaEncargado.Name = "EntradaTecnico"; this.EntradaEncargado.Required = true; this.EntradaEncargado.Size = new System.Drawing.Size(496, 24); this.EntradaEncargado.TabIndex = 9; this.EntradaEncargado.NombreTipo = "Lbl.Personas.Persona"; this.EntradaEncargado.Text = "0"; // // EntradaDescripcion // this.EntradaDescripcion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaDescripcion.Location = new System.Drawing.Point(112, 56); this.EntradaDescripcion.MultiLine = true; this.EntradaDescripcion.Name = "EntradaDescripcion"; this.EntradaDescripcion.Size = new System.Drawing.Size(496, 124); this.EntradaDescripcion.TabIndex = 3; // // Label2 // this.Label2.Location = new System.Drawing.Point(280, 192); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(68, 24); this.Label2.TabIndex = 4; this.Label2.Text = "Tiempo"; this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaMinutos // this.EntradaMinutos.Location = new System.Drawing.Point(348, 192); this.EntradaMinutos.Name = "EntradaMinutos"; this.EntradaMinutos.Size = new System.Drawing.Size(76, 24); this.EntradaMinutos.TabIndex = 5; // // EntradaCondicion // this.EntradaCondicion.AlwaysExpanded = true; this.EntradaCondicion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaCondicion.AutoSize = true; this.EntradaCondicion.Location = new System.Drawing.Point(112, 192); this.EntradaCondicion.Name = "EntradaCondicion"; this.EntradaCondicion.SetData = new string[] { "Publica|0", "Interna|1"}; this.EntradaCondicion.Size = new System.Drawing.Size(152, 39); this.EntradaCondicion.TabIndex = 7; this.EntradaCondicion.TextKey = "0"; // // Label3 // this.Label3.Location = new System.Drawing.Point(24, 192); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(88, 24); this.Label3.TabIndex = 6; this.Label3.Text = "Visibilidad"; this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label4 // this.Label4.Location = new System.Drawing.Point(24, 56); this.Label4.Name = "Label4"; this.Label4.Size = new System.Drawing.Size(88, 24); this.Label4.TabIndex = 2; this.Label4.Text = "Asunto"; this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaTicket // this.EntradaTicket.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaTicket.AutoTab = true; this.EntradaTicket.CanCreate = true; this.EntradaTicket.Filter = ""; this.EntradaTicket.Location = new System.Drawing.Point(112, 24); this.EntradaTicket.MaxLength = 200; this.EntradaTicket.Name = "EntradaTicket"; this.EntradaTicket.Required = true; this.EntradaTicket.Size = new System.Drawing.Size(496, 24); this.EntradaTicket.TabIndex = 1; this.EntradaTicket.NombreTipo = "Lbl.Tareas.Tarea"; this.EntradaTicket.Text = "0"; // // Label5 // this.Label5.Location = new System.Drawing.Point(24, 24); this.Label5.Name = "Label5"; this.Label5.Size = new System.Drawing.Size(88, 24); this.Label5.TabIndex = 0; this.Label5.Text = "Tarea"; this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Novedad // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(634, 374); this.Controls.Add(this.EntradaMinutos); this.Controls.Add(this.EntradaTicket); this.Controls.Add(this.EntradaCondicion); this.Controls.Add(this.EntradaDescripcion); this.Controls.Add(this.EntradaEncargado); this.Controls.Add(this.Label2); this.Controls.Add(this.Label5); this.Controls.Add(this.Label4); this.Controls.Add(this.Label3); this.Controls.Add(this.Label1); this.ForeColor = System.Drawing.Color.Black; this.Name = "Novedad"; this.Text = "Novedad: Cargar"; this.Controls.SetChildIndex(this.Label1, 0); this.Controls.SetChildIndex(this.Label3, 0); this.Controls.SetChildIndex(this.Label4, 0); this.Controls.SetChildIndex(this.Label5, 0); this.Controls.SetChildIndex(this.Label2, 0); this.Controls.SetChildIndex(this.EntradaEncargado, 0); this.Controls.SetChildIndex(this.EntradaDescripcion, 0); this.Controls.SetChildIndex(this.EntradaCondicion, 0); this.Controls.SetChildIndex(this.EntradaTicket, 0); this.Controls.SetChildIndex(this.EntradaMinutos, 0); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.EntradaFormaPago = new Lui.Forms.ComboBox(); this.Label11 = new Lui.Forms.Label(); this.EntradaCuponesCantidad = new Lui.Forms.TextBox(); this.lblLabel1 = new Lui.Forms.Label(); this.Label1 = new Lui.Forms.Label(); this.EntradaCuponesSubTotal = new Lui.Forms.TextBox(); this.EntradaComisionTarjeta = new Lui.Forms.TextBox(); this.Label2 = new Lui.Forms.Label(); this.Frame1 = new Lui.Forms.Frame(); this.lblComisionTarjetaPct = new Lui.Forms.Label(); this.EntradaComisionPlan = new Lui.Forms.TextBox(); this.Label3 = new Lui.Forms.Label(); this.EntradaComisionUsuario = new Lui.Forms.TextBox(); this.lblComisionPlanPct = new Lui.Forms.Label(); this.lblComisionUsuarioPct = new Lui.Forms.Label(); this.Label4 = new Lui.Forms.Label(); this.Label5 = new Lui.Forms.Label(); this.Label6 = new Lui.Forms.Label(); this.Label7 = new Lui.Forms.Label(); this.EntradaTotal = new Lui.Forms.TextBox(); this.Label8 = new Lui.Forms.Label(); this.Frame1.SuspendLayout(); this.SuspendLayout(); // // EntradaFormaPago // this.EntradaFormaPago.AlwaysExpanded = true; this.EntradaFormaPago.AutoSize = true; this.EntradaFormaPago.Location = new System.Drawing.Point(244, 272); this.EntradaFormaPago.Name = "EntradaFormaPago"; this.EntradaFormaPago.SetData = new string[] { "Efectivo|1", "Cheque|2", "Depósito en cuenta|6" }; this.EntradaFormaPago.Size = new System.Drawing.Size(200, 56); this.EntradaFormaPago.TabIndex = 17; this.EntradaFormaPago.TextKey = "6"; // // Label11 // this.Label11.Location = new System.Drawing.Point(112, 272); this.Label11.Name = "Label11"; this.Label11.Size = new System.Drawing.Size(132, 24); this.Label11.TabIndex = 16; this.Label11.Text = "Pago"; this.Label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaCuponesCantidad // this.EntradaCuponesCantidad.DataType = Lui.Forms.DataTypes.Integer; this.EntradaCuponesCantidad.Location = new System.Drawing.Point(136, 24); this.EntradaCuponesCantidad.Name = "EntradaCuponesCantidad"; this.EntradaCuponesCantidad.Size = new System.Drawing.Size(56, 24); this.EntradaCuponesCantidad.TabIndex = 1; this.EntradaCuponesCantidad.TabStop = false; this.EntradaCuponesCantidad.Text = "0"; // // lblLabel1 // this.lblLabel1.Location = new System.Drawing.Point(24, 24); this.lblLabel1.Name = "lblLabel1"; this.lblLabel1.Size = new System.Drawing.Size(112, 24); this.lblLabel1.TabIndex = 0; this.lblLabel1.Text = "Acreditación de"; this.lblLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label1 // this.Label1.Location = new System.Drawing.Point(200, 24); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(168, 24); this.Label1.TabIndex = 2; this.Label1.Text = "cupones por un total de"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaCuponesSubTotal // this.EntradaCuponesSubTotal.DataType = Lui.Forms.DataTypes.Currency; this.EntradaCuponesSubTotal.Location = new System.Drawing.Point(368, 24); this.EntradaCuponesSubTotal.Name = "EntradaCuponesSubTotal"; this.EntradaCuponesSubTotal.Prefijo = "$"; this.EntradaCuponesSubTotal.Size = new System.Drawing.Size(100, 24); this.EntradaCuponesSubTotal.TabIndex = 3; this.EntradaCuponesSubTotal.TabStop = false; // // EntradaComisionTarjeta // this.EntradaComisionTarjeta.DataType = Lui.Forms.DataTypes.Currency; this.EntradaComisionTarjeta.Location = new System.Drawing.Point(120, 40); this.EntradaComisionTarjeta.Name = "EntradaComisionTarjeta"; this.EntradaComisionTarjeta.Prefijo = "$"; this.EntradaComisionTarjeta.Size = new System.Drawing.Size(104, 24); this.EntradaComisionTarjeta.TabIndex = 6; this.EntradaComisionTarjeta.TabStop = false; this.EntradaComisionTarjeta.TextChanged += new System.EventHandler(this.EntradaComisionTarjeta_TextChanged); // // Label2 // this.Label2.Location = new System.Drawing.Point(8, 40); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(112, 24); this.Label2.TabIndex = 5; this.Label2.Text = "De las tarjetas"; this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Frame1 // this.Frame1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.Frame1.Controls.Add(this.Label2); this.Frame1.Controls.Add(this.EntradaComisionTarjeta); this.Frame1.Controls.Add(this.lblComisionTarjetaPct); this.Frame1.Controls.Add(this.EntradaComisionPlan); this.Frame1.Controls.Add(this.Label3); this.Frame1.Controls.Add(this.EntradaComisionUsuario); this.Frame1.Controls.Add(this.lblComisionPlanPct); this.Frame1.Controls.Add(this.lblComisionUsuarioPct); this.Frame1.Controls.Add(this.Label4); this.Frame1.Controls.Add(this.Label5); this.Frame1.Controls.Add(this.Label6); this.Frame1.Controls.Add(this.Label7); this.Frame1.Font = new System.Drawing.Font("Bitstream Vera Sans", 9.75F); this.Frame1.Location = new System.Drawing.Point(24, 72); this.Frame1.Name = "Frame1"; this.Frame1.Size = new System.Drawing.Size(600, 136); this.Frame1.TabIndex = 4; this.Frame1.Text = "Comisiones y otros decuentos"; // // lblComisionTarjetaPct // this.lblComisionTarjetaPct.Location = new System.Drawing.Point(232, 40); this.lblComisionTarjetaPct.Name = "lblComisionTarjetaPct"; this.lblComisionTarjetaPct.Size = new System.Drawing.Size(76, 24); this.lblComisionTarjetaPct.TabIndex = 8; this.lblComisionTarjetaPct.Text = "(0%)"; this.lblComisionTarjetaPct.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaComisionPlan // this.EntradaComisionPlan.DataType = Lui.Forms.DataTypes.Currency; this.EntradaComisionPlan.Location = new System.Drawing.Point(120, 72); this.EntradaComisionPlan.Name = "EntradaComisionPlan"; this.EntradaComisionPlan.Prefijo = "$"; this.EntradaComisionPlan.Size = new System.Drawing.Size(104, 24); this.EntradaComisionPlan.TabIndex = 9; this.EntradaComisionPlan.TabStop = false; this.EntradaComisionPlan.TextChanged += new System.EventHandler(this.EntradaComisionPlan_TextChanged); // // Label3 // this.Label3.Location = new System.Drawing.Point(8, 72); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(112, 24); this.Label3.TabIndex = 8; this.Label3.Text = "De los planes"; this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaComisionUsuario // this.EntradaComisionUsuario.DataType = Lui.Forms.DataTypes.Currency; this.EntradaComisionUsuario.Location = new System.Drawing.Point(120, 104); this.EntradaComisionUsuario.Name = "EntradaComisionUsuario"; this.EntradaComisionUsuario.Prefijo = "$"; this.EntradaComisionUsuario.Size = new System.Drawing.Size(104, 24); this.EntradaComisionUsuario.TabIndex = 12; this.EntradaComisionUsuario.TextChanged += new System.EventHandler(this.EntradaComisionUsuario_TextChanged); // // lblComisionPlanPct // this.lblComisionPlanPct.Location = new System.Drawing.Point(232, 72); this.lblComisionPlanPct.Name = "lblComisionPlanPct"; this.lblComisionPlanPct.Size = new System.Drawing.Size(76, 24); this.lblComisionPlanPct.TabIndex = 9; this.lblComisionPlanPct.Text = "(0%)"; this.lblComisionPlanPct.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblComisionUsuarioPct // this.lblComisionUsuarioPct.Location = new System.Drawing.Point(232, 104); this.lblComisionUsuarioPct.Name = "lblComisionUsuarioPct"; this.lblComisionUsuarioPct.Size = new System.Drawing.Size(76, 24); this.lblComisionUsuarioPct.TabIndex = 10; this.lblComisionUsuarioPct.Text = "(0%)"; this.lblComisionUsuarioPct.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label4 // this.Label4.Location = new System.Drawing.Point(8, 104); this.Label4.Name = "Label4"; this.Label4.Size = new System.Drawing.Size(112, 24); this.Label4.TabIndex = 11; this.Label4.Text = "Otros"; this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label5 // this.Label5.Location = new System.Drawing.Point(312, 40); this.Label5.Name = "Label5"; this.Label5.Size = new System.Drawing.Size(288, 24); this.Label5.TabIndex = 7; this.Label5.Text = "(Comisiones normales de las tarjetas)"; this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.Label5.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Small; // // Label6 // this.Label6.Location = new System.Drawing.Point(312, 72); this.Label6.Name = "Label6"; this.Label6.Size = new System.Drawing.Size(288, 24); this.Label6.TabIndex = 10; this.Label6.Text = "(Comisiones adicionales de algunos planes)"; this.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.Label6.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Small; // // Label7 // this.Label7.Location = new System.Drawing.Point(312, 104); this.Label7.Name = "Label7"; this.Label7.Size = new System.Drawing.Size(288, 24); this.Label7.TabIndex = 13; this.Label7.Text = "(Otros descuentos)"; this.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.Label7.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Small; // // EntradaTotal // this.EntradaTotal.DataType = Lui.Forms.DataTypes.Currency; this.EntradaTotal.Location = new System.Drawing.Point(244, 232); this.EntradaTotal.Name = "EntradaTotal"; this.EntradaTotal.Prefijo = "$"; this.EntradaTotal.Size = new System.Drawing.Size(136, 28); this.EntradaTotal.TabIndex = 15; this.EntradaTotal.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Big; this.EntradaTotal.TextChanged += new System.EventHandler(this.EntradaTotal_TextChanged); // // Label8 // this.Label8.Location = new System.Drawing.Point(112, 232); this.Label8.Name = "Label8"; this.Label8.Size = new System.Drawing.Size(132, 28); this.Label8.TabIndex = 14; this.Label8.Text = "Total a acreditar"; this.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Acreditar // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(650, 413); this.Controls.Add(this.EntradaTotal); this.Controls.Add(this.Label8); this.Controls.Add(this.EntradaCuponesSubTotal); this.Controls.Add(this.Label1); this.Controls.Add(this.EntradaCuponesCantidad); this.Controls.Add(this.lblLabel1); this.Controls.Add(this.EntradaFormaPago); this.Controls.Add(this.Label11); this.Controls.Add(this.Frame1); this.ForeColor = System.Drawing.Color.Black; this.Name = "Acreditar"; this.Text = "Acreditación de cupones de pago"; this.Controls.SetChildIndex(this.Frame1, 0); this.Controls.SetChildIndex(this.Label11, 0); this.Controls.SetChildIndex(this.EntradaFormaPago, 0); this.Controls.SetChildIndex(this.lblLabel1, 0); this.Controls.SetChildIndex(this.EntradaCuponesCantidad, 0); this.Controls.SetChildIndex(this.Label1, 0); this.Controls.SetChildIndex(this.EntradaCuponesSubTotal, 0); this.Controls.SetChildIndex(this.Label8, 0); this.Controls.SetChildIndex(this.EntradaTotal, 0); this.Frame1.ResumeLayout(false); this.Frame1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.EtiquetaHaciaSituacion = new Lui.Forms.Label(); this.EntradaHaciaSituacion = new Lcc.Entrada.CodigoDetalle(); this.EtiquetaDesdeSituacion = new Lui.Forms.Label(); this.EntradaDesdeSituacion = new Lcc.Entrada.CodigoDetalle(); this.label1 = new Lui.Forms.Label(); this.EntradaBloqueada = new Lui.Forms.ComboBox(); this.EtiquetaTitulo = new Lui.Forms.Label(); this.label2 = new Lui.Forms.Label(); this.label3 = new Lui.Forms.Label(); this.SuspendLayout(); // // lblHaciaSituacion // this.EtiquetaHaciaSituacion.Location = new System.Drawing.Point(24, 144); this.EtiquetaHaciaSituacion.Name = "lblHaciaSituacion"; this.EtiquetaHaciaSituacion.Size = new System.Drawing.Size(168, 24); this.EtiquetaHaciaSituacion.TabIndex = 2; this.EtiquetaHaciaSituacion.Text = "Destino"; this.EtiquetaHaciaSituacion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaHaciaSituacion // this.EntradaHaciaSituacion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaHaciaSituacion.AutoTab = true; this.EntradaHaciaSituacion.CanCreate = false; this.EntradaHaciaSituacion.Filter = ""; this.EntradaHaciaSituacion.Location = new System.Drawing.Point(192, 144); this.EntradaHaciaSituacion.MaxLength = 200; this.EntradaHaciaSituacion.Name = "EntradaHaciaSituacion"; this.EntradaHaciaSituacion.Required = true; this.EntradaHaciaSituacion.Size = new System.Drawing.Size(416, 24); this.EntradaHaciaSituacion.TabIndex = 3; this.EntradaHaciaSituacion.NombreTipo = "Lbl.Articulos.Situacion"; this.EntradaHaciaSituacion.Text = "0"; // // lblDesdeSituacion // this.EtiquetaDesdeSituacion.Location = new System.Drawing.Point(24, 72); this.EtiquetaDesdeSituacion.Name = "lblDesdeSituacion"; this.EtiquetaDesdeSituacion.Size = new System.Drawing.Size(168, 24); this.EtiquetaDesdeSituacion.TabIndex = 0; this.EtiquetaDesdeSituacion.Text = "Origen"; this.EtiquetaDesdeSituacion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaDesdeSituacion // this.EntradaDesdeSituacion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaDesdeSituacion.AutoTab = true; this.EntradaDesdeSituacion.CanCreate = false; this.EntradaDesdeSituacion.Filter = "facturable=1"; this.EntradaDesdeSituacion.Location = new System.Drawing.Point(192, 72); this.EntradaDesdeSituacion.MaxLength = 200; this.EntradaDesdeSituacion.Name = "EntradaDesdeSituacion"; this.EntradaDesdeSituacion.Required = true; this.EntradaDesdeSituacion.Size = new System.Drawing.Size(416, 24); this.EntradaDesdeSituacion.TabIndex = 1; this.EntradaDesdeSituacion.NombreTipo = "Lbl.Articulos.Situacion"; this.EntradaDesdeSituacion.Text = "0"; // // label1 // this.label1.Location = new System.Drawing.Point(24, 224); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(168, 24); this.label1.TabIndex = 4; this.label1.Text = "Accesibilidad"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaBloqueada // this.EntradaBloqueada.AlwaysExpanded = true; this.EntradaBloqueada.AutoSize = true; this.EntradaBloqueada.Location = new System.Drawing.Point(192, 224); this.EntradaBloqueada.Name = "EntradaBloqueada"; this.EntradaBloqueada.SetData = new string[] { "Editable|0", "Bloqueado|1"}; this.EntradaBloqueada.Size = new System.Drawing.Size(128, 39); this.EntradaBloqueada.TabIndex = 5; this.EntradaBloqueada.TextKey = "0"; this.EntradaBloqueada.TextChanged += new System.EventHandler(this.EntradaBloqueada_TextChanged); // // EtiquetaTitulo // this.EtiquetaTitulo.AutoSize = true; this.EtiquetaTitulo.Location = new System.Drawing.Point(24, 24); this.EtiquetaTitulo.Name = "EtiquetaTitulo"; this.EtiquetaTitulo.Size = new System.Drawing.Size(285, 30); this.EtiquetaTitulo.TabIndex = 107; this.EtiquetaTitulo.Text = "Más datos del comprobante"; this.EtiquetaTitulo.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.MainHeader; // // label2 // this.label2.Location = new System.Drawing.Point(192, 104); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(416, 32); this.label2.TabIndex = 108; this.label2.Text = "¿De dónde se deben restar las existencias cuando se hagan movimientos relacionado" + "s a este comprobante?"; this.label2.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Small; // // label3 // this.label3.Location = new System.Drawing.Point(192, 176); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(416, 24); this.label3.TabIndex = 109; this.label3.Text = "¿Hacia dónde van esas existencias?"; this.label3.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Small; // // FormComprobanteMasDatos // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(634, 374); this.Controls.Add(this.label3); this.Controls.Add(this.EtiquetaTitulo); this.Controls.Add(this.EtiquetaHaciaSituacion); this.Controls.Add(this.EntradaBloqueada); this.Controls.Add(this.label1); this.Controls.Add(this.EntradaHaciaSituacion); this.Controls.Add(this.EtiquetaDesdeSituacion); this.Controls.Add(this.EntradaDesdeSituacion); this.Controls.Add(this.label2); this.ForeColor = System.Drawing.Color.Black; this.Name = "FormComprobanteMasDatos"; this.Text = "Más datos del comprobante"; this.Controls.SetChildIndex(this.label2, 0); this.Controls.SetChildIndex(this.EntradaDesdeSituacion, 0); this.Controls.SetChildIndex(this.EtiquetaDesdeSituacion, 0); this.Controls.SetChildIndex(this.EntradaHaciaSituacion, 0); this.Controls.SetChildIndex(this.label1, 0); this.Controls.SetChildIndex(this.EntradaBloqueada, 0); this.Controls.SetChildIndex(this.EtiquetaHaciaSituacion, 0); this.Controls.SetChildIndex(this.EtiquetaTitulo, 0); this.Controls.SetChildIndex(this.label3, 0); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.Label1 = new Lui.Forms.Label(); this.Label2 = new Lui.Forms.Label(); this.Label3 = new Lui.Forms.Label(); this.EntradaNombre = new Lui.Forms.TextBox(); this.EntradaDireccion = new Lui.Forms.ComboBox(); this.EntradaGrupo = new Lui.Forms.ComboBox(); this.EntradaCodigo = new Lui.Forms.TextBox(); this.label4 = new Lui.Forms.Label(); this.SuspendLayout(); // // Label1 // this.Label1.Location = new System.Drawing.Point(0, 32); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(104, 24); this.Label1.TabIndex = 4; this.Label1.Text = "Nombre"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label2 // this.Label2.Location = new System.Drawing.Point(0, 64); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(104, 24); this.Label2.TabIndex = 6; this.Label2.Text = "Dirección"; this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label3 // this.Label3.Location = new System.Drawing.Point(-4, 128); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(100, 24); this.Label3.TabIndex = 8; this.Label3.Text = "Tipo"; this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaNombre // this.EntradaNombre.ForceCase = Lui.Forms.TextCasing.Automatic; this.EntradaNombre.Location = new System.Drawing.Point(104, 32); this.EntradaNombre.Name = "EntradaNombre"; this.EntradaNombre.ReadOnly = false; this.EntradaNombre.Size = new System.Drawing.Size(504, 24); this.EntradaNombre.TabIndex = 5; // // EntradaDireccion // this.EntradaDireccion.AlwaysExpanded = true; this.EntradaDireccion.AutoSize = true; this.EntradaDireccion.Location = new System.Drawing.Point(104, 64); this.EntradaDireccion.Name = "EntradaDireccion"; this.EntradaDireccion.ReadOnly = false; this.EntradaDireccion.SetData = new string[] { "Ambas|0", "Entrada|1", "Salida|2" }; this.EntradaDireccion.Size = new System.Drawing.Size(180, 51); this.EntradaDireccion.TabIndex = 7; this.EntradaDireccion.TextKey = "0"; // // EntradaGrupo // this.EntradaGrupo.AlwaysExpanded = true; this.EntradaGrupo.AutoSize = true; this.EntradaGrupo.Location = new System.Drawing.Point(100, 128); this.EntradaGrupo.Name = "EntradaGrupo"; this.EntradaGrupo.ReadOnly = false; this.EntradaGrupo.SetData = new string[] { "Ninguno|0", "Cobros|110", "Otros ingresos|100", "Gastos fijos|230", "Gastos variables|240", "Otros gastos|200", "Pérdida|260", "Reinversión|250", "Costo materiales|210", "Costo capital|220", "Sueldos y salarios|231", "Movimientos y ajustes|300" }; this.EntradaGrupo.Size = new System.Drawing.Size(284, 81); this.EntradaGrupo.TabIndex = 9; this.EntradaGrupo.TextKey = "200"; // // EntradaCodigo // this.EntradaCodigo.DataType = Lui.Forms.DataTypes.Integer; this.EntradaCodigo.Enabled = false; this.EntradaCodigo.Location = new System.Drawing.Point(104, 0); this.EntradaCodigo.Name = "EntradaCodigo"; this.EntradaCodigo.ReadOnly = false; this.EntradaCodigo.Size = new System.Drawing.Size(76, 24); this.EntradaCodigo.TabIndex = 3; this.EntradaCodigo.Text = "0"; // // label4 // this.label4.Location = new System.Drawing.Point(0, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(104, 24); this.label4.TabIndex = 0; this.label4.Text = "Código"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Editar // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoSize = true; this.Controls.Add(this.EntradaCodigo); this.Controls.Add(this.EntradaGrupo); this.Controls.Add(this.EntradaDireccion); this.Controls.Add(this.EntradaNombre); this.Controls.Add(this.label4); this.Controls.Add(this.Label1); this.Controls.Add(this.Label3); this.Controls.Add(this.Label2); this.Name = "Editar"; this.Size = new System.Drawing.Size(620, 214); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.EtiquetaHaciaSituacion = new Lui.Forms.Label(); this.EntradaHaciaSituacion = new Lcc.Entrada.CodigoDetalle(); this.EtiquetaDesdeSituacion = new Lui.Forms.Label(); this.EntradaDesdeSituacion = new Lcc.Entrada.CodigoDetalle(); this.label1 = new Lui.Forms.Label(); this.EntradaBloqueada = new Lui.Forms.ComboBox(); this.EtiquetaTitulo = new Lui.Forms.Label(); this.label2 = new Lui.Forms.Label(); this.label3 = new Lui.Forms.Label(); this.SuspendLayout(); // // lblHaciaSituacion // this.EtiquetaHaciaSituacion.Location = new System.Drawing.Point(24, 144); this.EtiquetaHaciaSituacion.Name = "lblHaciaSituacion"; this.EtiquetaHaciaSituacion.Size = new System.Drawing.Size(168, 24); this.EtiquetaHaciaSituacion.TabIndex = 2; this.EtiquetaHaciaSituacion.Text = "Destino"; this.EtiquetaHaciaSituacion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaHaciaSituacion // this.EntradaHaciaSituacion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaHaciaSituacion.AutoTab = true; this.EntradaHaciaSituacion.CanCreate = false; this.EntradaHaciaSituacion.Filter = ""; this.EntradaHaciaSituacion.Location = new System.Drawing.Point(192, 144); this.EntradaHaciaSituacion.MaxLength = 200; this.EntradaHaciaSituacion.Name = "EntradaHaciaSituacion"; this.EntradaHaciaSituacion.Required = true; this.EntradaHaciaSituacion.Size = new System.Drawing.Size(416, 24); this.EntradaHaciaSituacion.TabIndex = 3; this.EntradaHaciaSituacion.NombreTipo = "Lbl.Articulos.Situacion"; this.EntradaHaciaSituacion.Text = "0"; // // lblDesdeSituacion // this.EtiquetaDesdeSituacion.Location = new System.Drawing.Point(24, 72); this.EtiquetaDesdeSituacion.Name = "lblDesdeSituacion"; this.EtiquetaDesdeSituacion.Size = new System.Drawing.Size(168, 24); this.EtiquetaDesdeSituacion.TabIndex = 0; this.EtiquetaDesdeSituacion.Text = "Origen"; this.EtiquetaDesdeSituacion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaDesdeSituacion // this.EntradaDesdeSituacion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaDesdeSituacion.AutoTab = true; this.EntradaDesdeSituacion.CanCreate = false; this.EntradaDesdeSituacion.Filter = "facturable=1"; this.EntradaDesdeSituacion.Location = new System.Drawing.Point(192, 72); this.EntradaDesdeSituacion.MaxLength = 200; this.EntradaDesdeSituacion.Name = "EntradaDesdeSituacion"; this.EntradaDesdeSituacion.Required = true; this.EntradaDesdeSituacion.Size = new System.Drawing.Size(416, 24); this.EntradaDesdeSituacion.TabIndex = 1; this.EntradaDesdeSituacion.NombreTipo = "Lbl.Articulos.Situacion"; this.EntradaDesdeSituacion.Text = "0"; // // label1 // this.label1.Location = new System.Drawing.Point(24, 224); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(168, 24); this.label1.TabIndex = 4; this.label1.Text = "Accesibilidad"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaBloqueada // this.EntradaBloqueada.AlwaysExpanded = true; this.EntradaBloqueada.AutoSize = true; this.EntradaBloqueada.Location = new System.Drawing.Point(192, 224); this.EntradaBloqueada.Name = "EntradaBloqueada"; this.EntradaBloqueada.SetData = new string[] { "Editable|0", "Bloqueado|1" }; this.EntradaBloqueada.Size = new System.Drawing.Size(128, 39); this.EntradaBloqueada.TabIndex = 5; this.EntradaBloqueada.TextKey = "0"; this.EntradaBloqueada.TextChanged += new System.EventHandler(this.EntradaBloqueada_TextChanged); // // EtiquetaTitulo // this.EtiquetaTitulo.AutoSize = true; this.EtiquetaTitulo.Location = new System.Drawing.Point(24, 24); this.EtiquetaTitulo.Name = "EtiquetaTitulo"; this.EtiquetaTitulo.Size = new System.Drawing.Size(285, 30); this.EtiquetaTitulo.TabIndex = 107; this.EtiquetaTitulo.Text = "Más datos del comprobante"; this.EtiquetaTitulo.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.MainHeader; // // label2 // this.label2.Location = new System.Drawing.Point(192, 104); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(416, 32); this.label2.TabIndex = 108; this.label2.Text = "¿De dónde se deben restar las existencias cuando se hagan movimientos relacionado" + "s a este comprobante?"; this.label2.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Small; // // label3 // this.label3.Location = new System.Drawing.Point(192, 176); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(416, 24); this.label3.TabIndex = 109; this.label3.Text = "¿Hacia dónde van esas existencias?"; this.label3.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Small; // // FormComprobanteMasDatos // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(634, 374); this.Controls.Add(this.label3); this.Controls.Add(this.EtiquetaTitulo); this.Controls.Add(this.EtiquetaHaciaSituacion); this.Controls.Add(this.EntradaBloqueada); this.Controls.Add(this.label1); this.Controls.Add(this.EntradaHaciaSituacion); this.Controls.Add(this.EtiquetaDesdeSituacion); this.Controls.Add(this.EntradaDesdeSituacion); this.Controls.Add(this.label2); this.ForeColor = System.Drawing.Color.Black; this.Name = "FormComprobanteMasDatos"; this.Text = "Más datos del comprobante"; this.Controls.SetChildIndex(this.label2, 0); this.Controls.SetChildIndex(this.EntradaDesdeSituacion, 0); this.Controls.SetChildIndex(this.EtiquetaDesdeSituacion, 0); this.Controls.SetChildIndex(this.EntradaHaciaSituacion, 0); this.Controls.SetChildIndex(this.label1, 0); this.Controls.SetChildIndex(this.EntradaBloqueada, 0); this.Controls.SetChildIndex(this.EtiquetaHaciaSituacion, 0); this.Controls.SetChildIndex(this.EtiquetaTitulo, 0); this.Controls.SetChildIndex(this.label3, 0); this.ResumeLayout(false); this.PerformLayout(); }
public void FromFilters(Lazaro.Pres.Filters.FilterCollection filters) { this.SuspendLayout(); this.TablaFiltros.SuspendLayout(); this.ColFiltros = filters; this.TablaFiltros.RowCount = filters.Count; while (TablaFiltros.RowStyles.Count < TablaFiltros.RowCount) { TablaFiltros.RowStyles.Add(new System.Windows.Forms.RowStyle(SizeType.AutoSize)); } int i = 0; foreach (Lazaro.Pres.Filters.IFilter Filtro in this.ColFiltros) { Label Etiqueta = new Label(); Etiqueta.Name = "etiqueta" + i.ToString(); Etiqueta.Text = Filtro.Label; Etiqueta.TextAlign = System.Drawing.ContentAlignment.TopLeft; Etiqueta.Margin = new System.Windows.Forms.Padding(0, 4, 4, 0); Etiqueta.Dock = DockStyle.Fill; this.TablaFiltros.Controls.Add(Etiqueta, 0, i); Control Entrada; if (Filtro is Lazaro.Pres.Filters.NumericRangeFilter) { Lcc.Entrada.RangoNumerico EntradaRangoNumerico = new Lcc.Entrada.RangoNumerico(); Lazaro.Pres.Filters.NumericRangeFilter FiltroNumerico = Filtro as Lazaro.Pres.Filters.NumericRangeFilter; EntradaRangoNumerico.DecimalPlaces = FiltroNumerico.DecimalPlaces; EntradaRangoNumerico.Valule1 = System.Convert.ToDecimal(FiltroNumerico.Value); EntradaRangoNumerico.Valule2 = System.Convert.ToDecimal(FiltroNumerico.Value2); EntradaRangoNumerico.Dock = DockStyle.Top; Entrada = EntradaRangoNumerico; } else if (Filtro is Lazaro.Pres.Filters.SetFilter) { Lazaro.Pres.Filters.SetFilter FiltroSet = Filtro as Lazaro.Pres.Filters.SetFilter; Lui.Forms.ComboBox EntradaSet = new Lui.Forms.ComboBox(); EntradaSet.SetData = FiltroSet.SetData; EntradaSet.TextKey = FiltroSet.CurrentValue; EntradaSet.Size = new System.Drawing.Size(200, 24); EntradaSet.AlwaysExpanded = EntradaSet.SetData != null && (EntradaSet.SetData.Length <= 4 || TablaFiltros.RowCount <= 6); EntradaSet.AutoSize = EntradaSet.AlwaysExpanded; EntradaSet.Dock = DockStyle.Top; Entrada = EntradaSet; } else if (Filtro is Lazaro.Pres.Filters.DateRangeFilter) { Lazaro.Pres.Filters.DateRangeFilter FiltroFechas = Filtro as Lazaro.Pres.Filters.DateRangeFilter; Lcc.Entrada.RangoFechas EntradaRangoFechas = new Lcc.Entrada.RangoFechas(); EntradaRangoFechas.Rango = FiltroFechas.DateRange; EntradaRangoFechas.Size = new System.Drawing.Size(160, 46); EntradaRangoFechas.AutoSize = true; EntradaRangoFechas.Dock = DockStyle.Top; Entrada = EntradaRangoFechas; } else if (Filtro is Lazaro.Pres.Filters.RelationFilter) { Lazaro.Pres.Filters.RelationFilter FiltroRelacion = Filtro as Lazaro.Pres.Filters.RelationFilter; Lcc.Entrada.CodigoDetalle EntradaRelacion = new Lcc.Entrada.CodigoDetalle(); EntradaRelacion.Required = false; EntradaRelacion.Size = new System.Drawing.Size(160, 24); EntradaRelacion.Relation = FiltroRelacion.Relation; if (FiltroRelacion.Filter != null) { EntradaRelacion.Filter = Lfx.Workspace.Master.Formatter.SqlText(FiltroRelacion.Filter); } EntradaRelacion.Elemento = (Lbl.IElementoDeDatos)FiltroRelacion.Elemento; EntradaRelacion.Dock = DockStyle.Top; Entrada = EntradaRelacion; } else { Entrada = new Label(); Entrada.Text = Filtro.GetType().ToString(); Etiqueta.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; } Entrada.Name = "entrada" + i.ToString(); Filtro.Control = Entrada; this.TablaFiltros.Controls.Add(Entrada, 1, i); i++; } this.TablaFiltros.ResumeLayout(); this.ResumeLayout(); }
private void InitializeComponent() { this.Label1 = new Lui.Forms.Label(); this.Label2 = new Lui.Forms.Label(); this.Label3 = new Lui.Forms.Label(); this.Label4 = new Lui.Forms.Label(); this.EntradaMovimiento = new Lui.Forms.ComboBox(); this.EntradaCantidad = new Lui.Forms.TextBox(); this.EntradaObs = new Lui.Forms.TextBox(); this.EtiquetaDesdeSituacion = new Lui.Forms.Label(); this.EtiquetaHaciaSituacion = new Lui.Forms.Label(); this.EntradaDesdeAntes = new Lui.Forms.TextBox(); this.EntradaDesdeDespues = new Lui.Forms.TextBox(); this.EntradaDesdeSituacion = new Lcc.Entrada.CodigoDetalle(); this.Label7 = new Lui.Forms.Label(); this.EntradaHaciaSituacion = new Lcc.Entrada.CodigoDetalle(); this.Label8 = new Lui.Forms.Label(); this.EntradaHaciaDespues = new Lui.Forms.TextBox(); this.EntradaHaciaAntes = new Lui.Forms.TextBox(); this.EtiquetaDesdeFlecha = new Lui.Forms.Label(); this.EtiquetaHaciaFlecha = new Lui.Forms.Label(); this.Label5 = new Lui.Forms.Label(); this.Label6 = new Lui.Forms.Label(); this.EntradaArticulo = new Lcc.Entrada.Articulos.DetalleComprobante(); this.label10 = new Lui.Forms.Label(); this.EtiquetaTitulo = new Lui.Forms.Label(); this.SuspendLayout(); // // Label1 // this.Label1.Location = new System.Drawing.Point(24, 176); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(112, 24); this.Label1.TabIndex = 2; this.Label1.Text = "Artículo"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label2 // this.Label2.Location = new System.Drawing.Point(24, 224); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(112, 24); this.Label2.TabIndex = 4; this.Label2.Text = "Cantidad"; this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label3 // this.Label3.Location = new System.Drawing.Point(24, 416); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(112, 24); this.Label3.TabIndex = 20; this.Label3.Text = "Observaciones"; this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label4 // this.Label4.Location = new System.Drawing.Point(24, 112); this.Label4.Name = "Label4"; this.Label4.Size = new System.Drawing.Size(112, 24); this.Label4.TabIndex = 0; this.Label4.Text = "Movimiento"; this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaMovimiento // this.EntradaMovimiento.AlwaysExpanded = true; this.EntradaMovimiento.AutoSize = true; this.EntradaMovimiento.Location = new System.Drawing.Point(136, 112); this.EntradaMovimiento.Name = "EntradaMovimiento"; this.EntradaMovimiento.SetData = new string[] { "Entrada|e", "Salida|s", "Otro|o" }; this.EntradaMovimiento.Size = new System.Drawing.Size(192, 57); this.EntradaMovimiento.TabIndex = 1; this.EntradaMovimiento.TextKey = "e"; this.EntradaMovimiento.TextChanged += new System.EventHandler(this.EntradaMovimiento_TextChanged); // // EntradaCantidad // this.EntradaCantidad.DataType = Lui.Forms.DataTypes.Stock; this.EntradaCantidad.Location = new System.Drawing.Point(136, 224); this.EntradaCantidad.MaxLength = 10; this.EntradaCantidad.Name = "EntradaCantidad"; this.EntradaCantidad.Size = new System.Drawing.Size(96, 24); this.EntradaCantidad.TabIndex = 5; this.EntradaCantidad.Text = "0"; this.EntradaCantidad.TextChanged += new System.EventHandler(this.EntradaArticulo_TextChanged); // // EntradaObs // this.EntradaObs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaObs.ForceCase = Lui.Forms.TextCasing.Automatic; this.EntradaObs.Location = new System.Drawing.Point(136, 416); this.EntradaObs.MaximumSize = new System.Drawing.Size(480, 64); this.EntradaObs.Name = "EntradaObs"; this.EntradaObs.Size = new System.Drawing.Size(440, 24); this.EntradaObs.TabIndex = 21; // // EtiquetaDesdeSituacion // this.EtiquetaDesdeSituacion.Location = new System.Drawing.Point(136, 344); this.EtiquetaDesdeSituacion.Name = "EtiquetaDesdeSituacion"; this.EtiquetaDesdeSituacion.Size = new System.Drawing.Size(168, 24); this.EtiquetaDesdeSituacion.TabIndex = 12; this.EtiquetaDesdeSituacion.Text = "Situación 1"; this.EtiquetaDesdeSituacion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EtiquetaHaciaSituacion // this.EtiquetaHaciaSituacion.Location = new System.Drawing.Point(136, 376); this.EtiquetaHaciaSituacion.Name = "EtiquetaHaciaSituacion"; this.EtiquetaHaciaSituacion.Size = new System.Drawing.Size(168, 24); this.EtiquetaHaciaSituacion.TabIndex = 16; this.EtiquetaHaciaSituacion.Text = "Situación 2"; this.EtiquetaHaciaSituacion.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaDesdeAntes // this.EntradaDesdeAntes.Location = new System.Drawing.Point(304, 344); this.EntradaDesdeAntes.Name = "EntradaDesdeAntes"; this.EntradaDesdeAntes.Size = new System.Drawing.Size(96, 24); this.EntradaDesdeAntes.TabIndex = 13; this.EntradaDesdeAntes.TabStop = false; // // EntradaDesdeDespues // this.EntradaDesdeDespues.Location = new System.Drawing.Point(440, 344); this.EntradaDesdeDespues.Name = "EntradaDesdeDespues"; this.EntradaDesdeDespues.Size = new System.Drawing.Size(96, 24); this.EntradaDesdeDespues.TabIndex = 15; this.EntradaDesdeDespues.TabStop = false; // // EntradaDesdeSituacion // this.EntradaDesdeSituacion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaDesdeSituacion.AutoTab = true; this.EntradaDesdeSituacion.CanCreate = false; this.EntradaDesdeSituacion.Location = new System.Drawing.Point(136, 256); this.EntradaDesdeSituacion.MaximumSize = new System.Drawing.Size(480, 32); this.EntradaDesdeSituacion.MaxLength = 200; this.EntradaDesdeSituacion.Name = "EntradaDesdeSituacion"; this.EntradaDesdeSituacion.NombreTipo = "Lbl.Articulos.Situacion"; this.EntradaDesdeSituacion.Required = true; this.EntradaDesdeSituacion.Size = new System.Drawing.Size(440, 24); this.EntradaDesdeSituacion.TabIndex = 7; this.EntradaDesdeSituacion.Text = "0"; this.EntradaDesdeSituacion.TextChanged += new System.EventHandler(this.EntradaDesdeHaciaSituacion_TextChanged); // // Label7 // this.Label7.Location = new System.Drawing.Point(24, 256); this.Label7.Name = "Label7"; this.Label7.Size = new System.Drawing.Size(112, 24); this.Label7.TabIndex = 6; this.Label7.Text = "Origen"; this.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaHaciaSituacion // this.EntradaHaciaSituacion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaHaciaSituacion.AutoTab = true; this.EntradaHaciaSituacion.CanCreate = false; this.EntradaHaciaSituacion.Location = new System.Drawing.Point(136, 288); this.EntradaHaciaSituacion.MaximumSize = new System.Drawing.Size(480, 32); this.EntradaHaciaSituacion.MaxLength = 200; this.EntradaHaciaSituacion.Name = "EntradaHaciaSituacion"; this.EntradaHaciaSituacion.NombreTipo = "Lbl.Articulos.Situacion"; this.EntradaHaciaSituacion.Required = true; this.EntradaHaciaSituacion.Size = new System.Drawing.Size(440, 24); this.EntradaHaciaSituacion.TabIndex = 9; this.EntradaHaciaSituacion.Text = "0"; this.EntradaHaciaSituacion.TextChanged += new System.EventHandler(this.EntradaDesdeHaciaSituacion_TextChanged); // // Label8 // this.Label8.Location = new System.Drawing.Point(24, 288); this.Label8.Name = "Label8"; this.Label8.Size = new System.Drawing.Size(112, 24); this.Label8.TabIndex = 8; this.Label8.Text = "Destino"; this.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaHaciaDespues // this.EntradaHaciaDespues.Location = new System.Drawing.Point(440, 376); this.EntradaHaciaDespues.Name = "EntradaHaciaDespues"; this.EntradaHaciaDespues.Size = new System.Drawing.Size(96, 24); this.EntradaHaciaDespues.TabIndex = 19; this.EntradaHaciaDespues.TabStop = false; // // EntradaHaciaAntes // this.EntradaHaciaAntes.Location = new System.Drawing.Point(304, 376); this.EntradaHaciaAntes.Name = "EntradaHaciaAntes"; this.EntradaHaciaAntes.Size = new System.Drawing.Size(96, 24); this.EntradaHaciaAntes.TabIndex = 17; this.EntradaHaciaAntes.TabStop = false; // // EtiquetaDesdeFlecha // this.EtiquetaDesdeFlecha.Location = new System.Drawing.Point(408, 344); this.EtiquetaDesdeFlecha.Name = "EtiquetaDesdeFlecha"; this.EtiquetaDesdeFlecha.Size = new System.Drawing.Size(24, 24); this.EtiquetaDesdeFlecha.TabIndex = 14; this.EtiquetaDesdeFlecha.Text = "»"; this.EtiquetaDesdeFlecha.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // EtiquetaHaciaFlecha // this.EtiquetaHaciaFlecha.Location = new System.Drawing.Point(408, 376); this.EtiquetaHaciaFlecha.Name = "EtiquetaHaciaFlecha"; this.EtiquetaHaciaFlecha.Size = new System.Drawing.Size(24, 24); this.EtiquetaHaciaFlecha.TabIndex = 18; this.EtiquetaHaciaFlecha.Text = "»"; this.EtiquetaHaciaFlecha.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // Label5 // this.Label5.Location = new System.Drawing.Point(304, 320); this.Label5.Name = "Label5"; this.Label5.Size = new System.Drawing.Size(96, 24); this.Label5.TabIndex = 10; this.Label5.Text = "Antes"; this.Label5.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // Label6 // this.Label6.Location = new System.Drawing.Point(440, 320); this.Label6.Name = "Label6"; this.Label6.Size = new System.Drawing.Size(96, 24); this.Label6.TabIndex = 11; this.Label6.Text = "Después"; this.Label6.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // // EntradaArticulo // this.EntradaArticulo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaArticulo.AplicarIva = true; this.EntradaArticulo.BloquearAtriculo = false; this.EntradaArticulo.BloquearCantidad = false; this.EntradaArticulo.BloquearDescuento = false; this.EntradaArticulo.BloquearPrecio = false; this.EntradaArticulo.ControlStock = Lcc.Entrada.Articulos.ControlesSock.Ambos; this.EntradaArticulo.DiscriminarIva = false; this.EntradaArticulo.FreeTextCode = "*"; this.EntradaArticulo.Location = new System.Drawing.Point(136, 176); this.EntradaArticulo.MaximumSize = new System.Drawing.Size(480, 64); this.EntradaArticulo.MostrarExistencias = false; this.EntradaArticulo.MuestraPrecio = false; this.EntradaArticulo.Name = "EntradaArticulo"; this.EntradaArticulo.NombreTipo = "Lbl.Articulos.Articulo"; this.EntradaArticulo.PermiteCrear = false; this.EntradaArticulo.Required = true; this.EntradaArticulo.Size = new System.Drawing.Size(440, 24); this.EntradaArticulo.TabIndex = 3; this.EntradaArticulo.Text = "0"; this.EntradaArticulo.TextDetail = ""; this.EntradaArticulo.UsarPrecio = Lcc.Entrada.Articulos.Precios.Pvp; this.EntradaArticulo.ImportesChanged += new System.EventHandler(this.EntradaArticulo_PrecioCantidadChanged); this.EntradaArticulo.ObtenerDatosSeguimiento += new System.EventHandler(this.EntradaArticulo_ObtenerDatosSeguimiento); // // label10 // this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label10.Location = new System.Drawing.Point(24, 56); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(544, 48); this.label10.TabIndex = 104; this.label10.Text = "Va a realizar un movimiento de mercadería de una situación a otra. Es recomendabl" + "e que haga este movimiento por medio de un comprobante si fuera posible."; // // EtiquetaTitulo // this.EtiquetaTitulo.AutoSize = true; this.EtiquetaTitulo.Location = new System.Drawing.Point(24, 24); this.EtiquetaTitulo.Name = "EtiquetaTitulo"; this.EtiquetaTitulo.Size = new System.Drawing.Size(387, 30); this.EtiquetaTitulo.TabIndex = 103; this.EtiquetaTitulo.Text = "Entrada o salida manual de mercadería"; this.EtiquetaTitulo.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.MainHeader; // // Movimiento // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.ClientSize = new System.Drawing.Size(599, 528); this.Controls.Add(this.label10); this.Controls.Add(this.EtiquetaTitulo); this.Controls.Add(this.EntradaArticulo); this.Controls.Add(this.EtiquetaHaciaFlecha); this.Controls.Add(this.EtiquetaDesdeFlecha); this.Controls.Add(this.EntradaHaciaDespues); this.Controls.Add(this.EntradaHaciaAntes); this.Controls.Add(this.EntradaDesdeDespues); this.Controls.Add(this.EntradaDesdeAntes); this.Controls.Add(this.Label6); this.Controls.Add(this.Label5); this.Controls.Add(this.EntradaHaciaSituacion); this.Controls.Add(this.Label8); this.Controls.Add(this.EntradaDesdeSituacion); this.Controls.Add(this.Label7); this.Controls.Add(this.EtiquetaHaciaSituacion); this.Controls.Add(this.EtiquetaDesdeSituacion); this.Controls.Add(this.EntradaObs); this.Controls.Add(this.EntradaCantidad); this.Controls.Add(this.EntradaMovimiento); this.Controls.Add(this.Label4); this.Controls.Add(this.Label3); this.Controls.Add(this.Label2); this.Controls.Add(this.Label1); this.Name = "Movimiento"; this.Text = "Artículos: entradas y salidas"; this.Controls.SetChildIndex(this.Label1, 0); this.Controls.SetChildIndex(this.Label2, 0); this.Controls.SetChildIndex(this.Label3, 0); this.Controls.SetChildIndex(this.Label4, 0); this.Controls.SetChildIndex(this.EntradaMovimiento, 0); this.Controls.SetChildIndex(this.EntradaCantidad, 0); this.Controls.SetChildIndex(this.EntradaObs, 0); this.Controls.SetChildIndex(this.EtiquetaDesdeSituacion, 0); this.Controls.SetChildIndex(this.EtiquetaHaciaSituacion, 0); this.Controls.SetChildIndex(this.Label7, 0); this.Controls.SetChildIndex(this.EntradaDesdeSituacion, 0); this.Controls.SetChildIndex(this.Label8, 0); this.Controls.SetChildIndex(this.EntradaHaciaSituacion, 0); this.Controls.SetChildIndex(this.Label5, 0); this.Controls.SetChildIndex(this.Label6, 0); this.Controls.SetChildIndex(this.EntradaDesdeAntes, 0); this.Controls.SetChildIndex(this.EntradaDesdeDespues, 0); this.Controls.SetChildIndex(this.EntradaHaciaAntes, 0); this.Controls.SetChildIndex(this.EntradaHaciaDespues, 0); this.Controls.SetChildIndex(this.EtiquetaDesdeFlecha, 0); this.Controls.SetChildIndex(this.EtiquetaHaciaFlecha, 0); this.Controls.SetChildIndex(this.EntradaArticulo, 0); this.Controls.SetChildIndex(this.EtiquetaTitulo, 0); this.Controls.SetChildIndex(this.label10, 0); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.EntradaNumero = new Lui.Forms.TextBox(); this.Label3 = new Lui.Forms.Label(); this.Label1 = new Lui.Forms.Label(); this.EntradaBanco = new Lcc.Entrada.CodigoDetalle(); this.EntradaTipo = new Lui.Forms.ComboBox(); this.Label7 = new Lui.Forms.Label(); this.EntradaNombre = new Lui.Forms.TextBox(); this.Label2 = new Lui.Forms.Label(); this.Label4 = new Lui.Forms.Label(); this.EntradaMoneda = new Lcc.Entrada.CodigoDetalle(); this.EntradaClaveBancaria = new Lui.Forms.TextBox(); this.EtiquetaClaveBancaria = new Lui.Forms.Label(); this.EntradaTitular = new Lui.Forms.TextBox(); this.label6 = new Lui.Forms.Label(); this.EntradaEstado = new Lui.Forms.ComboBox(); this.label8 = new Lui.Forms.Label(); this.SuspendLayout(); // // EntradaNumero // this.EntradaNumero.Location = new System.Drawing.Point(124, 152); this.EntradaNumero.Name = "EntradaNumero"; this.EntradaNumero.ReadOnly = false; this.EntradaNumero.Size = new System.Drawing.Size(228, 24); this.EntradaNumero.TabIndex = 9; this.EntradaNumero.TextChanged += new System.EventHandler(this.NumeroBanco_TextChanged); // // Label3 // this.Label3.Location = new System.Drawing.Point(0, 152); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(120, 24); this.Label3.TabIndex = 8; this.Label3.Text = "Número"; this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // Label1 // this.Label1.Location = new System.Drawing.Point(0, 120); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(120, 24); this.Label1.TabIndex = 6; this.Label1.Text = "Banco"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // EntradaBanco // this.EntradaBanco.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaBanco.CanCreate = true; this.EntradaBanco.Filter = ""; this.EntradaBanco.Location = new System.Drawing.Point(124, 120); this.EntradaBanco.MaxLength = 200; this.EntradaBanco.Name = "EntradaBanco"; this.EntradaBanco.ReadOnly = false; this.EntradaBanco.Required = false; this.EntradaBanco.Size = new System.Drawing.Size(488, 24); this.EntradaBanco.TabIndex = 7; this.EntradaBanco.NombreTipo = "Lbl.Bancos.Banco"; this.EntradaBanco.Text = "0"; this.EntradaBanco.TextChanged += new System.EventHandler(this.NumeroBanco_TextChanged); // // EntradaTipo // this.EntradaTipo.AlwaysExpanded = true; this.EntradaTipo.AutoSize = true; this.EntradaTipo.Location = new System.Drawing.Point(124, 64); this.EntradaTipo.Name = "EntradaTipo"; this.EntradaTipo.ReadOnly = false; this.EntradaTipo.SetData = new string[] { "Efectivo|0", "Caja de ahorro|1", "Cuenta corriente|2" }; this.EntradaTipo.Size = new System.Drawing.Size(168, 51); this.EntradaTipo.TabIndex = 5; this.EntradaTipo.TextKey = "1"; this.EntradaTipo.TextChanged += new System.EventHandler(this.EntradaTipo_TextChanged); // // Label7 // this.Label7.Location = new System.Drawing.Point(0, 64); this.Label7.Name = "Label7"; this.Label7.Size = new System.Drawing.Size(120, 24); this.Label7.TabIndex = 4; this.Label7.Text = "Tipo de Caja"; this.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // EntradaNombre // this.EntradaNombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaNombre.ForceCase = Lui.Forms.TextCasing.Automatic; this.EntradaNombre.Location = new System.Drawing.Point(124, 0); this.EntradaNombre.Name = "EntradaNombre"; this.EntradaNombre.ReadOnly = false; this.EntradaNombre.Size = new System.Drawing.Size(488, 24); this.EntradaNombre.TabIndex = 1; this.EntradaNombre.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.EntradaNombre_KeyPress); // // Label2 // this.Label2.Location = new System.Drawing.Point(0, 0); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(120, 24); this.Label2.TabIndex = 0; this.Label2.Text = "Nombre"; this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // Label4 // this.Label4.Location = new System.Drawing.Point(0, 184); this.Label4.Name = "Label4"; this.Label4.Size = new System.Drawing.Size(120, 24); this.Label4.TabIndex = 10; this.Label4.Text = "Moneda"; this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // EntradaMoneda // this.EntradaMoneda.CanCreate = true; this.EntradaMoneda.Filter = ""; this.EntradaMoneda.Location = new System.Drawing.Point(124, 184); this.EntradaMoneda.MaxLength = 200; this.EntradaMoneda.Name = "EntradaMoneda"; this.EntradaMoneda.ReadOnly = false; this.EntradaMoneda.Required = false; this.EntradaMoneda.Size = new System.Drawing.Size(228, 24); this.EntradaMoneda.TabIndex = 11; this.EntradaMoneda.NombreTipo = "Lbl.Entidades.Moneda"; this.EntradaMoneda.Text = "0"; // // EntradaClaveBancaria // this.EntradaClaveBancaria.Location = new System.Drawing.Point(124, 216); this.EntradaClaveBancaria.MaxLength = 23; this.EntradaClaveBancaria.Name = "EntradaClaveBancaria"; this.EntradaClaveBancaria.ReadOnly = false; this.EntradaClaveBancaria.Size = new System.Drawing.Size(228, 24); this.EntradaClaveBancaria.TabIndex = 13; // // EtiquetaClaveBancaria // this.EtiquetaClaveBancaria.Location = new System.Drawing.Point(0, 216); this.EtiquetaClaveBancaria.Name = "EtiquetaClaveBancaria"; this.EtiquetaClaveBancaria.Size = new System.Drawing.Size(120, 24); this.EtiquetaClaveBancaria.TabIndex = 12; this.EtiquetaClaveBancaria.Text = "Clave Bancaria"; this.EtiquetaClaveBancaria.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // EntradaTitular // this.EntradaTitular.Location = new System.Drawing.Point(124, 32); this.EntradaTitular.Name = "EntradaTitular"; this.EntradaTitular.ReadOnly = false; this.EntradaTitular.Size = new System.Drawing.Size(436, 24); this.EntradaTitular.TabIndex = 3; // // label6 // this.label6.Location = new System.Drawing.Point(0, 32); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(120, 24); this.label6.TabIndex = 2; this.label6.Text = "Titular"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // EntradaEstado // this.EntradaEstado.AlwaysExpanded = true; this.EntradaEstado.AutoSize = true; this.EntradaEstado.Location = new System.Drawing.Point(124, 248); this.EntradaEstado.Name = "EntradaEstado"; this.EntradaEstado.ReadOnly = false; this.EntradaEstado.SetData = new string[] { "Activa|1", "Inactiva|0" }; this.EntradaEstado.Size = new System.Drawing.Size(168, 36); this.EntradaEstado.TabIndex = 15; this.EntradaEstado.TextKey = "1"; // // label8 // this.label8.Location = new System.Drawing.Point(0, 248); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(120, 24); this.label8.TabIndex = 14; this.label8.Text = "Estado"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // Editar // this.Controls.Add(this.Label2); this.Controls.Add(this.EntradaEstado); this.Controls.Add(this.label8); this.Controls.Add(this.EntradaTitular); this.Controls.Add(this.label6); this.Controls.Add(this.EntradaClaveBancaria); this.Controls.Add(this.EtiquetaClaveBancaria); this.Controls.Add(this.Label4); this.Controls.Add(this.EntradaMoneda); this.Controls.Add(this.EntradaNombre); this.Controls.Add(this.Label3); this.Controls.Add(this.EntradaTipo); this.Controls.Add(this.Label7); this.Controls.Add(this.Label1); this.Controls.Add(this.EntradaBanco); this.Controls.Add(this.EntradaNumero); this.Name = "Editar"; this.Size = new System.Drawing.Size(615, 352); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.Label1 = new Lui.Forms.Label(); this.Label2 = new Lui.Forms.Label(); this.Label3 = new Lui.Forms.Label(); this.EntradaNombre = new Lui.Forms.TextBox(); this.EntradaDireccion = new Lui.Forms.ComboBox(); this.EntradaGrupo = new Lui.Forms.ComboBox(); this.EntradaCodigo = new Lui.Forms.TextBox(); this.label4 = new Lui.Forms.Label(); this.SuspendLayout(); // // Label1 // this.Label1.Location = new System.Drawing.Point(0, 32); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(104, 24); this.Label1.TabIndex = 4; this.Label1.Text = "Nombre"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label2 // this.Label2.Location = new System.Drawing.Point(0, 64); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(104, 24); this.Label2.TabIndex = 6; this.Label2.Text = "Dirección"; this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label3 // this.Label3.Location = new System.Drawing.Point(-4, 128); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(100, 24); this.Label3.TabIndex = 8; this.Label3.Text = "Tipo"; this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaNombre // this.EntradaNombre.ForceCase = Lui.Forms.TextCasing.Automatic; this.EntradaNombre.Location = new System.Drawing.Point(104, 32); this.EntradaNombre.Name = "EntradaNombre"; this.EntradaNombre.ReadOnly = false; this.EntradaNombre.Size = new System.Drawing.Size(504, 24); this.EntradaNombre.TabIndex = 5; // // EntradaDireccion // this.EntradaDireccion.AlwaysExpanded = true; this.EntradaDireccion.AutoSize = true; this.EntradaDireccion.Location = new System.Drawing.Point(104, 64); this.EntradaDireccion.Name = "EntradaDireccion"; this.EntradaDireccion.ReadOnly = false; this.EntradaDireccion.SetData = new string[] { "Ambas|0", "Entrada|1", "Salida|2"}; this.EntradaDireccion.Size = new System.Drawing.Size(180, 51); this.EntradaDireccion.TabIndex = 7; this.EntradaDireccion.TextKey = "0"; // // EntradaGrupo // this.EntradaGrupo.AlwaysExpanded = true; this.EntradaGrupo.AutoSize = true; this.EntradaGrupo.Location = new System.Drawing.Point(100, 128); this.EntradaGrupo.Name = "EntradaGrupo"; this.EntradaGrupo.ReadOnly = false; this.EntradaGrupo.SetData = new string[] { "Ninguno|0", "Cobros|110", "Otros ingresos|100", "Gastos fijos|230", "Gastos variables|240", "Otros gastos|200", "Pérdida|260", "Reinversión|250", "Costo materiales|210", "Costo capital|220", "Sueldos y salarios|231", "Movimientos y ajustes|300"}; this.EntradaGrupo.Size = new System.Drawing.Size(284, 81); this.EntradaGrupo.TabIndex = 9; this.EntradaGrupo.TextKey = "200"; // // EntradaCodigo // this.EntradaCodigo.DataType = Lui.Forms.DataTypes.Integer; this.EntradaCodigo.Enabled = false; this.EntradaCodigo.Location = new System.Drawing.Point(104, 0); this.EntradaCodigo.Name = "EntradaCodigo"; this.EntradaCodigo.ReadOnly = false; this.EntradaCodigo.Size = new System.Drawing.Size(76, 24); this.EntradaCodigo.TabIndex = 3; this.EntradaCodigo.Text = "0"; // // label4 // this.label4.Location = new System.Drawing.Point(0, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(104, 24); this.label4.TabIndex = 0; this.label4.Text = "Código"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Editar // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoSize = true; this.Controls.Add(this.EntradaCodigo); this.Controls.Add(this.EntradaGrupo); this.Controls.Add(this.EntradaDireccion); this.Controls.Add(this.EntradaNombre); this.Controls.Add(this.label4); this.Controls.Add(this.Label1); this.Controls.Add(this.Label3); this.Controls.Add(this.Label2); this.Name = "Editar"; this.Size = new System.Drawing.Size(620, 214); this.ResumeLayout(false); this.PerformLayout(); }