private bool ClicarBoton(Control.ControlCollection controls, string keyName) { foreach (System.Windows.Forms.Control ctl in controls) { if (ctl == null) { //Nada } else if (ctl is Lui.Forms.Button) { Lui.Forms.Button Btn = ctl as Lui.Forms.Button; if (Btn.Subtext == keyName && Btn.Visible && Btn.Enabled) { Btn.PerformClick(); return(true); } } else if (ctl.Controls != null) { if (ClicarBoton(ctl.Controls, keyName)) { return(true); } } } return(false); }
private void InitializeComponent() { this.BotonCambioMasivoPrecios = new Lui.Forms.Button(); this.EntradaBuscarExtra = new Lui.Forms.TextBox(); this.PanelContadores.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PicEsperar)).BeginInit(); this.SuspendLayout(); // // EtiquetaListadoVacio // this.EtiquetaListadoVacio.Size = new System.Drawing.Size(466, 80); // // Listado // this.Listado.Margin = new System.Windows.Forms.Padding(2); this.Listado.Size = new System.Drawing.Size(554, 441); // // BotonCambioMasivoPrecios // this.BotonCambioMasivoPrecios.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.BotonCambioMasivoPrecios.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonCambioMasivoPrecios.Image = null; this.BotonCambioMasivoPrecios.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCambioMasivoPrecios.Location = new System.Drawing.Point(44, 0); this.BotonCambioMasivoPrecios.Margin = new System.Windows.Forms.Padding(0, 6, 0, 0); this.BotonCambioMasivoPrecios.MaximumSize = new System.Drawing.Size(160, 64); this.BotonCambioMasivoPrecios.MinimumSize = new System.Drawing.Size(96, 32); this.BotonCambioMasivoPrecios.Name = "BotonCambioMasivoPrecios"; this.BotonCambioMasivoPrecios.Size = new System.Drawing.Size(136, 40); this.BotonCambioMasivoPrecios.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonCambioMasivoPrecios.Subtext = "F7"; this.BotonCambioMasivoPrecios.TabIndex = 49; this.BotonCambioMasivoPrecios.Text = "Precios"; this.BotonCambioMasivoPrecios.Click += new System.EventHandler(this.BotonCambioMasivoPrecios_Click); // // EntradaBuscarExtra // this.EntradaBuscarExtra.Location = new System.Drawing.Point(8, 48); this.EntradaBuscarExtra.Name = "EntradaBuscarExtra"; this.EntradaBuscarExtra.PlaceholderText = "Buscar Extra"; this.EntradaBuscarExtra.Size = new System.Drawing.Size(212, 24); this.EntradaBuscarExtra.TabIndex = 1; this.EntradaBuscarExtra.KeyDown += new System.Windows.Forms.KeyEventHandler(this.EntradaBuscarExtra_KeyDown); // // Inicio // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.ClientSize = new System.Drawing.Size(779, 447); this.Margin = new System.Windows.Forms.Padding(5); this.PanelAcciones.Controls.Add(this.BotonCambioMasivoPrecios); this.Controls.Add(this.EntradaBuscarExtra); this.MinimumSize = new System.Drawing.Size(639, 397); this.Name = "Inicio"; this.PanelContadores.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.PicEsperar)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.BotonCambioMasivoPrecios = new Lui.Forms.Button(); this.PanelContadores.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PicEsperar)).BeginInit(); this.SuspendLayout(); // // EtiquetaListadoVacio // this.EtiquetaListadoVacio.Size = new System.Drawing.Size(583, 100); // // BotonCrear // this.BotonCrear.Location = new System.Drawing.Point(54, 409); // // Listado // this.Listado.Size = new System.Drawing.Size(908, 661); // // BotonCambioMasivoPrecios // this.BotonCambioMasivoPrecios.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.BotonCambioMasivoPrecios.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonCambioMasivoPrecios.Image = null; this.BotonCambioMasivoPrecios.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCambioMasivoPrecios.Location = new System.Drawing.Point(55, 171); this.BotonCambioMasivoPrecios.Margin = new System.Windows.Forms.Padding(0, 7, 0, 0); this.BotonCambioMasivoPrecios.MaximumSize = new System.Drawing.Size(160, 64); this.BotonCambioMasivoPrecios.MinimumSize = new System.Drawing.Size(96, 32); this.BotonCambioMasivoPrecios.Name = "BotonCambioMasivoPrecios"; this.BotonCambioMasivoPrecios.Size = new System.Drawing.Size(160, 50); this.BotonCambioMasivoPrecios.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonCambioMasivoPrecios.Subtext = "F7"; this.BotonCambioMasivoPrecios.TabIndex = 49; this.BotonCambioMasivoPrecios.Text = "Precios"; this.BotonCambioMasivoPrecios.Click += new System.EventHandler(this.BotonCambioMasivoPrecios_Click); // // Inicio // this.PanelAcciones.Controls.Add(this.BotonCambioMasivoPrecios); this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F); this.ClientSize = new System.Drawing.Size(972, 551); this.Name = "Inicio"; this.PanelContadores.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.PicEsperar)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.BotonCambioMasivoPrecios = new Lui.Forms.Button(); this.PanelContadores.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PicEsperar)).BeginInit(); this.SuspendLayout(); // // PanelContadores // this.PanelContadores.Controls.Add(this.BotonCambioMasivoPrecios); this.PanelContadores.Controls.SetChildIndex(this.EtiquetaContador2, 0); this.PanelContadores.Controls.SetChildIndex(this.EtiquetaContador1, 0); this.PanelContadores.Controls.SetChildIndex(this.EntradaContador2, 0); this.PanelContadores.Controls.SetChildIndex(this.EntradaContador1, 0); this.PanelContadores.Controls.SetChildIndex(this.EtiquetaContador3, 0); this.PanelContadores.Controls.SetChildIndex(this.EntradaContador3, 0); this.PanelContadores.Controls.SetChildIndex(this.EtiquetaContador4, 0); this.PanelContadores.Controls.SetChildIndex(this.EntradaContador4, 0); this.PanelContadores.Controls.SetChildIndex(this.BotonCambioMasivoPrecios, 0); // // BotonCambioMasivoPrecios // this.BotonCambioMasivoPrecios.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.BotonCambioMasivoPrecios.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonCambioMasivoPrecios.Image = null; this.BotonCambioMasivoPrecios.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCambioMasivoPrecios.Location = new System.Drawing.Point(35, 118); this.BotonCambioMasivoPrecios.Margin = new System.Windows.Forms.Padding(0, 6, 0, 0); this.BotonCambioMasivoPrecios.MaximumSize = new System.Drawing.Size(108, 40); this.BotonCambioMasivoPrecios.MinimumSize = new System.Drawing.Size(96, 32); this.BotonCambioMasivoPrecios.Name = "BotonCambioMasivoPrecios"; this.BotonCambioMasivoPrecios.Size = new System.Drawing.Size(108, 40); this.BotonCambioMasivoPrecios.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonCambioMasivoPrecios.Subtext = "F7"; this.BotonCambioMasivoPrecios.TabIndex = 49; this.BotonCambioMasivoPrecios.Text = "Precios"; this.BotonCambioMasivoPrecios.Click += new System.EventHandler(this.BotonCambioMasivoPrecios_Click); // // Inicio // this.ClientSize = new System.Drawing.Size(864, 441); this.Name = "Inicio"; this.PanelContadores.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.PicEsperar)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.PrintPreview = new System.Windows.Forms.PrintPreviewControl(); this.CancelCommandButton = new Lui.Forms.Button(); this.SaveButton = new Lui.Forms.Button(); this.LowerPanel = new Lui.Forms.ButtonPanel(); this.BotonZoom = new Lui.Forms.Button(); this.LowerPanel.SuspendLayout(); this.SuspendLayout(); // // PrintPreview // this.PrintPreview.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.PrintPreview.AutoZoom = false; this.PrintPreview.Location = new System.Drawing.Point(0, 0); this.PrintPreview.Name = "PrintPreview"; this.PrintPreview.Size = new System.Drawing.Size(616, 344); this.PrintPreview.TabIndex = 500; this.PrintPreview.UseAntiAlias = true; this.PrintPreview.Zoom = 1D; this.PrintPreview.KeyDown += new System.Windows.Forms.KeyEventHandler(this.PrintPreview_KeyDown); // // CancelCommandButton // this.CancelCommandButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.CancelCommandButton.DialogResult = System.Windows.Forms.DialogResult.None; this.CancelCommandButton.ForeColor = System.Drawing.SystemColors.ControlText; this.CancelCommandButton.Image = null; this.CancelCommandButton.ImagePos = Lui.Forms.ImagePositions.Top; this.CancelCommandButton.Location = new System.Drawing.Point(328, 0); this.CancelCommandButton.Margin = new System.Windows.Forms.Padding(0); this.CancelCommandButton.MaximumSize = new System.Drawing.Size(108, 40); this.CancelCommandButton.MinimumSize = new System.Drawing.Size(96, 32); this.CancelCommandButton.Name = "CancelCommandButton"; this.CancelCommandButton.Padding = new System.Windows.Forms.Padding(2); this.CancelCommandButton.Size = new System.Drawing.Size(96, 40); this.CancelCommandButton.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.CancelCommandButton.Subtext = "Esc"; this.CancelCommandButton.TabIndex = 111; this.CancelCommandButton.Text = "Cancelar"; this.CancelCommandButton.Click += new System.EventHandler(this.BotonCancelar_Click); // // SaveButton // this.SaveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.SaveButton.DialogResult = System.Windows.Forms.DialogResult.None; this.SaveButton.ForeColor = System.Drawing.SystemColors.ControlText; this.SaveButton.Image = null; this.SaveButton.ImagePos = Lui.Forms.ImagePositions.Top; this.SaveButton.Location = new System.Drawing.Point(424, 0); this.SaveButton.Margin = new System.Windows.Forms.Padding(0); this.SaveButton.MaximumSize = new System.Drawing.Size(108, 40); this.SaveButton.MinimumSize = new System.Drawing.Size(96, 32); this.SaveButton.Name = "SaveButton"; this.SaveButton.Padding = new System.Windows.Forms.Padding(2); this.SaveButton.Size = new System.Drawing.Size(96, 40); this.SaveButton.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.SaveButton.Subtext = "F8"; this.SaveButton.TabIndex = 110; this.SaveButton.Text = "Imprimir"; // // LowerPanel // this.LowerPanel.Controls.Add(this.BotonZoom); this.LowerPanel.Controls.Add(this.SaveButton); this.LowerPanel.Controls.Add(this.CancelCommandButton); this.LowerPanel.Dock = System.Windows.Forms.DockStyle.Bottom; this.LowerPanel.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.LowerPanel.Location = new System.Drawing.Point(0, 353); this.LowerPanel.Name = "LowerPanel"; this.LowerPanel.Size = new System.Drawing.Size(616, 52); this.LowerPanel.TabIndex = 106; // // BotonZoom // this.BotonZoom.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonZoom.ForeColor = System.Drawing.SystemColors.ControlText; this.BotonZoom.Image = null; this.BotonZoom.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonZoom.Location = new System.Drawing.Point(520, 0); this.BotonZoom.Margin = new System.Windows.Forms.Padding(0); this.BotonZoom.MaximumSize = new System.Drawing.Size(108, 40); this.BotonZoom.MinimumSize = new System.Drawing.Size(96, 32); this.BotonZoom.Name = "BotonZoom"; this.BotonZoom.Padding = new System.Windows.Forms.Padding(2); this.BotonZoom.Size = new System.Drawing.Size(96, 40); this.BotonZoom.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonZoom.Subtext = "F2"; this.BotonZoom.TabIndex = 101; this.BotonZoom.Text = "Zoom"; this.BotonZoom.Click += new System.EventHandler(this.BotonZoom_Click); // // PrintPreviewForm // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(616, 405); this.Controls.Add(this.LowerPanel); this.Controls.Add(this.PrintPreview); this.ForeColor = System.Drawing.SystemColors.ControlText; this.Name = "PrintPreviewForm"; this.Text = "Vista Previa"; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FormVistaPrevia_KeyDown); this.LowerPanel.ResumeLayout(false); this.ResumeLayout(false); }
public void ActualizarControl() { if (FormActions == null) { PanelPrimario.Controls.Clear(); PanelSecundario.Controls.Clear(); return; } this.SuspendLayout(); PanelPrimario.SuspendLayout(); PanelSecundario.SuspendLayout(); // Primero elimino los botones que ya no están en la lista foreach (Control btn in PanelPrimario.Controls) { if (btn is Lui.Forms.Button) { if (FormActions.ContainsKey(btn.Name) == false) { // No existe... lo elimino PanelPrimario.Controls.Remove(btn); btn.Dispose(); } else if (FormActions[btn.Name].Visibility != Lazaro.Pres.Forms.FormActionVisibility.Main) { // Existe... pero no en el panel primario PanelPrimario.Controls.Remove(btn); btn.Dispose(); } } } foreach (Control btn in PanelSecundario.Controls) { if (btn is Lui.Forms.Button) { if (FormActions.ContainsKey(btn.Name) == false) { // No existe... lo elimino PanelSecundario.Controls.Remove(btn); btn.Dispose(); } else if (FormActions[btn.Name].Visibility != Lazaro.Pres.Forms.FormActionVisibility.Secondary) { // Existe... pero no en el panel secundario PanelSecundario.Controls.Remove(btn); btn.Dispose(); } } } int PrimaryWidth = 0, SecondaryWidth = 0; // Ordeno por TabIndex this.FormActions.Sort(delegate(Lazaro.Pres.Forms.FormAction itm, Lazaro.Pres.Forms.FormAction itm2) { return(itm.TabIndex.CompareTo(itm2.TabIndex)); }); int IdxPri = 0, IdxSec = 0; // Ahora agrego o actualizo los botones existentes foreach (Lazaro.Pres.Forms.FormAction act in this.FormActions) { // Me fijo en que panel va FlowLayoutPanel Panel; if (act.Visibility == Lazaro.Pres.Forms.FormActionVisibility.Main) { Panel = this.PanelPrimario; } else if (act.Visibility == Lazaro.Pres.Forms.FormActionVisibility.Secondary) { Panel = this.PanelSecundario; } else { Panel = null; } if (Panel != null) { Lui.Forms.Button Btn; if (Panel.Controls.ContainsKey(act.Name)) { // Existe, lo actualizo Btn = Panel.Controls[act.Name] as Lui.Forms.Button; } else { // No existe, lo agrego Btn = new Lui.Forms.Button(); Btn.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); Btn.Name = act.Name; Btn.Size = new System.Drawing.Size(116, Panel.ClientRectangle.Height); Btn.Visible = true; Btn.Click += new EventHandler(this.Btn_Click); Panel.Controls.Add(Btn); } Btn.Text = act.Text; Btn.Subtext = act.SubText; if (act.SubText == null) { Btn.SubLabelPos = SubLabelPositions.None; } else { Btn.SubLabelPos = SubLabelPositions.Bottom; } Btn.Enabled = act.Enabled; Btn.TabIndex = act.TabIndex; if (Panel == this.PanelPrimario) { Panel.Controls.SetChildIndex(Btn, IdxPri++); } else { Panel.Controls.SetChildIndex(Btn, IdxSec++); } if (act.Visibility == Lazaro.Pres.Forms.FormActionVisibility.Main) { PrimaryWidth += Btn.Width + Btn.Margin.Left + Btn.Margin.Right; } else if (act.Visibility == Lazaro.Pres.Forms.FormActionVisibility.Secondary) { SecondaryWidth += Btn.Width + Btn.Margin.Left + Btn.Margin.Right; } } } PanelPrimario.Width = PrimaryWidth + 8; PanelSecundario.Width = SecondaryWidth + 8; PanelSecundario.ResumeLayout(true); PanelPrimario.ResumeLayout(true); this.ResumeLayout(true); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormularioListadoBase)); this.Listado = new Lui.Forms.ListView(); this.EtiquetaContador2 = new Lui.Forms.Label(); this.EntradaContador2 = new Lui.Forms.TextBox(); this.EtiquetaContador1 = new Lui.Forms.Label(); this.EntradaContador1 = new Lui.Forms.TextBox(); this.EtiquetaCantidad = new Lui.Forms.Label(); this.BotonImprimir = new Lui.Forms.Button(); this.BotonFiltrar = new Lui.Forms.Button(); this.BotonCancelar = new Lui.Forms.Button(); this.PanelContadores = new Lui.Forms.Panel(); this.EntradaContador4 = new Lui.Forms.TextBox(); this.EtiquetaContador4 = new Lui.Forms.Label(); this.EntradaContador3 = new Lui.Forms.TextBox(); this.EtiquetaContador3 = new Lui.Forms.Label(); this.RefreshTimer = new System.Windows.Forms.Timer(this.components); this.PicEsperar = new System.Windows.Forms.PictureBox(); this.PanelAcciones = new Lui.Forms.ButtonPanel(); this.PanelContadores.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PicEsperar)).BeginInit(); this.PanelAcciones.SuspendLayout(); this.SuspendLayout(); // // Listado // this.Listado.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.Listado.BorderStyle = System.Windows.Forms.BorderStyle.None; this.Listado.FieldName = null; this.Listado.FullRowSelect = true; this.Listado.HideSelection = false; this.Listado.Location = new System.Drawing.Point(224, 0); this.Listado.MultiSelect = false; this.Listado.Name = "Listado"; this.Listado.ReadOnly = false; this.Listado.Size = new System.Drawing.Size(640, 441); this.Listado.TabIndex = 3; this.Listado.UseCompatibleStateImageBehavior = false; this.Listado.View = System.Windows.Forms.View.Details; this.Listado.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.Listado_ColumnClick); this.Listado.DoubleClick += new System.EventHandler(this.Listado_DoubleClick); this.Listado.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Listado_KeyDown); // // EtiquetaContador2 // this.EtiquetaContador2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EtiquetaContador2.Location = new System.Drawing.Point(0, 28); this.EtiquetaContador2.Name = "EtiquetaContador2"; this.EtiquetaContador2.Size = new System.Drawing.Size(100, 24); this.EtiquetaContador2.TabIndex = 63; this.EtiquetaContador2.Text = "Contador2"; this.EtiquetaContador2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.EtiquetaContador2.UseMnemonic = false; this.EtiquetaContador2.Visible = false; // // EntradaContador2 // this.EntradaContador2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.EntradaContador2.Location = new System.Drawing.Point(100, 28); this.EntradaContador2.Name = "EntradaContador2"; this.EntradaContador2.ReadOnly = true; this.EntradaContador2.Size = new System.Drawing.Size(108, 24); this.EntradaContador2.TabIndex = 62; this.EntradaContador2.TabStop = false; this.EntradaContador2.Visible = false; // // EtiquetaContador1 // this.EtiquetaContador1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EtiquetaContador1.Location = new System.Drawing.Point(0, 0); this.EtiquetaContador1.Name = "EtiquetaContador1"; this.EtiquetaContador1.Size = new System.Drawing.Size(100, 24); this.EtiquetaContador1.TabIndex = 61; this.EtiquetaContador1.Text = "Contador 1"; this.EtiquetaContador1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.EtiquetaContador1.UseMnemonic = false; this.EtiquetaContador1.Visible = false; // // EntradaContador1 // this.EntradaContador1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.EntradaContador1.Location = new System.Drawing.Point(100, 0); this.EntradaContador1.Name = "EntradaContador1"; this.EntradaContador1.ReadOnly = true; this.EntradaContador1.Size = new System.Drawing.Size(108, 24); this.EntradaContador1.TabIndex = 60; this.EntradaContador1.TabStop = false; this.EntradaContador1.Visible = false; // // EtiquetaCantidad // this.EtiquetaCantidad.AutoEllipsis = true; this.EtiquetaCantidad.Location = new System.Drawing.Point(32, 192); this.EtiquetaCantidad.Name = "EtiquetaCantidad"; this.EtiquetaCantidad.Size = new System.Drawing.Size(184, 40); this.EtiquetaCantidad.TabIndex = 59; this.EtiquetaCantidad.Text = "Cargando..."; this.EtiquetaCantidad.UseMnemonic = false; // // BotonImprimir // this.BotonImprimir.Anchor = System.Windows.Forms.AnchorStyles.None; this.BotonImprimir.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonImprimir.Image = null; this.BotonImprimir.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonImprimir.Location = new System.Drawing.Point(44, 91); this.BotonImprimir.Margin = new System.Windows.Forms.Padding(0, 6, 0, 0); this.BotonImprimir.MaximumSize = new System.Drawing.Size(160, 64); this.BotonImprimir.MinimumSize = new System.Drawing.Size(96, 32); this.BotonImprimir.Name = "BotonImprimir"; this.BotonImprimir.Size = new System.Drawing.Size(136, 40); this.BotonImprimir.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonImprimir.Subtext = "F8"; this.BotonImprimir.TabIndex = 65; this.BotonImprimir.Text = "Listado"; this.BotonImprimir.Click += new System.EventHandler(this.BotonImprimir_Click); // // BotonFiltrar // this.BotonFiltrar.Anchor = System.Windows.Forms.AnchorStyles.None; this.BotonFiltrar.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonFiltrar.Image = null; this.BotonFiltrar.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonFiltrar.Location = new System.Drawing.Point(44, 45); this.BotonFiltrar.Margin = new System.Windows.Forms.Padding(0, 6, 0, 0); this.BotonFiltrar.MaximumSize = new System.Drawing.Size(160, 64); this.BotonFiltrar.MinimumSize = new System.Drawing.Size(96, 32); this.BotonFiltrar.Name = "BotonFiltrar"; this.BotonFiltrar.Size = new System.Drawing.Size(136, 40); this.BotonFiltrar.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonFiltrar.Subtext = "F2"; this.BotonFiltrar.TabIndex = 64; this.BotonFiltrar.Text = "Filtrar"; this.BotonFiltrar.Visible = false; this.BotonFiltrar.Click += new System.EventHandler(this.BotonFiltrar_Click); // // BotonCancelar // this.BotonCancelar.Anchor = System.Windows.Forms.AnchorStyles.None; this.BotonCancelar.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonCancelar.Image = null; this.BotonCancelar.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCancelar.Location = new System.Drawing.Point(44, 137); this.BotonCancelar.Margin = new System.Windows.Forms.Padding(0, 6, 0, 0); this.BotonCancelar.MaximumSize = new System.Drawing.Size(160, 64); this.BotonCancelar.MinimumSize = new System.Drawing.Size(96, 32); this.BotonCancelar.Name = "BotonCancelar"; this.BotonCancelar.Size = new System.Drawing.Size(136, 40); this.BotonCancelar.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonCancelar.Subtext = "Esc"; this.BotonCancelar.TabIndex = 66; this.BotonCancelar.Text = "Volver"; this.BotonCancelar.Click += new System.EventHandler(this.BotonCancelar_Click); // // PanelContadores // this.PanelContadores.Controls.Add(this.EntradaContador4); this.PanelContadores.Controls.Add(this.EtiquetaContador4); this.PanelContadores.Controls.Add(this.EntradaContador3); this.PanelContadores.Controls.Add(this.EtiquetaContador3); this.PanelContadores.Controls.Add(this.EntradaContador1); this.PanelContadores.Controls.Add(this.EntradaContador2); this.PanelContadores.Controls.Add(this.EtiquetaContador1); this.PanelContadores.Controls.Add(this.EtiquetaContador2); this.PanelContadores.Location = new System.Drawing.Point(8, 72); this.PanelContadores.Name = "PanelContadores"; this.PanelContadores.Size = new System.Drawing.Size(208, 108); this.PanelContadores.TabIndex = 67; // // EntradaContador4 // this.EntradaContador4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.EntradaContador4.Location = new System.Drawing.Point(100, 84); this.EntradaContador4.Name = "EntradaContador4"; this.EntradaContador4.ReadOnly = true; this.EntradaContador4.Size = new System.Drawing.Size(108, 24); this.EntradaContador4.TabIndex = 66; this.EntradaContador4.TabStop = false; this.EntradaContador4.Visible = false; // // EtiquetaContador4 // this.EtiquetaContador4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EtiquetaContador4.Location = new System.Drawing.Point(0, 84); this.EtiquetaContador4.Name = "EtiquetaContador4"; this.EtiquetaContador4.Size = new System.Drawing.Size(100, 24); this.EtiquetaContador4.TabIndex = 67; this.EtiquetaContador4.Text = "Contador2"; this.EtiquetaContador4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.EtiquetaContador4.UseMnemonic = false; this.EtiquetaContador4.Visible = false; // // EntradaContador3 // this.EntradaContador3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.EntradaContador3.Location = new System.Drawing.Point(100, 56); this.EntradaContador3.Name = "EntradaContador3"; this.EntradaContador3.ReadOnly = true; this.EntradaContador3.Size = new System.Drawing.Size(108, 24); this.EntradaContador3.TabIndex = 64; this.EntradaContador3.TabStop = false; this.EntradaContador3.Visible = false; // // EtiquetaContador3 // this.EtiquetaContador3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EtiquetaContador3.Location = new System.Drawing.Point(0, 56); this.EtiquetaContador3.Name = "EtiquetaContador3"; this.EtiquetaContador3.Size = new System.Drawing.Size(100, 24); this.EtiquetaContador3.TabIndex = 65; this.EtiquetaContador3.Text = "Contador2"; this.EtiquetaContador3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.EtiquetaContador3.UseMnemonic = false; this.EtiquetaContador3.Visible = false; // // RefreshTimer // this.RefreshTimer.Interval = 50; this.RefreshTimer.Tick += new System.EventHandler(this.RefreshTimer_Tick); // // PicEsperar // this.PicEsperar.Image = global::Lfc.Properties.Resources.ajax_loader; this.PicEsperar.Location = new System.Drawing.Point(8, 196); this.PicEsperar.Name = "PicEsperar"; this.PicEsperar.Size = new System.Drawing.Size(16, 16); this.PicEsperar.TabIndex = 68; this.PicEsperar.TabStop = false; // // PanelAcciones // this.PanelAcciones.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.PanelAcciones.Controls.Add(this.BotonCancelar); this.PanelAcciones.Controls.Add(this.BotonImprimir); this.PanelAcciones.Controls.Add(this.BotonFiltrar); this.PanelAcciones.FlowDirection = System.Windows.Forms.FlowDirection.BottomUp; this.PanelAcciones.Location = new System.Drawing.Point(0, 240); this.PanelAcciones.Name = "PanelAcciones"; this.PanelAcciones.Padding = new System.Windows.Forms.Padding(44, 12, 44, 12); this.PanelAcciones.Size = new System.Drawing.Size(224, 201); this.PanelAcciones.TabIndex = 4; // // FormularioListadoBase // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.ClientSize = new System.Drawing.Size(864, 441); this.Controls.Add(this.PanelAcciones); this.Controls.Add(this.PicEsperar); this.Controls.Add(this.PanelContadores); this.Controls.Add(this.Listado); this.Controls.Add(this.EtiquetaCantidad); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5); this.MinimumSize = new System.Drawing.Size(640, 398); this.Name = "FormularioListadoBase"; this.Text = "FormularioListadoBase"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormularioListadoBase_FormClosing); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FormularioListadoBase_KeyDown); this.PanelContadores.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.PicEsperar)).EndInit(); this.PanelAcciones.ResumeLayout(false); this.ResumeLayout(false); }
private void LowerPanel_ButtonClick(object sender, EventArgs e) { string ActionName = null; Lui.Forms.Button SenderButton = sender as Lui.Forms.Button; if (SenderButton != null) { ActionName = SenderButton.Name; } else { Lui.Forms.LinkLabel SenderLinkLabel = sender as Lui.Forms.LinkLabel; if (SenderLinkLabel != null) { ActionName = SenderLinkLabel.Name; } } if (ActionName != null) { // doy la oportunidad de que lo procese el ControlUnico. Lfx.Types.OperationResult Res = this.ControlUnico.PerformFormAction(ActionName); if (Res != null) { if (Res.Success == false && Res.Cancel == false && Res.Message != null) { Lfx.Workspace.Master.RunTime.Toast(Res.Message, "Error"); } } else { // No lo procesó, así que puedo hacerlo yo switch (ActionName) { case "aceptar": Guardar(); break; case "cancelar": Cancelar(); break; case "imprimir": Imprimir(); break; case "comentarios": EditarComentarios(); break; case "historial": MostrarHistorial(); break; case "panelextendido": EditarPanelExtendido(); break; } } } }
private void InitializeComponent() { this.Label1 = new Lui.Forms.Label(); this.Label2 = new Lui.Forms.Label(); this.Label3 = new Lui.Forms.Label(); this.Label5 = new Lui.Forms.Label(); this.Label6 = new Lui.Forms.Label(); this.Label7 = new Lui.Forms.Label(); this.EntradaFacturacion = new Lui.Forms.TextBox(); this.txtCosto = new Lui.Forms.TextBox(); this.txtGastosFijos = new Lui.Forms.TextBox(); this.txtGastosVariables = new Lui.Forms.TextBox(); this.txtOtrosEgresos = new Lui.Forms.TextBox(); this.BotonGastosFijos = new Lui.Forms.Button(); this.BotonGastosVariables = new Lui.Forms.Button(); this.BotonOtrosEgresos = new Lui.Forms.Button(); this.Listado = new Lui.Forms.ListView(); this.id = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.fecha = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.concepto = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.importe = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.cuenta = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.comprob = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.obs = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.txtCobros = new Lui.Forms.TextBox(); this.Label10 = new Lui.Forms.Label(); this.BotonCobros = new Lui.Forms.Button(); this.txtDiferenciaNeta = new Lui.Forms.TextBox(); this.Label9 = new Lui.Forms.Label(); this.txtDiferenciaBruta = new Lui.Forms.TextBox(); this.Label11 = new Lui.Forms.Label(); this.Label13 = new Lui.Forms.Label(); this.Label15 = new Lui.Forms.Label(); this.Label16 = new Lui.Forms.Label(); this.Label17 = new Lui.Forms.Label(); this.Label18 = new Lui.Forms.Label(); this.Label20 = new Lui.Forms.Label(); this.txtFecha1 = new Lui.Forms.TextBox(); this.txtFecha2 = new Lui.Forms.TextBox(); this.Label22 = new Lui.Forms.Label(); this.lblDiferenciaBrutaPct = new Lui.Forms.Label(); this.lblDiferenciaNetaPct = new Lui.Forms.Label(); this.ChartButton = new Lui.Forms.Button(); this.PorTipo = new Lui.Forms.Button(); this.txtCompraMateriales = new Lui.Forms.TextBox(); this.label25 = new Lui.Forms.Label(); this.BotonCostoCapital = new Lui.Forms.Button(); this.txtCostoCapital = new Lui.Forms.TextBox(); this.label26 = new Lui.Forms.Label(); this.label27 = new Lui.Forms.Label(); this.BotonCostoMateriales = new Lui.Forms.Button(); this.BotonIngresosOtros = new Lui.Forms.Button(); this.EntradaIngresosOtros = new Lui.Forms.TextBox(); this.label24 = new Lui.Forms.Label(); this.label4 = new Lui.Forms.Label(); this.label8 = new Lui.Forms.Label(); this.label12 = new Lui.Forms.Label(); this.label14 = new Lui.Forms.Label(); this.EntradaGestionCobro = new Lui.Forms.TextBox(); this.BotonGestionCobro = new Lui.Forms.Button(); this.SuspendLayout(); // // Label1 // this.Label1.Location = new System.Drawing.Point(12, 12); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(44, 24); this.Label1.TabIndex = 0; this.Label1.Text = "Entre"; this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label2 // this.Label2.Location = new System.Drawing.Point(16, 68); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(172, 24); this.Label2.TabIndex = 28; this.Label2.Text = "Facturación Total"; this.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label3 // this.Label3.Location = new System.Drawing.Point(16, 428); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(172, 24); this.Label3.TabIndex = 10; this.Label3.Text = "Compra de Materiales"; this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label5 // this.Label5.Location = new System.Drawing.Point(16, 220); this.Label5.Name = "Label5"; this.Label5.Size = new System.Drawing.Size(172, 24); this.Label5.TabIndex = 16; this.Label5.Text = "Gastos Fijos"; this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label6 // this.Label6.Location = new System.Drawing.Point(16, 248); this.Label6.Name = "Label6"; this.Label6.Size = new System.Drawing.Size(172, 24); this.Label6.TabIndex = 19; this.Label6.Text = "Gastos Variables"; this.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label7 // this.Label7.Location = new System.Drawing.Point(16, 276); this.Label7.Name = "Label7"; this.Label7.Size = new System.Drawing.Size(172, 24); this.Label7.TabIndex = 22; this.Label7.Text = "Otros Egresos"; this.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtFacturacion // this.EntradaFacturacion.AutoSize = false; this.EntradaFacturacion.DataType = Lui.Forms.DataTypes.Currency; this.EntradaFacturacion.Location = new System.Drawing.Point(188, 68); this.EntradaFacturacion.Name = "txtFacturacion"; this.EntradaFacturacion.TemporaryReadOnly = true; this.EntradaFacturacion.Size = new System.Drawing.Size(104, 24); this.EntradaFacturacion.TabIndex = 29; this.EntradaFacturacion.TabStop = false; this.EntradaFacturacion.GotFocus += new System.EventHandler(this.EntradaFacturacion_GotFocus); // // txtCosto // this.txtCosto.AutoSize = false; this.txtCosto.DataType = Lui.Forms.DataTypes.Currency; this.txtCosto.Location = new System.Drawing.Point(188, 96); this.txtCosto.Name = "txtCosto"; this.txtCosto.TemporaryReadOnly = true; this.txtCosto.Size = new System.Drawing.Size(104, 24); this.txtCosto.TabIndex = 31; this.txtCosto.TabStop = false; // // txtGastosFijos // this.txtGastosFijos.AutoSize = false; this.txtGastosFijos.DataType = Lui.Forms.DataTypes.Currency; this.txtGastosFijos.Location = new System.Drawing.Point(188, 220); this.txtGastosFijos.Name = "txtGastosFijos"; this.txtGastosFijos.TemporaryReadOnly = true; this.txtGastosFijos.Size = new System.Drawing.Size(104, 24); this.txtGastosFijos.TabIndex = 17; this.txtGastosFijos.TabStop = false; // // txtGastosVariables // this.txtGastosVariables.AutoSize = false; this.txtGastosVariables.DataType = Lui.Forms.DataTypes.Currency; this.txtGastosVariables.Location = new System.Drawing.Point(188, 248); this.txtGastosVariables.Name = "txtGastosVariables"; this.txtGastosVariables.TemporaryReadOnly = true; this.txtGastosVariables.Size = new System.Drawing.Size(104, 24); this.txtGastosVariables.TabIndex = 20; this.txtGastosVariables.TabStop = false; // // txtOtrosEgresos // this.txtOtrosEgresos.AutoSize = false; this.txtOtrosEgresos.DataType = Lui.Forms.DataTypes.Currency; this.txtOtrosEgresos.Location = new System.Drawing.Point(188, 276); this.txtOtrosEgresos.Name = "txtOtrosEgresos"; this.txtOtrosEgresos.TemporaryReadOnly = true; this.txtOtrosEgresos.Size = new System.Drawing.Size(104, 24); this.txtOtrosEgresos.TabIndex = 23; this.txtOtrosEgresos.TabStop = false; // // BotonGastosFijos // this.BotonGastosFijos.AutoSize = false; this.BotonGastosFijos.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonGastosFijos.Image = null; this.BotonGastosFijos.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonGastosFijos.Location = new System.Drawing.Point(296, 220); this.BotonGastosFijos.Name = "BotonGastosFijos"; this.BotonGastosFijos.Size = new System.Drawing.Size(28, 24); this.BotonGastosFijos.SubLabelPos = Lui.Forms.SubLabelPositions.None; this.BotonGastosFijos.Subtext = ""; this.BotonGastosFijos.TabIndex = 18; this.BotonGastosFijos.Text = "..."; this.BotonGastosFijos.Click += new System.EventHandler(this.BotonGastosFijos_Click); // // BotonGastosVariables // this.BotonGastosVariables.AutoSize = false; this.BotonGastosVariables.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonGastosVariables.Image = null; this.BotonGastosVariables.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonGastosVariables.Location = new System.Drawing.Point(296, 248); this.BotonGastosVariables.Name = "BotonGastosVariables"; this.BotonGastosVariables.Size = new System.Drawing.Size(28, 24); this.BotonGastosVariables.SubLabelPos = Lui.Forms.SubLabelPositions.None; this.BotonGastosVariables.Subtext = ""; this.BotonGastosVariables.TabIndex = 21; this.BotonGastosVariables.Text = "..."; this.BotonGastosVariables.Click += new System.EventHandler(this.BotonGastosVariables_Click); // // BotonOtrosEgresos // this.BotonOtrosEgresos.AutoSize = false; this.BotonOtrosEgresos.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonOtrosEgresos.Image = null; this.BotonOtrosEgresos.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonOtrosEgresos.Location = new System.Drawing.Point(296, 276); this.BotonOtrosEgresos.Name = "BotonOtrosEgresos"; this.BotonOtrosEgresos.Size = new System.Drawing.Size(28, 24); this.BotonOtrosEgresos.SubLabelPos = Lui.Forms.SubLabelPositions.None; this.BotonOtrosEgresos.Subtext = ""; this.BotonOtrosEgresos.TabIndex = 24; this.BotonOtrosEgresos.Text = "..."; this.BotonOtrosEgresos.Click += new System.EventHandler(this.BotonOtrosEgresos_Click); // // lvItems // this.Listado.AllowColumnReorder = true; this.Listado.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.Listado.BorderStyle = System.Windows.Forms.BorderStyle.None; this.Listado.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.id, this.fecha, this.concepto, this.importe, this.cuenta, this.comprob, this.obs}); this.Listado.FullRowSelect = true; this.Listado.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.Listado.HideSelection = false; this.Listado.Location = new System.Drawing.Point(352, 8); this.Listado.MultiSelect = false; this.Listado.Name = "lvItems"; this.Listado.Size = new System.Drawing.Size(332, 522); this.Listado.TabIndex = 37; this.Listado.UseCompatibleStateImageBehavior = false; this.Listado.View = System.Windows.Forms.View.Details; this.Listado.KeyDown += new System.Windows.Forms.KeyEventHandler(this.lvItems_KeyDown); // // id // this.id.Text = "Cód"; this.id.Width = 0; // // fecha // this.fecha.Text = "Fecha"; this.fecha.Width = 86; // // concepto // this.concepto.Text = "Concepto"; this.concepto.Width = 240; // // importe // this.importe.Text = "Importe"; this.importe.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.importe.Width = 86; // // cuenta // this.cuenta.Text = "Caja"; this.cuenta.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.cuenta.Width = 46; // // comprob // this.comprob.Text = "Comprob."; this.comprob.Width = 96; // // obs // this.obs.Text = "Obs."; this.obs.Width = 240; // // txtCobros // this.txtCobros.AutoSize = false; this.txtCobros.DataType = Lui.Forms.DataTypes.Currency; this.txtCobros.Location = new System.Drawing.Point(188, 372); this.txtCobros.Name = "txtCobros"; this.txtCobros.TemporaryReadOnly = true; this.txtCobros.Size = new System.Drawing.Size(104, 24); this.txtCobros.TabIndex = 5; this.txtCobros.TabStop = false; // // Label10 // this.Label10.Location = new System.Drawing.Point(16, 372); this.Label10.Name = "Label10"; this.Label10.Size = new System.Drawing.Size(172, 24); this.Label10.TabIndex = 4; this.Label10.Text = "Ingresos por Cobros"; this.Label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // BotonCobros // this.BotonCobros.AutoSize = false; this.BotonCobros.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonCobros.Image = null; this.BotonCobros.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCobros.Location = new System.Drawing.Point(296, 372); this.BotonCobros.Name = "BotonCobros"; this.BotonCobros.Size = new System.Drawing.Size(28, 24); this.BotonCobros.SubLabelPos = Lui.Forms.SubLabelPositions.None; this.BotonCobros.Subtext = ""; this.BotonCobros.TabIndex = 6; this.BotonCobros.Text = "..."; this.BotonCobros.Click += new System.EventHandler(this.BotonCobros_Click); // // txtDiferenciaNeta // this.txtDiferenciaNeta.AutoSize = false; this.txtDiferenciaNeta.DataType = Lui.Forms.DataTypes.Currency; this.txtDiferenciaNeta.Location = new System.Drawing.Point(188, 320); this.txtDiferenciaNeta.Name = "txtDiferenciaNeta"; this.txtDiferenciaNeta.TemporaryReadOnly = true; this.txtDiferenciaNeta.Size = new System.Drawing.Size(104, 24); this.txtDiferenciaNeta.TabIndex = 26; this.txtDiferenciaNeta.TabStop = false; // // Label9 // this.Label9.Location = new System.Drawing.Point(16, 320); this.Label9.Name = "Label9"; this.Label9.Size = new System.Drawing.Size(172, 24); this.Label9.TabIndex = 25; this.Label9.Text = "Margen Final"; this.Label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // txtDiferenciaBruta // this.txtDiferenciaBruta.AutoSize = false; this.txtDiferenciaBruta.DataType = Lui.Forms.DataTypes.Currency; this.txtDiferenciaBruta.Location = new System.Drawing.Point(188, 160); this.txtDiferenciaBruta.Name = "txtDiferenciaBruta"; this.txtDiferenciaBruta.TemporaryReadOnly = true; this.txtDiferenciaBruta.Size = new System.Drawing.Size(104, 24); this.txtDiferenciaBruta.TabIndex = 33; this.txtDiferenciaBruta.TabStop = false; // // Label11 // this.Label11.Location = new System.Drawing.Point(16, 160); this.Label11.Name = "Label11"; this.Label11.Size = new System.Drawing.Size(172, 24); this.Label11.TabIndex = 32; this.Label11.Text = "Margen Bruto"; this.Label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // Label13 // this.Label13.Location = new System.Drawing.Point(8, 308); this.Label13.Name = "Label13"; this.Label13.Size = new System.Drawing.Size(280, 2); this.Label13.TabIndex = 27; // // Label15 // this.Label15.Location = new System.Drawing.Point(4, 160); this.Label15.Name = "Label15"; this.Label15.Size = new System.Drawing.Size(12, 24); this.Label15.TabIndex = 37; this.Label15.Text = "="; this.Label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // Label16 // this.Label16.Location = new System.Drawing.Point(4, 220); this.Label16.Name = "Label16"; this.Label16.Size = new System.Drawing.Size(12, 24); this.Label16.TabIndex = 11; this.Label16.Text = "-"; this.Label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // Label17 // this.Label17.Location = new System.Drawing.Point(4, 248); this.Label17.Name = "Label17"; this.Label17.Size = new System.Drawing.Size(12, 24); this.Label17.TabIndex = 15; this.Label17.Text = "-"; this.Label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // Label18 // this.Label18.Location = new System.Drawing.Point(4, 276); this.Label18.Name = "Label18"; this.Label18.Size = new System.Drawing.Size(12, 24); this.Label18.TabIndex = 23; this.Label18.Text = "-"; this.Label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // Label20 // this.Label20.Location = new System.Drawing.Point(4, 320); this.Label20.Name = "Label20"; this.Label20.Size = new System.Drawing.Size(12, 24); this.Label20.TabIndex = 28; this.Label20.Text = "="; this.Label20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtFecha1 // this.txtFecha1.AutoSize = false; this.txtFecha1.DataType = Lui.Forms.DataTypes.Date; this.txtFecha1.Location = new System.Drawing.Point(56, 12); this.txtFecha1.Name = "txtFecha1"; this.txtFecha1.Size = new System.Drawing.Size(92, 24); this.txtFecha1.TabIndex = 1; this.txtFecha1.LostFocus += new System.EventHandler(this.txtFecha12_LostFocus); // // txtFecha2 // this.txtFecha2.AutoSize = false; this.txtFecha2.DataType = Lui.Forms.DataTypes.Date; this.txtFecha2.Location = new System.Drawing.Point(192, 12); this.txtFecha2.Name = "txtFecha2"; this.txtFecha2.Size = new System.Drawing.Size(92, 24); this.txtFecha2.TabIndex = 3; this.txtFecha2.LostFocus += new System.EventHandler(this.txtFecha12_LostFocus); // // Label22 // this.Label22.Location = new System.Drawing.Point(148, 12); this.Label22.Name = "Label22"; this.Label22.Size = new System.Drawing.Size(44, 24); this.Label22.TabIndex = 2; this.Label22.Text = "y"; this.Label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblDiferenciaBrutaPct // this.lblDiferenciaBrutaPct.Location = new System.Drawing.Point(296, 160); this.lblDiferenciaBrutaPct.Name = "lblDiferenciaBrutaPct"; this.lblDiferenciaBrutaPct.Size = new System.Drawing.Size(48, 24); this.lblDiferenciaBrutaPct.TabIndex = 34; this.lblDiferenciaBrutaPct.Text = "0%"; this.lblDiferenciaBrutaPct.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // lblDiferenciaNetaPct // this.lblDiferenciaNetaPct.Location = new System.Drawing.Point(296, 320); this.lblDiferenciaNetaPct.Name = "lblDiferenciaNetaPct"; this.lblDiferenciaNetaPct.Size = new System.Drawing.Size(48, 24); this.lblDiferenciaNetaPct.TabIndex = 27; this.lblDiferenciaNetaPct.Text = "0%"; this.lblDiferenciaNetaPct.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // ChartButton // this.ChartButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ChartButton.AutoSize = false; this.ChartButton.DialogResult = System.Windows.Forms.DialogResult.None; this.ChartButton.Image = null; this.ChartButton.ImagePos = Lui.Forms.ImagePositions.Top; this.ChartButton.Location = new System.Drawing.Point(112, 498); this.ChartButton.Name = "ChartButton"; this.ChartButton.Size = new System.Drawing.Size(96, 28); this.ChartButton.SubLabelPos = Lui.Forms.SubLabelPositions.Right; this.ChartButton.Subtext = ""; this.ChartButton.TabIndex = 39; this.ChartButton.Text = "Graficar"; this.ChartButton.Click += new System.EventHandler(this.ChartButton_Click); // // PorTipo // this.PorTipo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.PorTipo.AutoSize = false; this.PorTipo.DialogResult = System.Windows.Forms.DialogResult.None; this.PorTipo.Image = null; this.PorTipo.ImagePos = Lui.Forms.ImagePositions.Top; this.PorTipo.Location = new System.Drawing.Point(216, 498); this.PorTipo.Name = "PorTipo"; this.PorTipo.Size = new System.Drawing.Size(96, 28); this.PorTipo.SubLabelPos = Lui.Forms.SubLabelPositions.Right; this.PorTipo.Subtext = "F8"; this.PorTipo.TabIndex = 40; this.PorTipo.Text = "Por Tipo"; this.PorTipo.Click += new System.EventHandler(this.PorTipo_Click); // // txtCompraMateriales // this.txtCompraMateriales.AutoSize = false; this.txtCompraMateriales.DataType = Lui.Forms.DataTypes.Currency; this.txtCompraMateriales.Location = new System.Drawing.Point(188, 428); this.txtCompraMateriales.Name = "txtCompraMateriales"; this.txtCompraMateriales.TemporaryReadOnly = true; this.txtCompraMateriales.Size = new System.Drawing.Size(104, 24); this.txtCompraMateriales.TabIndex = 11; this.txtCompraMateriales.TabStop = false; // // label25 // this.label25.Location = new System.Drawing.Point(16, 96); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size(172, 24); this.label25.TabIndex = 30; this.label25.Text = "Costo Materiales"; this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // BotonCostoCapital // this.BotonCostoCapital.AutoSize = false; this.BotonCostoCapital.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonCostoCapital.Image = null; this.BotonCostoCapital.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCostoCapital.Location = new System.Drawing.Point(296, 192); this.BotonCostoCapital.Name = "BotonCostoCapital"; this.BotonCostoCapital.Size = new System.Drawing.Size(28, 24); this.BotonCostoCapital.SubLabelPos = Lui.Forms.SubLabelPositions.None; this.BotonCostoCapital.Subtext = ""; this.BotonCostoCapital.TabIndex = 15; this.BotonCostoCapital.Text = "..."; this.BotonCostoCapital.Click += new System.EventHandler(this.BotonCostoCapital_Click); // // txtCostoCapital // this.txtCostoCapital.AutoSize = false; this.txtCostoCapital.DataType = Lui.Forms.DataTypes.Currency; this.txtCostoCapital.Location = new System.Drawing.Point(188, 192); this.txtCostoCapital.Name = "txtCostoCapital"; this.txtCostoCapital.TemporaryReadOnly = true; this.txtCostoCapital.Size = new System.Drawing.Size(104, 24); this.txtCostoCapital.TabIndex = 14; this.txtCostoCapital.TabStop = false; // // label26 // this.label26.Location = new System.Drawing.Point(4, 192); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(12, 24); this.label26.TabIndex = 53; this.label26.Text = "-"; this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label27 // this.label27.Location = new System.Drawing.Point(16, 192); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(172, 24); this.label27.TabIndex = 13; this.label27.Text = "Costo Capital"; this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // BotonCostoMateriales // this.BotonCostoMateriales.AutoSize = false; this.BotonCostoMateriales.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonCostoMateriales.Image = null; this.BotonCostoMateriales.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCostoMateriales.Location = new System.Drawing.Point(296, 428); this.BotonCostoMateriales.Name = "BotonCostoMateriales"; this.BotonCostoMateriales.Size = new System.Drawing.Size(28, 24); this.BotonCostoMateriales.SubLabelPos = Lui.Forms.SubLabelPositions.None; this.BotonCostoMateriales.Subtext = ""; this.BotonCostoMateriales.TabIndex = 12; this.BotonCostoMateriales.Text = "..."; this.BotonCostoMateriales.Click += new System.EventHandler(this.BotonCostoMateriales_Click); // // BotonIngresosOtros // this.BotonIngresosOtros.AutoSize = false; this.BotonIngresosOtros.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonIngresosOtros.Image = null; this.BotonIngresosOtros.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonIngresosOtros.Location = new System.Drawing.Point(296, 400); this.BotonIngresosOtros.Name = "BotonIngresosOtros"; this.BotonIngresosOtros.Size = new System.Drawing.Size(28, 24); this.BotonIngresosOtros.SubLabelPos = Lui.Forms.SubLabelPositions.None; this.BotonIngresosOtros.Subtext = ""; this.BotonIngresosOtros.TabIndex = 9; this.BotonIngresosOtros.Text = "..."; this.BotonIngresosOtros.Click += new System.EventHandler(this.BotonIngresosOtros_Click); // // EntradaIngresosOtros // this.EntradaIngresosOtros.AutoSize = false; this.EntradaIngresosOtros.DataType = Lui.Forms.DataTypes.Currency; this.EntradaIngresosOtros.Location = new System.Drawing.Point(188, 400); this.EntradaIngresosOtros.Name = "EntradaIngresosOtros"; this.EntradaIngresosOtros.TemporaryReadOnly = true; this.EntradaIngresosOtros.Size = new System.Drawing.Size(104, 24); this.EntradaIngresosOtros.TabIndex = 8; this.EntradaIngresosOtros.TabStop = false; // // label24 // this.label24.Location = new System.Drawing.Point(16, 400); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(172, 24); this.label24.TabIndex = 7; this.label24.Text = "Otros Ingresos"; this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label4 // this.label4.BackColor = System.Drawing.Color.Silver; this.label4.Location = new System.Drawing.Point(12, 152); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(280, 1); this.label4.TabIndex = 69; // // label8 // this.label8.Location = new System.Drawing.Point(4, 96); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(12, 24); this.label8.TabIndex = 70; this.label8.Text = "-"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label12 // this.label12.Location = new System.Drawing.Point(4, 124); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(12, 24); this.label12.TabIndex = 73; this.label12.Text = "-"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label14 // this.label14.Location = new System.Drawing.Point(16, 124); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(172, 24); this.label14.TabIndex = 71; this.label14.Text = "Gestión de Cobro"; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // EntradaGestionCobro // this.EntradaGestionCobro.AutoSize = false; this.EntradaGestionCobro.DataType = Lui.Forms.DataTypes.Currency; this.EntradaGestionCobro.Location = new System.Drawing.Point(188, 124); this.EntradaGestionCobro.Name = "EntradaGestionCobro"; this.EntradaGestionCobro.TemporaryReadOnly = true; this.EntradaGestionCobro.Size = new System.Drawing.Size(104, 24); this.EntradaGestionCobro.TabIndex = 72; this.EntradaGestionCobro.TabStop = false; // // BotonGestionCobro // this.BotonGestionCobro.AutoSize = false; this.BotonGestionCobro.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonGestionCobro.Image = null; this.BotonGestionCobro.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonGestionCobro.Location = new System.Drawing.Point(296, 124); this.BotonGestionCobro.Name = "BotonGestionCobro"; this.BotonGestionCobro.Size = new System.Drawing.Size(28, 24); this.BotonGestionCobro.SubLabelPos = Lui.Forms.SubLabelPositions.None; this.BotonGestionCobro.Subtext = ""; this.BotonGestionCobro.TabIndex = 74; this.BotonGestionCobro.Text = "..."; this.BotonGestionCobro.Click += new System.EventHandler(this.BotonGestionCobro_Click); // // IngresosEgresos // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(692, 535); this.Controls.Add(this.BotonGestionCobro); this.Controls.Add(this.label12); this.Controls.Add(this.label14); this.Controls.Add(this.EntradaGestionCobro); this.Controls.Add(this.label8); this.Controls.Add(this.label4); this.Controls.Add(this.BotonIngresosOtros); this.Controls.Add(this.EntradaIngresosOtros); this.Controls.Add(this.label24); this.Controls.Add(this.BotonCostoMateriales); this.Controls.Add(this.txtCompraMateriales); this.Controls.Add(this.BotonCobros); this.Controls.Add(this.txtCobros); this.Controls.Add(this.Label10); this.Controls.Add(this.Label3); this.Controls.Add(this.Listado); this.Controls.Add(this.BotonCostoCapital); this.Controls.Add(this.txtCostoCapital); this.Controls.Add(this.label26); this.Controls.Add(this.label27); this.Controls.Add(this.label25); this.Controls.Add(this.PorTipo); this.Controls.Add(this.ChartButton); this.Controls.Add(this.txtFecha2); this.Controls.Add(this.txtFecha1); this.Controls.Add(this.txtDiferenciaBruta); this.Controls.Add(this.txtDiferenciaNeta); this.Controls.Add(this.BotonOtrosEgresos); this.Controls.Add(this.BotonGastosVariables); this.Controls.Add(this.BotonGastosFijos); this.Controls.Add(this.txtOtrosEgresos); this.Controls.Add(this.txtGastosVariables); this.Controls.Add(this.txtGastosFijos); this.Controls.Add(this.txtCosto); this.Controls.Add(this.EntradaFacturacion); this.Controls.Add(this.lblDiferenciaNetaPct); this.Controls.Add(this.lblDiferenciaBrutaPct); this.Controls.Add(this.Label22); this.Controls.Add(this.Label20); this.Controls.Add(this.Label18); this.Controls.Add(this.Label17); this.Controls.Add(this.Label16); this.Controls.Add(this.Label15); this.Controls.Add(this.Label13); this.Controls.Add(this.Label11); this.Controls.Add(this.Label9); this.Controls.Add(this.Label7); this.Controls.Add(this.Label6); this.Controls.Add(this.Label5); this.Controls.Add(this.Label2); this.Controls.Add(this.Label1); this.KeyPreview = true; this.Name = "IngresosEgresos"; this.Text = "Reporte Ingresos y Egresos"; this.Load += new System.EventHandler(this.FormRepRentabilidad_Load); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BusquedaRapida)); this.Listado = new Lui.Forms.ListView(); this.id = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.nombre = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.EntradaBuscar = new Lui.Forms.TextBox(); this.BotonNuevo = new Lui.Forms.Button(); this.TimerRefrescar = new System.Windows.Forms.Timer(this.components); this.EtiquetaTitulo = new Lui.Forms.Label(); this.EtiquetaResultados = new Lui.Forms.Label(); this.label2 = new Lui.Forms.Label(); this.EtiquetaSeleccionar = new Lui.Forms.Label(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // Listado // this.Listado.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.Listado.BorderStyle = System.Windows.Forms.BorderStyle.None; this.Listado.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.id, this.nombre, this.extra1, this.extra2, this.extra3, this.extra4}); this.Listado.FieldName = null; this.Listado.FullRowSelect = true; this.Listado.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.Listado.HideSelection = false; this.Listado.LabelWrap = false; this.Listado.Location = new System.Drawing.Point(24, 128); this.Listado.MultiSelect = false; this.Listado.Name = "Listado"; this.Listado.ReadOnly = false; this.Listado.Size = new System.Drawing.Size(664, 264); this.Listado.TabIndex = 3; this.Listado.UseCompatibleStateImageBehavior = false; this.Listado.View = System.Windows.Forms.View.Details; this.Listado.SelectedIndexChanged += new System.EventHandler(this.Listado_SelectedIndexChanged); this.Listado.DoubleClick += new System.EventHandler(this.Listado_DoubleClick); this.Listado.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Listado_KeyDown); // // id // this.id.Text = "Cód"; // // nombre // this.nombre.Text = "Detalle"; this.nombre.Width = 300; // // extra1 // this.extra1.Text = ""; this.extra1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.extra1.Width = 100; // // extra2 // this.extra2.Text = ""; this.extra2.Width = 100; // // extra3 // this.extra3.Text = ""; this.extra3.Width = 80; // // extra4 // this.extra4.Text = ""; this.extra4.Width = 80; // // EntradaBuscar // this.EntradaBuscar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaBuscar.AutoNav = false; this.EntradaBuscar.Cursor = System.Windows.Forms.Cursors.Default; this.EntradaBuscar.Location = new System.Drawing.Point(104, 64); this.EntradaBuscar.Name = "EntradaBuscar"; this.EntradaBuscar.PlaceholderText = "¿Qué está buscando?"; this.EntradaBuscar.Size = new System.Drawing.Size(392, 24); this.EntradaBuscar.TabIndex = 1; this.EntradaBuscar.Text = "¿Qué está buscando?"; this.EntradaBuscar.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.EntradaBuscar_KeyPress); this.EntradaBuscar.KeyDown += new System.Windows.Forms.KeyEventHandler(this.EntradaBuscar_KeyDown); this.EntradaBuscar.TextChanged += new System.EventHandler(this.EntradaBuscar_TextChanged); // // BotonNuevo // this.BotonNuevo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.BotonNuevo.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonNuevo.ForeColor = System.Drawing.SystemColors.ControlText; this.BotonNuevo.Image = null; this.BotonNuevo.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonNuevo.Location = new System.Drawing.Point(592, 48); this.BotonNuevo.Name = "BotonNuevo"; this.BotonNuevo.Size = new System.Drawing.Size(96, 40); this.BotonNuevo.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonNuevo.Subtext = "F6"; this.BotonNuevo.TabIndex = 4; this.BotonNuevo.Text = "Crear"; this.BotonNuevo.Click += new System.EventHandler(this.BotonNuevo_Click); // // TimerRefrescar // this.TimerRefrescar.Interval = 1000; this.TimerRefrescar.Tick += new System.EventHandler(this.TimerRefrescar_Tick); // // EtiquetaTitulo // this.EtiquetaTitulo.AutoSize = true; this.EtiquetaTitulo.Location = new System.Drawing.Point(96, 24); this.EtiquetaTitulo.Name = "EtiquetaTitulo"; this.EtiquetaTitulo.Size = new System.Drawing.Size(175, 30); this.EtiquetaTitulo.TabIndex = 0; this.EtiquetaTitulo.Text = "Búsqueda rápida"; this.EtiquetaTitulo.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.MainHeader; this.EtiquetaTitulo.UseMnemonic = false; // // EtiquetaResultados // this.EtiquetaResultados.Location = new System.Drawing.Point(24, 104); this.EtiquetaResultados.Name = "EtiquetaResultados"; this.EtiquetaResultados.Size = new System.Drawing.Size(664, 24); this.EtiquetaResultados.TabIndex = 2; this.EtiquetaResultados.Text = "Seleccione de la lista o utilice el cuadro de búsqueda."; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label2.Location = new System.Drawing.Point(24, 400); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(664, 32); this.label2.TabIndex = 6; this.label2.Text = resources.GetString("label2.Text"); this.label2.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Small; // // EtiquetaSeleccionar // this.EtiquetaSeleccionar.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.EtiquetaSeleccionar.Location = new System.Drawing.Point(72, 304); this.EtiquetaSeleccionar.Name = "EtiquetaSeleccionar"; this.EtiquetaSeleccionar.Size = new System.Drawing.Size(592, 64); this.EtiquetaSeleccionar.TabIndex = 8; this.EtiquetaSeleccionar.Tag = "Pulse la tecla Entrar para seleccionar {0}."; this.EtiquetaSeleccionar.Text = "Pulse la tecla Entrar para seleccionar {0}."; this.EtiquetaSeleccionar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.EtiquetaSeleccionar.UseMnemonic = false; this.EtiquetaSeleccionar.Visible = false; // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(24, 24); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(64, 64); this.pictureBox1.TabIndex = 9; this.pictureBox1.TabStop = false; // // BusquedaRapida // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(714, 451); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.EtiquetaSeleccionar); this.Controls.Add(this.label2); this.Controls.Add(this.EtiquetaTitulo); this.Controls.Add(this.BotonNuevo); this.Controls.Add(this.EntradaBuscar); this.Controls.Add(this.Listado); this.Controls.Add(this.EtiquetaResultados); this.ForeColor = System.Drawing.SystemColors.ControlText; this.Name = "BusquedaRapida"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Búsqueda rápida"; this.TopMost = true; ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AltaDuplicada)); this.label1 = new Lui.Forms.Label(); this.label2 = new Lui.Forms.Label(); this.ListaComparacion = new Lui.Forms.ListView(); this.NombreColumna = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.ColumnaActual = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.ColumnaNueva = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.label3 = new Lui.Forms.Label(); this.BotonCancelar = new Lui.Forms.Button(); this.BotonContinuar = new Lui.Forms.Button(); this.BotonCorregir = new Lui.Forms.Button(); this.TimerHabilitarBotones = new System.Windows.Forms.Timer(this.components); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(24, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(544, 36); this.label1.TabIndex = 3; this.label1.Text = "Posible duplicación de datos"; this.label1.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.MainHeader; // // label2 // this.label2.Location = new System.Drawing.Point(24, 60); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(544, 40); this.label2.TabIndex = 4; this.label2.Text = "Es posible que el cliente que intenta agregar ya haya sigo agregado con anteriori" + "dad. Puede revisar las similitudes para decidir si se trata de la misma persona:" + ""; // // ListaComparacion // this.ListaComparacion.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.ListaComparacion.BackColor = System.Drawing.SystemColors.Window; this.ListaComparacion.BorderStyle = System.Windows.Forms.BorderStyle.None; this.ListaComparacion.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.NombreColumna, this.ColumnaActual, this.ColumnaNueva}); this.ListaComparacion.FieldName = null; this.ListaComparacion.FullRowSelect = true; this.ListaComparacion.GridLines = true; this.ListaComparacion.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.ListaComparacion.LabelWrap = false; this.ListaComparacion.Location = new System.Drawing.Point(24, 100); this.ListaComparacion.Name = "ListaComparacion"; this.ListaComparacion.ReadOnly = false; this.ListaComparacion.Size = new System.Drawing.Size(544, 112); this.ListaComparacion.TabIndex = 5; this.ListaComparacion.TabStop = false; this.ListaComparacion.UseCompatibleStateImageBehavior = false; this.ListaComparacion.View = System.Windows.Forms.View.Details; // // NombreColumna // this.NombreColumna.Text = ""; this.NombreColumna.Width = 100; // // ColumnaActual // this.ColumnaActual.Text = "Cliente anterior"; this.ColumnaActual.Width = 220; // // ColumnaNueva // this.ColumnaNueva.Text = "Cliente nuevo"; this.ColumnaNueva.Width = 220; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label3.Location = new System.Drawing.Point(24, 220); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(544, 32); this.label3.TabIndex = 6; this.label3.Text = "¿Qué desea hacer con los datos cargados?"; this.label3.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.GroupHeader; // // BotonCancelar // this.BotonCancelar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.BotonCancelar.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.BotonCancelar.ForeColor = System.Drawing.SystemColors.ControlText; this.BotonCancelar.Image = ((System.Drawing.Image)(resources.GetObject("BotonCancelar.Image"))); this.BotonCancelar.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCancelar.Location = new System.Drawing.Point(24, 260); this.BotonCancelar.Name = "BotonCancelar"; this.BotonCancelar.Size = new System.Drawing.Size(544, 68); this.BotonCancelar.SubLabelPos = Lui.Forms.SubLabelPositions.LongBottom; this.BotonCancelar.Subtext = "No agrega ni actualiza ningún dato. Sólo vuelve al formulario de alta para revisa" + "r los datos ingresados."; this.BotonCancelar.TabIndex = 0; this.BotonCancelar.Text = "Volver al formulario de alta"; this.BotonCancelar.Click += new System.EventHandler(this.CmdCancelar_Click); // // BotonContinuar // this.BotonContinuar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.BotonContinuar.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonContinuar.Enabled = false; this.BotonContinuar.ForeColor = System.Drawing.SystemColors.ControlText; this.BotonContinuar.Image = ((System.Drawing.Image)(resources.GetObject("BotonContinuar.Image"))); this.BotonContinuar.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonContinuar.Location = new System.Drawing.Point(24, 336); this.BotonContinuar.Name = "BotonContinuar"; this.BotonContinuar.Size = new System.Drawing.Size(544, 68); this.BotonContinuar.SubLabelPos = Lui.Forms.SubLabelPositions.LongBottom; this.BotonContinuar.Subtext = "Seleccione esta opción si se trata de clientes diferentes o si intenta deliberada" + "mente cargar un dato duplicado."; this.BotonContinuar.TabIndex = 1; this.BotonContinuar.Text = "Crear un cliente nuevo"; this.BotonContinuar.Click += new System.EventHandler(this.CmdCrearNuevo_Click); // // BotonCorregir // this.BotonCorregir.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.BotonCorregir.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.BotonCorregir.Enabled = false; this.BotonCorregir.ForeColor = System.Drawing.SystemColors.ControlText; this.BotonCorregir.Image = ((System.Drawing.Image)(resources.GetObject("BotonCorregir.Image"))); this.BotonCorregir.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCorregir.Location = new System.Drawing.Point(24, 412); this.BotonCorregir.Name = "BotonCorregir"; this.BotonCorregir.Size = new System.Drawing.Size(544, 68); this.BotonCorregir.SubLabelPos = Lui.Forms.SubLabelPositions.LongBottom; this.BotonCorregir.Subtext = "Seleccione esta opción si verificó que se trata del mismo cliente y no desea crea" + "r datos duplicados."; this.BotonCorregir.TabIndex = 2; this.BotonCorregir.Text = "Actualizar los datos del cliente actual"; this.BotonCorregir.Click += new System.EventHandler(this.CmdActualizar_Click); // // TimerHabilitarBotones // this.TimerHabilitarBotones.Enabled = true; this.TimerHabilitarBotones.Interval = 2000; this.TimerHabilitarBotones.Tick += new System.EventHandler(this.TimerHabilitarBotones_Tick); // // AltaDuplicada // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.CancelButton = this.BotonCancelar; this.ClientSize = new System.Drawing.Size(592, 493); this.Controls.Add(this.BotonCancelar); this.Controls.Add(this.label3); this.Controls.Add(this.BotonContinuar); this.Controls.Add(this.BotonCorregir); this.Controls.Add(this.ListaComparacion); this.Controls.Add(this.label1); this.Controls.Add(this.label2); this.ForeColor = System.Drawing.SystemColors.ControlText; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "AltaDuplicada"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Posible duplicación de datos"; this.ResumeLayout(false); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ChildDialogForm)); this.LowerPanel = new Lui.Forms.ButtonPanel(); this.CancelCommandButton = new Lui.Forms.Button(); this.OkButton = new Lui.Forms.Button(); this.LowerPanel.SuspendLayout(); this.SuspendLayout(); // // LowerPanel // this.LowerPanel.Controls.Add(this.CancelCommandButton); this.LowerPanel.Controls.Add(this.OkButton); this.LowerPanel.Dock = System.Windows.Forms.DockStyle.Bottom; this.LowerPanel.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.LowerPanel.Location = new System.Drawing.Point(0, 230); this.LowerPanel.Name = "LowerPanel"; this.LowerPanel.Padding = new System.Windows.Forms.Padding(12); this.LowerPanel.Size = new System.Drawing.Size(474, 64); this.LowerPanel.TabIndex = 100; // // CancelCommandButton // this.CancelCommandButton.Anchor = System.Windows.Forms.AnchorStyles.None; this.CancelCommandButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.CancelCommandButton.Image = null; this.CancelCommandButton.ImagePos = Lui.Forms.ImagePositions.Top; this.CancelCommandButton.Location = new System.Drawing.Point(342, 12); this.CancelCommandButton.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.CancelCommandButton.MaximumSize = new System.Drawing.Size(160, 64); this.CancelCommandButton.MinimumSize = new System.Drawing.Size(96, 32); this.CancelCommandButton.Name = "CancelCommandButton"; this.CancelCommandButton.Size = new System.Drawing.Size(108, 40); this.CancelCommandButton.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.CancelCommandButton.Subtext = "Esc"; this.CancelCommandButton.TabIndex = 1; this.CancelCommandButton.Text = "Volver"; this.CancelCommandButton.Click += new System.EventHandler(this.CancelCommandButton_Click); // // OkButton // this.OkButton.Anchor = System.Windows.Forms.AnchorStyles.None; this.OkButton.DialogResult = System.Windows.Forms.DialogResult.None; this.OkButton.Image = null; this.OkButton.ImagePos = Lui.Forms.ImagePositions.Top; this.OkButton.Location = new System.Drawing.Point(228, 12); this.OkButton.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.OkButton.MaximumSize = new System.Drawing.Size(160, 64); this.OkButton.MinimumSize = new System.Drawing.Size(96, 32); this.OkButton.Name = "OkButton"; this.OkButton.Size = new System.Drawing.Size(108, 40); this.OkButton.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.OkButton.Subtext = "F9"; this.OkButton.TabIndex = 0; this.OkButton.Text = "Aceptar"; this.OkButton.Click += new System.EventHandler(this.OkButton_Click); // // ChildDialogForm // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.CancelButton = this.CancelCommandButton; this.ClientSize = new System.Drawing.Size(474, 294); this.Controls.Add(this.LowerPanel); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "ChildDialogForm"; this.Text = "Diálogo"; this.SizeChanged += new System.EventHandler(this.ChildDialogForm_SizeChanged); this.LowerPanel.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.LowerPanel = new Lui.Forms.ButtonPanel(); this.BotonCopiar = new Lui.Forms.Button(); this.PrintButton = new Lui.Forms.Button(); this.BotonMostrar = new Lui.Forms.Button(); this.CancelCommandButton = new Lui.Forms.Button(); this.LowerPanel.SuspendLayout(); this.SuspendLayout(); // // LowerPanel // this.LowerPanel.Controls.Add(this.BotonCopiar); this.LowerPanel.Controls.Add(this.PrintButton); this.LowerPanel.Controls.Add(this.BotonMostrar); this.LowerPanel.Controls.Add(this.CancelCommandButton); this.LowerPanel.Dock = System.Windows.Forms.DockStyle.Bottom; this.LowerPanel.Location = new System.Drawing.Point(0, 413); this.LowerPanel.Name = "LowerPanel"; this.LowerPanel.Size = new System.Drawing.Size(692, 60); this.LowerPanel.TabIndex = 50; // // BotonCopiar // this.BotonCopiar.DockPadding.All = 2; this.BotonCopiar.Image = null; this.BotonCopiar.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCopiar.Location = new System.Drawing.Point(8, 8); this.BotonCopiar.Name = "BotonCopiar"; this.BotonCopiar.Size = new System.Drawing.Size(104, 44); this.BotonCopiar.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonCopiar.Subtext = "F7"; this.BotonCopiar.TabIndex = 2; this.BotonCopiar.Text = "Copiar"; this.BotonCopiar.Click += new System.EventHandler(this.BotonCopiar_Click); // // PrintButton // this.PrintButton.DockPadding.All = 2; this.PrintButton.Image = null; this.PrintButton.ImagePos = Lui.Forms.ImagePositions.Top; this.PrintButton.Location = new System.Drawing.Point(116, 8); this.PrintButton.Name = "PrintButton"; this.PrintButton.Size = new System.Drawing.Size(104, 44); this.PrintButton.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.PrintButton.Subtext = "F8"; this.PrintButton.TabIndex = 3; this.PrintButton.Text = "Imprimir"; // // BotonMostrar // this.BotonMostrar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.BotonMostrar.DockPadding.All = 2; this.BotonMostrar.Image = null; this.BotonMostrar.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonMostrar.Location = new System.Drawing.Point(472, 8); this.BotonMostrar.Name = "BotonMostrar"; this.BotonMostrar.Size = new System.Drawing.Size(104, 44); this.BotonMostrar.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonMostrar.Subtext = "F9"; this.BotonMostrar.TabIndex = 0; this.BotonMostrar.Text = "Mostrar"; this.BotonMostrar.Click += new System.EventHandler(this.BotonMostrar_Click); // // CancelCommandButton // this.CancelCommandButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.CancelCommandButton.DockPadding.All = 2; this.CancelCommandButton.Image = null; this.CancelCommandButton.ImagePos = Lui.Forms.ImagePositions.Top; this.CancelCommandButton.Location = new System.Drawing.Point(580, 8); this.CancelCommandButton.Name = "CancelCommandButton"; this.CancelCommandButton.Size = new System.Drawing.Size(104, 44); this.CancelCommandButton.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.CancelCommandButton.Subtext = "Esc"; this.CancelCommandButton.TabIndex = 1; this.CancelCommandButton.Text = "Volver"; this.CancelCommandButton.Click += new System.EventHandler(this.BotonCancelar_Click); // // TextListingForm // this.AutoScaleBaseSize = new System.Drawing.Size(7, 16); this.Controls.Add(this.LowerPanel); this.KeyPreview = true; this.Name = "TextListingForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Listado"; this.LowerPanel.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.LowerPanel = new Lui.Forms.ButtonPanel(); this.CancelCommandButton = new Lui.Forms.Button(); this.OkButton = new Lui.Forms.Button(); this.LowerPanel.SuspendLayout(); this.SuspendLayout(); // // LowerPanel // this.LowerPanel.Controls.Add(this.CancelCommandButton); this.LowerPanel.Controls.Add(this.OkButton); this.LowerPanel.Dock = System.Windows.Forms.DockStyle.Bottom; this.LowerPanel.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.LowerPanel.Location = new System.Drawing.Point(0, 230); this.LowerPanel.Name = "LowerPanel"; this.LowerPanel.Padding = new System.Windows.Forms.Padding(12); this.LowerPanel.Size = new System.Drawing.Size(474, 64); this.LowerPanel.TabIndex = 100; // // CancelCommandButton // this.CancelCommandButton.Anchor = System.Windows.Forms.AnchorStyles.None; this.CancelCommandButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.CancelCommandButton.ForeColor = System.Drawing.SystemColors.ControlText; this.CancelCommandButton.Image = null; this.CancelCommandButton.ImagePos = Lui.Forms.ImagePositions.Top; this.CancelCommandButton.Location = new System.Drawing.Point(334, 12); this.CancelCommandButton.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.CancelCommandButton.Name = "CancelCommandButton"; this.CancelCommandButton.Size = new System.Drawing.Size(116, 40); this.CancelCommandButton.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.CancelCommandButton.Subtext = "Esc"; this.CancelCommandButton.TabIndex = 1; this.CancelCommandButton.Text = "Volver"; this.CancelCommandButton.Click += new System.EventHandler(this.CancelCommandButton_Click); // // OkButton // this.OkButton.Anchor = System.Windows.Forms.AnchorStyles.None; this.OkButton.DialogResult = System.Windows.Forms.DialogResult.None; this.OkButton.ForeColor = System.Drawing.SystemColors.ControlText; this.OkButton.Image = null; this.OkButton.ImagePos = Lui.Forms.ImagePositions.Top; this.OkButton.Location = new System.Drawing.Point(212, 12); this.OkButton.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.OkButton.Name = "OkButton"; this.OkButton.Size = new System.Drawing.Size(116, 40); this.OkButton.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.OkButton.Subtext = "F9"; this.OkButton.TabIndex = 0; this.OkButton.Text = "Aceptar"; this.OkButton.Click += new System.EventHandler(this.OkButton_Click); // // ChildDialogForm // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.CancelButton = this.CancelCommandButton; this.ClientSize = new System.Drawing.Size(474, 294); this.Controls.Add(this.LowerPanel); this.ForeColor = System.Drawing.SystemColors.ControlText; this.Name = "ChildDialogForm"; this.Text = "Diálogo"; this.SizeChanged += new System.EventHandler(this.ChildDialogForm_SizeChanged); this.LowerPanel.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.LowerPanel = new Lui.Forms.ButtonPanel(); this.BotonCopiar = new Lui.Forms.Button(); this.PrintButton = new Lui.Forms.Button(); this.BotonMostrar = new Lui.Forms.Button(); this.CancelCommandButton = new Lui.Forms.Button(); this.LowerPanel.SuspendLayout(); this.SuspendLayout(); // // LowerPanel // this.LowerPanel.Controls.Add(this.BotonCopiar); this.LowerPanel.Controls.Add(this.PrintButton); this.LowerPanel.Controls.Add(this.BotonMostrar); this.LowerPanel.Controls.Add(this.CancelCommandButton); this.LowerPanel.Dock = System.Windows.Forms.DockStyle.Bottom; this.LowerPanel.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.LowerPanel.Location = new System.Drawing.Point(0, 413); this.LowerPanel.Name = "LowerPanel"; this.LowerPanel.Padding = new System.Windows.Forms.Padding(12); this.LowerPanel.Size = new System.Drawing.Size(792, 60); this.LowerPanel.TabIndex = 50; // // BotonCopiar // this.BotonCopiar.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonCopiar.Image = null; this.BotonCopiar.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCopiar.Location = new System.Drawing.Point(658, 12); this.BotonCopiar.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.BotonCopiar.MaximumSize = new System.Drawing.Size(108, 40); this.BotonCopiar.MinimumSize = new System.Drawing.Size(96, 32); this.BotonCopiar.Name = "BotonCopiar"; this.BotonCopiar.Padding = new System.Windows.Forms.Padding(2); this.BotonCopiar.Size = new System.Drawing.Size(104, 36); this.BotonCopiar.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonCopiar.Subtext = "F7"; this.BotonCopiar.TabIndex = 2; this.BotonCopiar.Text = "Copiar"; this.BotonCopiar.Click += new System.EventHandler(this.BotonCopiar_Click); // // PrintButton // this.PrintButton.DialogResult = System.Windows.Forms.DialogResult.None; this.PrintButton.Image = null; this.PrintButton.ImagePos = Lui.Forms.ImagePositions.Top; this.PrintButton.Location = new System.Drawing.Point(548, 12); this.PrintButton.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.PrintButton.MaximumSize = new System.Drawing.Size(108, 40); this.PrintButton.MinimumSize = new System.Drawing.Size(96, 32); this.PrintButton.Name = "PrintButton"; this.PrintButton.Padding = new System.Windows.Forms.Padding(2); this.PrintButton.Size = new System.Drawing.Size(104, 36); this.PrintButton.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.PrintButton.Subtext = "F8"; this.PrintButton.TabIndex = 3; this.PrintButton.Text = "Imprimir"; // // BotonMostrar // this.BotonMostrar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.BotonMostrar.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonMostrar.Image = null; this.BotonMostrar.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonMostrar.Location = new System.Drawing.Point(438, 12); this.BotonMostrar.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.BotonMostrar.MaximumSize = new System.Drawing.Size(108, 40); this.BotonMostrar.MinimumSize = new System.Drawing.Size(96, 32); this.BotonMostrar.Name = "BotonMostrar"; this.BotonMostrar.Padding = new System.Windows.Forms.Padding(2); this.BotonMostrar.Size = new System.Drawing.Size(104, 36); this.BotonMostrar.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonMostrar.Subtext = "F9"; this.BotonMostrar.TabIndex = 0; this.BotonMostrar.Text = "Mostrar"; this.BotonMostrar.Click += new System.EventHandler(this.BotonMostrar_Click); // // CancelCommandButton // this.CancelCommandButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.CancelCommandButton.DialogResult = System.Windows.Forms.DialogResult.None; this.CancelCommandButton.Image = null; this.CancelCommandButton.ImagePos = Lui.Forms.ImagePositions.Top; this.CancelCommandButton.Location = new System.Drawing.Point(328, 12); this.CancelCommandButton.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); this.CancelCommandButton.MaximumSize = new System.Drawing.Size(108, 40); this.CancelCommandButton.MinimumSize = new System.Drawing.Size(96, 32); this.CancelCommandButton.Name = "CancelCommandButton"; this.CancelCommandButton.Padding = new System.Windows.Forms.Padding(2); this.CancelCommandButton.Size = new System.Drawing.Size(104, 36); this.CancelCommandButton.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.CancelCommandButton.Subtext = "Esc"; this.CancelCommandButton.TabIndex = 1; this.CancelCommandButton.Text = "Volver"; this.CancelCommandButton.Click += new System.EventHandler(this.BotonCancelar_Click); // // FormularioListadoTexto // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.ClientSize = new System.Drawing.Size(792, 473); this.Controls.Add(this.LowerPanel); this.Name = "FormularioListadoTexto"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Listado"; this.LowerPanel.ResumeLayout(false); this.ResumeLayout(false); }
public void ActualizarControl() { if (FormActions == null) { PanelPrimario.Controls.Clear(); PanelSecundario.Controls.Clear(); return; } this.SuspendLayout(); PanelPrimario.SuspendLayout(); PanelSecundario.SuspendLayout(); // Primero elimino los botones que ya no están en la lista foreach (Control btn in PanelPrimario.Controls) { if (btn is Lui.Forms.Button) { if (FormActions.ContainsKey(btn.Name) == false) { // No existe... lo elimino PanelPrimario.Controls.Remove(btn); btn.Dispose(); } else if (FormActions[btn.Name].Visibility != Lazaro.Pres.Forms.FormActionVisibility.Main) { // Existe... pero no en el panel primario PanelPrimario.Controls.Remove(btn); btn.Dispose(); } } } foreach (Control btn in PanelSecundario.Controls) { if (btn is Lui.Forms.Button) { if (FormActions.ContainsKey(btn.Name) == false) { // No existe... lo elimino PanelSecundario.Controls.Remove(btn); btn.Dispose(); } else if (FormActions[btn.Name].Visibility != Lazaro.Pres.Forms.FormActionVisibility.Secondary) { // Existe... pero no en el panel secundario PanelSecundario.Controls.Remove(btn); btn.Dispose(); } } } int PrimaryWidth = 0, SecondaryWidth = 0; // Ordeno por TabIndex this.FormActions.Sort(delegate(Lazaro.Pres.Forms.FormAction itm, Lazaro.Pres.Forms.FormAction itm2) { return itm.TabIndex.CompareTo(itm2.TabIndex); }); int IdxPri = 0, IdxSec = 0; // Ahora agrego o actualizo los botones existentes foreach (Lazaro.Pres.Forms.FormAction act in this.FormActions) { // Me fijo en que panel va FlowLayoutPanel Panel; if (act.Visibility == Lazaro.Pres.Forms.FormActionVisibility.Main) Panel = this.PanelPrimario; else if (act.Visibility == Lazaro.Pres.Forms.FormActionVisibility.Secondary) Panel = this.PanelSecundario; else Panel = null; if (Panel != null) { Lui.Forms.Button Btn; if (Panel.Controls.ContainsKey(act.Name)) { // Existe, lo actualizo Btn = Panel.Controls[act.Name] as Lui.Forms.Button; } else { // No existe, lo agrego Btn = new Lui.Forms.Button(); Btn.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0); Btn.Name = act.Name; Btn.Size = new System.Drawing.Size(116, Panel.ClientRectangle.Height); Btn.Visible = true; Btn.Click += new EventHandler(this.Btn_Click); Panel.Controls.Add(Btn); } Btn.Text = act.Text; Btn.Subtext = act.SubText; if (act.SubText == null) Btn.SubLabelPos = SubLabelPositions.None; else Btn.SubLabelPos = SubLabelPositions.Bottom; Btn.Enabled = act.Enabled; Btn.TabIndex = act.TabIndex; if (Panel == this.PanelPrimario) Panel.Controls.SetChildIndex(Btn, IdxPri++); else Panel.Controls.SetChildIndex(Btn, IdxSec++); if (act.Visibility == Lazaro.Pres.Forms.FormActionVisibility.Main) PrimaryWidth += Btn.Width + Btn.Margin.Left + Btn.Margin.Right; else if (act.Visibility == Lazaro.Pres.Forms.FormActionVisibility.Secondary) SecondaryWidth += Btn.Width + Btn.Margin.Left + Btn.Margin.Right; } } PanelPrimario.Width = PrimaryWidth + 8; PanelSecundario.Width = SecondaryWidth + 8; PanelSecundario.ResumeLayout(true); PanelPrimario.ResumeLayout(true); this.ResumeLayout(true); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.ListaItem = new Lui.Forms.ListView(); this.id = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.nombre = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.EntradaBuscar = new Lui.Forms.TextBox(); this.BotonNuevo = new Lui.Forms.Button(); this.Timer1 = new System.Windows.Forms.Timer(this.components); this.SuspendLayout(); // // ListaItem // this.ListaItem.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.ListaItem.BorderStyle = System.Windows.Forms.BorderStyle.None; this.ListaItem.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.id, this.nombre, this.extra1, this.extra2, this.extra3, this.extra4 }); this.ListaItem.FullRowSelect = true; this.ListaItem.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.ListaItem.HideSelection = false; this.ListaItem.LabelWrap = false; this.ListaItem.Location = new System.Drawing.Point(0, 0); this.ListaItem.MultiSelect = false; this.ListaItem.Name = "ListaItem"; this.ListaItem.Size = new System.Drawing.Size(633, 336); this.ListaItem.TabIndex = 2; this.ListaItem.UseCompatibleStateImageBehavior = false; this.ListaItem.View = System.Windows.Forms.View.Details; this.ListaItem.SelectedIndexChanged += new System.EventHandler(this.ListaItem_SelectedIndexChanged); this.ListaItem.DoubleClick += new System.EventHandler(this.ListaItem_DoubleClick); this.ListaItem.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ListaItem_KeyPress); // // id // this.id.Text = "Cód"; // // nombre // this.nombre.Text = "Detalle"; this.nombre.Width = 300; // // extra1 // this.extra1.Text = ""; this.extra1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.extra1.Width = 100; // // extra2 // this.extra2.Text = ""; this.extra2.Width = 100; // // extra3 // this.extra3.Text = ""; this.extra3.Width = 80; // // extra4 // this.extra4.Text = ""; this.extra4.Width = 80; // // EntradaBuscar // this.EntradaBuscar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaBuscar.AutoNav = false; this.EntradaBuscar.Cursor = System.Windows.Forms.Cursors.Default; this.EntradaBuscar.Location = new System.Drawing.Point(4, 344); this.EntradaBuscar.Name = "EntradaBuscar"; this.EntradaBuscar.Size = new System.Drawing.Size(524, 24); this.EntradaBuscar.TabIndex = 0; this.EntradaBuscar.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.EntradaBuscar_KeyPress); this.EntradaBuscar.TextChanged += new System.EventHandler(this.EntradaBuscar_TextChanged); this.EntradaBuscar.KeyDown += new System.Windows.Forms.KeyEventHandler(this.EntradaBuscar_KeyDown); // // BotonNuevo // this.BotonNuevo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.BotonNuevo.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonNuevo.Image = null; this.BotonNuevo.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonNuevo.Location = new System.Drawing.Point(532, 340); this.BotonNuevo.Name = "BotonNuevo"; this.BotonNuevo.Size = new System.Drawing.Size(96, 30); this.BotonNuevo.SubLabelPos = Lui.Forms.SubLabelPositions.Right; this.BotonNuevo.Subtext = "F6"; this.BotonNuevo.TabIndex = 1; this.BotonNuevo.Text = "Crear"; this.BotonNuevo.Click += new System.EventHandler(this.BotonNuevo_Click); // // Timer1 // this.Timer1.Interval = 1000; this.Timer1.Tick += new System.EventHandler(this.Timer1_Tick); // // DetailBoxQuickSelect // this.AutoScaleBaseSize = new System.Drawing.Size(7, 16); this.ClientSize = new System.Drawing.Size(634, 376); this.Controls.Add(this.BotonNuevo); this.Controls.Add(this.EntradaBuscar); this.Controls.Add(this.ListaItem); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.KeyPreview = true; this.Name = "DetailBoxQuickSelect"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Seleccione de la Lista"; this.TopMost = true; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.DetailBoxQuickSelect_KeyDown); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.EntradaBuscar = new Lui.Forms.TextBox(); this.TimerBuscar = new System.Windows.Forms.Timer(this.components); this.EtiquetaListadoVacio = new Lui.Forms.Label(); this.BotonCrear = new Lui.Forms.Button(); this.PanelContadores.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PicEsperar)).BeginInit(); this.SuspendLayout(); // // Listado // this.Listado.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Listado_KeyDown); // // EtiquetaCantidad // this.EtiquetaCantidad.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.EtiquetaCantidad.Size = new System.Drawing.Size(184, 26); // // EntradaBuscar // this.EntradaBuscar.Location = new System.Drawing.Point(8, 8); this.EntradaBuscar.Name = "EntradaBuscar"; this.EntradaBuscar.PlaceholderText = "Buscar (F3)"; this.EntradaBuscar.Size = new System.Drawing.Size(212, 24); this.EntradaBuscar.TabIndex = 1; this.EntradaBuscar.KeyDown += new System.Windows.Forms.KeyEventHandler(this.EntradaBuscar_KeyDown); this.EntradaBuscar.TextChanged += new System.EventHandler(this.EntradaBuscar_TextChanged); // // TimerBuscar // this.TimerBuscar.Interval = 500; this.TimerBuscar.Tick += new System.EventHandler(this.TimerBuscar_Tick); // // EtiquetaListadoVacio // this.EtiquetaListadoVacio.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EtiquetaListadoVacio.AutoEllipsis = true; this.EtiquetaListadoVacio.Location = new System.Drawing.Point(332, 192); this.EtiquetaListadoVacio.Margin = new System.Windows.Forms.Padding(0); this.EtiquetaListadoVacio.Name = "EtiquetaListadoVacio"; this.EtiquetaListadoVacio.Size = new System.Drawing.Size(380, 80); this.EtiquetaListadoVacio.TabIndex = 70; this.EtiquetaListadoVacio.Text = "El listado no contiene datos.\r\nHaga clic en el botón \'Crear\' para añadir nuevos e" + "lementos."; this.EtiquetaListadoVacio.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.EtiquetaListadoVacio.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Info; this.EtiquetaListadoVacio.UseMnemonic = false; this.EtiquetaListadoVacio.Visible = false; this.EtiquetaListadoVacio.Click += new System.EventHandler(this.EtiquetaListadoVacio_Click); // // BotonCrear // this.BotonCrear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.BotonCrear.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonCrear.Image = null; this.BotonCrear.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCrear.Location = new System.Drawing.Point(180, 137); this.BotonCrear.Margin = new System.Windows.Forms.Padding(0, 6, 0, 0); this.BotonCrear.MaximumSize = new System.Drawing.Size(160, 64); this.BotonCrear.MinimumSize = new System.Drawing.Size(96, 32); this.BotonCrear.Name = "BotonCrear"; this.BotonCrear.Size = new System.Drawing.Size(136, 40); this.BotonCrear.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonCrear.Subtext = "F6"; this.BotonCrear.TabIndex = 71; this.BotonCrear.Text = "Crear"; this.BotonCrear.Click += new System.EventHandler(this.BotonCrear_Click); // // FormularioListado // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.ClientSize = new System.Drawing.Size(864, 447); this.Controls.Add(this.EtiquetaListadoVacio); this.Controls.Add(this.EntradaBuscar); this.PanelAcciones.Controls.Add(BotonCrear); this.Margin = new System.Windows.Forms.Padding(6); this.MinimumSize = new System.Drawing.Size(795, 486); this.Name = "FormularioListado"; this.Text = "Listado"; this.Controls.SetChildIndex(this.PanelContadores, 0); this.Controls.SetChildIndex(this.PicEsperar, 0); this.Controls.SetChildIndex(this.EntradaBuscar, 0); this.Controls.SetChildIndex(this.EtiquetaCantidad, 0); this.Controls.SetChildIndex(this.Listado, 0); this.Controls.SetChildIndex(this.EtiquetaListadoVacio, 0); this.PanelContadores.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.PicEsperar)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { this.Chart = new Lui.Forms.Chart(); this.PorMes = new Lui.Forms.Button(); this.PorRentabilidad = new Lui.Forms.Button(); this.ChartRent = new Lui.Forms.Chart(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.label1 = new Lui.Forms.Label(); this.label2 = new Lui.Forms.Label(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.label3 = new Lui.Forms.Label(); this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.label4 = new Lui.Forms.Label(); this.pictureBox4 = new System.Windows.Forms.PictureBox(); this.ListadoAnual = new Lui.Forms.ListView(); this.lvAnualMes = new System.Windows.Forms.ColumnHeader(); this.lvAnualMonto = new System.Windows.Forms.ColumnHeader(); this.label7 = new Lui.Forms.Label(); this.pictureBox7 = new System.Windows.Forms.PictureBox(); this.label8 = new Lui.Forms.Label(); this.pictureBox8 = new System.Windows.Forms.PictureBox(); this.ChartMes = new Lui.Forms.Chart(); this.BotonPorDiaDelMes = new Lui.Forms.Button(); this.label9 = new Lui.Forms.Label(); this.pictureBox9 = new System.Windows.Forms.PictureBox(); this.label5 = new Lui.Forms.Label(); this.pictureBox5 = new System.Windows.Forms.PictureBox(); this.label6 = new Lui.Forms.Label(); this.pictureBox6 = new System.Windows.Forms.PictureBox(); this.label10 = new Lui.Forms.Label(); this.pictureBox10 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).BeginInit(); this.SuspendLayout(); // // Chart // this.Chart.BackColor = System.Drawing.Color.White; this.Chart.Location = new System.Drawing.Point(156, 8); this.Chart.Name = "Chart"; this.Chart.Size = new System.Drawing.Size(420, 164); this.Chart.TabIndex = 0; this.Chart.Title = "Comparativa por Año"; this.Chart.VerticalGrid = true; // // PorMes // this.PorMes.DialogResult = System.Windows.Forms.DialogResult.None; this.PorMes.Image = null; this.PorMes.ImagePos = Lui.Forms.ImagePositions.Top; this.PorMes.Location = new System.Drawing.Point(48, 136); this.PorMes.Name = "PorMes"; this.PorMes.Size = new System.Drawing.Size(100, 40); this.PorMes.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.PorMes.Subtext = ""; this.PorMes.TabIndex = 1; this.PorMes.Text = "Mostrar"; this.PorMes.Click += new System.EventHandler(this.PorMes_Click); // // PorRentabilidad // this.PorRentabilidad.DialogResult = System.Windows.Forms.DialogResult.None; this.PorRentabilidad.Image = null; this.PorRentabilidad.ImagePos = Lui.Forms.ImagePositions.Top; this.PorRentabilidad.Location = new System.Drawing.Point(48, 308); this.PorRentabilidad.Name = "PorRentabilidad"; this.PorRentabilidad.Size = new System.Drawing.Size(100, 40); this.PorRentabilidad.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.PorRentabilidad.Subtext = ""; this.PorRentabilidad.TabIndex = 2; this.PorRentabilidad.Text = "Mostrar"; this.PorRentabilidad.Click += new System.EventHandler(this.PorRentabilidad_Click); // // ChartRent // this.ChartRent.BackColor = System.Drawing.Color.White; this.ChartRent.Location = new System.Drawing.Point(156, 180); this.ChartRent.Name = "ChartRent"; this.ChartRent.Size = new System.Drawing.Size(420, 164); this.ChartRent.TabIndex = 3; this.ChartRent.Title = "Rentabilidad"; this.ChartRent.VerticalGrid = true; // // pictureBox1 // this.pictureBox1.BackColor = System.Drawing.Color.Green; this.pictureBox1.Location = new System.Drawing.Point(12, 20); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(20, 8); this.pictureBox1.TabIndex = 4; this.pictureBox1.TabStop = false; // // label1 // this.label1.Location = new System.Drawing.Point(40, 76); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(108, 16); this.label1.TabIndex = 5; this.label1.Text = "Año ante pasado"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label2 // this.label2.Location = new System.Drawing.Point(40, 56); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(108, 16); this.label2.TabIndex = 7; this.label2.Text = "Año pasado"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox2 // this.pictureBox2.BackColor = System.Drawing.Color.DarkGreen; this.pictureBox2.Location = new System.Drawing.Point(32, 40); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new System.Drawing.Size(20, 8); this.pictureBox2.TabIndex = 6; this.pictureBox2.TabStop = false; // // label3 // this.label3.Location = new System.Drawing.Point(40, 16); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(108, 16); this.label3.TabIndex = 9; this.label3.Text = "Este año"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox3 // this.pictureBox3.BackColor = System.Drawing.Color.Gainsboro; this.pictureBox3.Location = new System.Drawing.Point(12, 80); this.pictureBox3.Name = "pictureBox3"; this.pictureBox3.Size = new System.Drawing.Size(20, 8); this.pictureBox3.TabIndex = 8; this.pictureBox3.TabStop = false; // // label4 // this.label4.Location = new System.Drawing.Point(60, 36); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(88, 16); this.label4.TabIndex = 11; this.label4.Text = "Costo"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox4 // this.pictureBox4.BackColor = System.Drawing.Color.Silver; this.pictureBox4.Location = new System.Drawing.Point(12, 60); this.pictureBox4.Name = "pictureBox4"; this.pictureBox4.Size = new System.Drawing.Size(20, 8); this.pictureBox4.TabIndex = 10; this.pictureBox4.TabStop = false; // // lvAnual // this.ListadoAnual.BorderStyle = System.Windows.Forms.BorderStyle.None; this.ListadoAnual.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.lvAnualMes, this.lvAnualMonto }); this.ListadoAnual.FullRowSelect = true; this.ListadoAnual.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.ListadoAnual.LabelWrap = false; this.ListadoAnual.Location = new System.Drawing.Point(584, 8); this.ListadoAnual.MultiSelect = false; this.ListadoAnual.Name = "lvAnual"; this.ListadoAnual.Scrollable = false; this.ListadoAnual.Size = new System.Drawing.Size(176, 336); this.ListadoAnual.TabIndex = 16; this.ListadoAnual.UseCompatibleStateImageBehavior = false; this.ListadoAnual.View = System.Windows.Forms.View.Details; // // lvAnualMes // this.lvAnualMes.Text = ""; this.lvAnualMes.Width = 96; // // lvAnualMonto // this.lvAnualMonto.Text = "Monto"; this.lvAnualMonto.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.lvAnualMonto.Width = 64; // // label7 // this.label7.Location = new System.Drawing.Point(40, 380); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(108, 16); this.label7.TabIndex = 22; this.label7.Text = "Mes pasado"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox7 // this.pictureBox7.BackColor = System.Drawing.Color.DarkGray; this.pictureBox7.Location = new System.Drawing.Point(12, 384); this.pictureBox7.Name = "pictureBox7"; this.pictureBox7.Size = new System.Drawing.Size(20, 8); this.pictureBox7.TabIndex = 21; this.pictureBox7.TabStop = false; // // label8 // this.label8.Location = new System.Drawing.Point(40, 360); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(108, 16); this.label8.TabIndex = 20; this.label8.Text = "Este mes"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox8 // this.pictureBox8.BackColor = System.Drawing.Color.Green; this.pictureBox8.Location = new System.Drawing.Point(12, 364); this.pictureBox8.Name = "pictureBox8"; this.pictureBox8.Size = new System.Drawing.Size(20, 8); this.pictureBox8.TabIndex = 19; this.pictureBox8.TabStop = false; // // ChartMes // this.ChartMes.BackColor = System.Drawing.Color.White; this.ChartMes.Location = new System.Drawing.Point(156, 352); this.ChartMes.Name = "ChartMes"; this.ChartMes.Size = new System.Drawing.Size(604, 124); this.ChartMes.TabIndex = 18; this.ChartMes.Title = "Comparativa por Día del Mes"; this.ChartMes.VerticalGrid = true; // // BotonPorDiaDelMes // this.BotonPorDiaDelMes.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonPorDiaDelMes.Image = null; this.BotonPorDiaDelMes.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonPorDiaDelMes.Location = new System.Drawing.Point(48, 480); this.BotonPorDiaDelMes.Name = "BotonPorDiaDelMes"; this.BotonPorDiaDelMes.Size = new System.Drawing.Size(100, 40); this.BotonPorDiaDelMes.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonPorDiaDelMes.Subtext = ""; this.BotonPorDiaDelMes.TabIndex = 17; this.BotonPorDiaDelMes.Text = "Mostrar"; this.BotonPorDiaDelMes.Click += new System.EventHandler(this.BotonPorDiaDelMes_Click); // // label9 // this.label9.Location = new System.Drawing.Point(40, 400); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(108, 16); this.label9.TabIndex = 24; this.label9.Text = "Mes ante pasado"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox9 // this.pictureBox9.BackColor = System.Drawing.Color.DarkGray; this.pictureBox9.Location = new System.Drawing.Point(12, 404); this.pictureBox9.Name = "pictureBox9"; this.pictureBox9.Size = new System.Drawing.Size(20, 8); this.pictureBox9.TabIndex = 23; this.pictureBox9.TabStop = false; // // label5 // this.label5.Location = new System.Drawing.Point(36, 228); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(108, 16); this.label5.TabIndex = 30; this.label5.Text = "Gastos"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox5 // this.pictureBox5.BackColor = System.Drawing.Color.Red; this.pictureBox5.Location = new System.Drawing.Point(8, 232); this.pictureBox5.Name = "pictureBox5"; this.pictureBox5.Size = new System.Drawing.Size(20, 8); this.pictureBox5.TabIndex = 29; this.pictureBox5.TabStop = false; // // label6 // this.label6.Location = new System.Drawing.Point(36, 208); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(108, 16); this.label6.TabIndex = 28; this.label6.Text = "Facturación"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox6 // this.pictureBox6.BackColor = System.Drawing.Color.Goldenrod; this.pictureBox6.Location = new System.Drawing.Point(8, 212); this.pictureBox6.Name = "pictureBox6"; this.pictureBox6.Size = new System.Drawing.Size(20, 8); this.pictureBox6.TabIndex = 27; this.pictureBox6.TabStop = false; // // label10 // this.label10.Location = new System.Drawing.Point(36, 188); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(108, 16); this.label10.TabIndex = 26; this.label10.Text = "Rentabilidad"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox10 // this.pictureBox10.BackColor = System.Drawing.Color.Green; this.pictureBox10.Location = new System.Drawing.Point(8, 192); this.pictureBox10.Name = "pictureBox10"; this.pictureBox10.Size = new System.Drawing.Size(20, 8); this.pictureBox10.TabIndex = 25; this.pictureBox10.TabStop = false; // // Facturacion // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.ClientSize = new System.Drawing.Size(768, 480); this.Controls.Add(this.label5); this.Controls.Add(this.pictureBox5); this.Controls.Add(this.label6); this.Controls.Add(this.pictureBox6); this.Controls.Add(this.label10); this.Controls.Add(this.pictureBox10); this.Controls.Add(this.label9); this.Controls.Add(this.pictureBox9); this.Controls.Add(this.label7); this.Controls.Add(this.pictureBox7); this.Controls.Add(this.label8); this.Controls.Add(this.pictureBox8); this.Controls.Add(this.ChartMes); this.Controls.Add(this.BotonPorDiaDelMes); this.Controls.Add(this.ListadoAnual); this.Controls.Add(this.label4); this.Controls.Add(this.pictureBox4); this.Controls.Add(this.label3); this.Controls.Add(this.pictureBox3); this.Controls.Add(this.label2); this.Controls.Add(this.pictureBox2); this.Controls.Add(this.label1); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.ChartRent); this.Controls.Add(this.PorRentabilidad); this.Controls.Add(this.PorMes); this.Controls.Add(this.Chart); this.Name = "Facturacion"; this.Text = "Facturación"; ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { this.Chart = new Lui.Forms.Chart(); this.PorMes = new Lui.Forms.Button(); this.PorRentabilidad = new Lui.Forms.Button(); this.ChartRent = new Lui.Forms.Chart(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.label1 = new Lui.Forms.Label(); this.label2 = new Lui.Forms.Label(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.label3 = new Lui.Forms.Label(); this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.label4 = new Lui.Forms.Label(); this.pictureBox4 = new System.Windows.Forms.PictureBox(); this.ListadoAnual = new Lui.Forms.ListView(); this.lvAnualMes = new System.Windows.Forms.ColumnHeader(); this.lvAnualMonto = new System.Windows.Forms.ColumnHeader(); this.label7 = new Lui.Forms.Label(); this.pictureBox7 = new System.Windows.Forms.PictureBox(); this.label8 = new Lui.Forms.Label(); this.pictureBox8 = new System.Windows.Forms.PictureBox(); this.ChartMes = new Lui.Forms.Chart(); this.BotonPorDiaDelMes = new Lui.Forms.Button(); this.label9 = new Lui.Forms.Label(); this.pictureBox9 = new System.Windows.Forms.PictureBox(); this.label5 = new Lui.Forms.Label(); this.pictureBox5 = new System.Windows.Forms.PictureBox(); this.label6 = new Lui.Forms.Label(); this.pictureBox6 = new System.Windows.Forms.PictureBox(); this.label10 = new Lui.Forms.Label(); this.pictureBox10 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).BeginInit(); this.SuspendLayout(); // // Chart // this.Chart.BackColor = System.Drawing.Color.White; this.Chart.Location = new System.Drawing.Point(156, 8); this.Chart.Name = "Chart"; this.Chart.Size = new System.Drawing.Size(420, 164); this.Chart.TabIndex = 0; this.Chart.Title = "Comparativa por Año"; this.Chart.VerticalGrid = true; // // PorMes // this.PorMes.DialogResult = System.Windows.Forms.DialogResult.None; this.PorMes.Image = null; this.PorMes.ImagePos = Lui.Forms.ImagePositions.Top; this.PorMes.Location = new System.Drawing.Point(48, 136); this.PorMes.Name = "PorMes"; this.PorMes.Size = new System.Drawing.Size(100, 40); this.PorMes.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.PorMes.Subtext = ""; this.PorMes.TabIndex = 1; this.PorMes.Text = "Mostrar"; this.PorMes.Click += new System.EventHandler(this.PorMes_Click); // // PorRentabilidad // this.PorRentabilidad.DialogResult = System.Windows.Forms.DialogResult.None; this.PorRentabilidad.Image = null; this.PorRentabilidad.ImagePos = Lui.Forms.ImagePositions.Top; this.PorRentabilidad.Location = new System.Drawing.Point(48, 308); this.PorRentabilidad.Name = "PorRentabilidad"; this.PorRentabilidad.Size = new System.Drawing.Size(100, 40); this.PorRentabilidad.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.PorRentabilidad.Subtext = ""; this.PorRentabilidad.TabIndex = 2; this.PorRentabilidad.Text = "Mostrar"; this.PorRentabilidad.Click += new System.EventHandler(this.PorRentabilidad_Click); // // ChartRent // this.ChartRent.BackColor = System.Drawing.Color.White; this.ChartRent.Location = new System.Drawing.Point(156, 180); this.ChartRent.Name = "ChartRent"; this.ChartRent.Size = new System.Drawing.Size(420, 164); this.ChartRent.TabIndex = 3; this.ChartRent.Title = "Rentabilidad"; this.ChartRent.VerticalGrid = true; // // pictureBox1 // this.pictureBox1.BackColor = System.Drawing.Color.Green; this.pictureBox1.Location = new System.Drawing.Point(12, 20); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(20, 8); this.pictureBox1.TabIndex = 4; this.pictureBox1.TabStop = false; // // label1 // this.label1.Location = new System.Drawing.Point(40, 76); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(108, 16); this.label1.TabIndex = 5; this.label1.Text = "Año ante pasado"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label2 // this.label2.Location = new System.Drawing.Point(40, 56); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(108, 16); this.label2.TabIndex = 7; this.label2.Text = "Año pasado"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox2 // this.pictureBox2.BackColor = System.Drawing.Color.DarkGreen; this.pictureBox2.Location = new System.Drawing.Point(32, 40); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new System.Drawing.Size(20, 8); this.pictureBox2.TabIndex = 6; this.pictureBox2.TabStop = false; // // label3 // this.label3.Location = new System.Drawing.Point(40, 16); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(108, 16); this.label3.TabIndex = 9; this.label3.Text = "Este año"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox3 // this.pictureBox3.BackColor = System.Drawing.Color.Gainsboro; this.pictureBox3.Location = new System.Drawing.Point(12, 80); this.pictureBox3.Name = "pictureBox3"; this.pictureBox3.Size = new System.Drawing.Size(20, 8); this.pictureBox3.TabIndex = 8; this.pictureBox3.TabStop = false; // // label4 // this.label4.Location = new System.Drawing.Point(60, 36); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(88, 16); this.label4.TabIndex = 11; this.label4.Text = "Costo"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox4 // this.pictureBox4.BackColor = System.Drawing.Color.Silver; this.pictureBox4.Location = new System.Drawing.Point(12, 60); this.pictureBox4.Name = "pictureBox4"; this.pictureBox4.Size = new System.Drawing.Size(20, 8); this.pictureBox4.TabIndex = 10; this.pictureBox4.TabStop = false; // // lvAnual // this.ListadoAnual.BorderStyle = System.Windows.Forms.BorderStyle.None; this.ListadoAnual.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.lvAnualMes, this.lvAnualMonto}); this.ListadoAnual.FullRowSelect = true; this.ListadoAnual.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.ListadoAnual.LabelWrap = false; this.ListadoAnual.Location = new System.Drawing.Point(584, 8); this.ListadoAnual.MultiSelect = false; this.ListadoAnual.Name = "lvAnual"; this.ListadoAnual.Scrollable = false; this.ListadoAnual.Size = new System.Drawing.Size(176, 336); this.ListadoAnual.TabIndex = 16; this.ListadoAnual.UseCompatibleStateImageBehavior = false; this.ListadoAnual.View = System.Windows.Forms.View.Details; // // lvAnualMes // this.lvAnualMes.Text = ""; this.lvAnualMes.Width = 96; // // lvAnualMonto // this.lvAnualMonto.Text = "Monto"; this.lvAnualMonto.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.lvAnualMonto.Width = 64; // // label7 // this.label7.Location = new System.Drawing.Point(40, 380); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(108, 16); this.label7.TabIndex = 22; this.label7.Text = "Mes pasado"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox7 // this.pictureBox7.BackColor = System.Drawing.Color.DarkGray; this.pictureBox7.Location = new System.Drawing.Point(12, 384); this.pictureBox7.Name = "pictureBox7"; this.pictureBox7.Size = new System.Drawing.Size(20, 8); this.pictureBox7.TabIndex = 21; this.pictureBox7.TabStop = false; // // label8 // this.label8.Location = new System.Drawing.Point(40, 360); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(108, 16); this.label8.TabIndex = 20; this.label8.Text = "Este mes"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox8 // this.pictureBox8.BackColor = System.Drawing.Color.Green; this.pictureBox8.Location = new System.Drawing.Point(12, 364); this.pictureBox8.Name = "pictureBox8"; this.pictureBox8.Size = new System.Drawing.Size(20, 8); this.pictureBox8.TabIndex = 19; this.pictureBox8.TabStop = false; // // ChartMes // this.ChartMes.BackColor = System.Drawing.Color.White; this.ChartMes.Location = new System.Drawing.Point(156, 352); this.ChartMes.Name = "ChartMes"; this.ChartMes.Size = new System.Drawing.Size(604, 124); this.ChartMes.TabIndex = 18; this.ChartMes.Title = "Comparativa por Día del Mes"; this.ChartMes.VerticalGrid = true; // // BotonPorDiaDelMes // this.BotonPorDiaDelMes.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonPorDiaDelMes.Image = null; this.BotonPorDiaDelMes.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonPorDiaDelMes.Location = new System.Drawing.Point(48, 480); this.BotonPorDiaDelMes.Name = "BotonPorDiaDelMes"; this.BotonPorDiaDelMes.Size = new System.Drawing.Size(100, 40); this.BotonPorDiaDelMes.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonPorDiaDelMes.Subtext = ""; this.BotonPorDiaDelMes.TabIndex = 17; this.BotonPorDiaDelMes.Text = "Mostrar"; this.BotonPorDiaDelMes.Click += new System.EventHandler(this.BotonPorDiaDelMes_Click); // // label9 // this.label9.Location = new System.Drawing.Point(40, 400); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(108, 16); this.label9.TabIndex = 24; this.label9.Text = "Mes ante pasado"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox9 // this.pictureBox9.BackColor = System.Drawing.Color.DarkGray; this.pictureBox9.Location = new System.Drawing.Point(12, 404); this.pictureBox9.Name = "pictureBox9"; this.pictureBox9.Size = new System.Drawing.Size(20, 8); this.pictureBox9.TabIndex = 23; this.pictureBox9.TabStop = false; // // label5 // this.label5.Location = new System.Drawing.Point(36, 228); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(108, 16); this.label5.TabIndex = 30; this.label5.Text = "Gastos"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox5 // this.pictureBox5.BackColor = System.Drawing.Color.Red; this.pictureBox5.Location = new System.Drawing.Point(8, 232); this.pictureBox5.Name = "pictureBox5"; this.pictureBox5.Size = new System.Drawing.Size(20, 8); this.pictureBox5.TabIndex = 29; this.pictureBox5.TabStop = false; // // label6 // this.label6.Location = new System.Drawing.Point(36, 208); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(108, 16); this.label6.TabIndex = 28; this.label6.Text = "Facturación"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox6 // this.pictureBox6.BackColor = System.Drawing.Color.Goldenrod; this.pictureBox6.Location = new System.Drawing.Point(8, 212); this.pictureBox6.Name = "pictureBox6"; this.pictureBox6.Size = new System.Drawing.Size(20, 8); this.pictureBox6.TabIndex = 27; this.pictureBox6.TabStop = false; // // label10 // this.label10.Location = new System.Drawing.Point(36, 188); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(108, 16); this.label10.TabIndex = 26; this.label10.Text = "Rentabilidad"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // pictureBox10 // this.pictureBox10.BackColor = System.Drawing.Color.Green; this.pictureBox10.Location = new System.Drawing.Point(8, 192); this.pictureBox10.Name = "pictureBox10"; this.pictureBox10.Size = new System.Drawing.Size(20, 8); this.pictureBox10.TabIndex = 25; this.pictureBox10.TabStop = false; // // Facturacion // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(768, 480); this.Controls.Add(this.label5); this.Controls.Add(this.pictureBox5); this.Controls.Add(this.label6); this.Controls.Add(this.pictureBox6); this.Controls.Add(this.label10); this.Controls.Add(this.pictureBox10); this.Controls.Add(this.label9); this.Controls.Add(this.pictureBox9); this.Controls.Add(this.label7); this.Controls.Add(this.pictureBox7); this.Controls.Add(this.label8); this.Controls.Add(this.pictureBox8); this.Controls.Add(this.ChartMes); this.Controls.Add(this.BotonPorDiaDelMes); this.Controls.Add(this.ListadoAnual); this.Controls.Add(this.label4); this.Controls.Add(this.pictureBox4); this.Controls.Add(this.label3); this.Controls.Add(this.pictureBox3); this.Controls.Add(this.label2); this.Controls.Add(this.pictureBox2); this.Controls.Add(this.label1); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.ChartRent); this.Controls.Add(this.PorRentabilidad); this.Controls.Add(this.PorMes); this.Controls.Add(this.Chart); this.Name = "Facturacion"; this.Text = "Facturación"; ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.BotonRemito = new Lui.Forms.Button(); this.BotonPedido = new Lui.Forms.Button(); this.BotonRequerimiento = new Lui.Forms.Button(); this.BotonFactura = new Lui.Forms.Button(); this.BotonNotaDeCredito = new Lui.Forms.Button(); this.SuspendLayout(); // // BotonRemito // this.BotonRemito.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.BotonRemito.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonRemito.ForeColor = System.Drawing.Color.Black; this.BotonRemito.Image = null; this.BotonRemito.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonRemito.Location = new System.Drawing.Point(32, 160); this.BotonRemito.Name = "BotonRemito"; this.BotonRemito.Size = new System.Drawing.Size(412, 52); this.BotonRemito.SubLabelPos = Lui.Forms.SubLabelPositions.LongBottom; this.BotonRemito.Subtext = "Para asentar un remito de proveedor."; this.BotonRemito.TabIndex = 2; this.BotonRemito.Text = "Remito"; this.BotonRemito.Click += new System.EventHandler(this.BotonArribo_Click); // // BotonPedido // this.BotonPedido.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.BotonPedido.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonPedido.ForeColor = System.Drawing.Color.Black; this.BotonPedido.Image = null; this.BotonPedido.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonPedido.Location = new System.Drawing.Point(32, 96); this.BotonPedido.Name = "BotonPedido"; this.BotonPedido.Size = new System.Drawing.Size(412, 52); this.BotonPedido.SubLabelPos = Lui.Forms.SubLabelPositions.LongBottom; this.BotonPedido.Subtext = "Para asentar un pedido realizado."; this.BotonPedido.TabIndex = 1; this.BotonPedido.Text = "Pedido"; this.BotonPedido.Click += new System.EventHandler(this.BotonPedido_Click); // // BotonRequerimiento // this.BotonRequerimiento.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.BotonRequerimiento.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonRequerimiento.ForeColor = System.Drawing.Color.Black; this.BotonRequerimiento.Image = null; this.BotonRequerimiento.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonRequerimiento.Location = new System.Drawing.Point(32, 32); this.BotonRequerimiento.Name = "BotonRequerimiento"; this.BotonRequerimiento.Size = new System.Drawing.Size(412, 52); this.BotonRequerimiento.SubLabelPos = Lui.Forms.SubLabelPositions.LongBottom; this.BotonRequerimiento.Subtext = "Para solicitar internamente un pedido."; this.BotonRequerimiento.TabIndex = 0; this.BotonRequerimiento.Text = "Nota de Pedido"; this.BotonRequerimiento.Click += new System.EventHandler(this.BotonRequerimiento_Click); // // BotonFactura // this.BotonFactura.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.BotonFactura.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonFactura.ForeColor = System.Drawing.Color.Black; this.BotonFactura.Image = null; this.BotonFactura.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonFactura.Location = new System.Drawing.Point(32, 224); this.BotonFactura.Name = "BotonFactura"; this.BotonFactura.Size = new System.Drawing.Size(412, 52); this.BotonFactura.SubLabelPos = Lui.Forms.SubLabelPositions.LongBottom; this.BotonFactura.Subtext = "Para asentar una factura de compra."; this.BotonFactura.TabIndex = 3; this.BotonFactura.Text = "Factura"; this.BotonFactura.Click += new System.EventHandler(this.BotonFactura_Click); // // BotonNotaDeCredito // this.BotonNotaDeCredito.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.BotonNotaDeCredito.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonNotaDeCredito.ForeColor = System.Drawing.Color.Black; this.BotonNotaDeCredito.Image = null; this.BotonNotaDeCredito.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonNotaDeCredito.Location = new System.Drawing.Point(32, 288); this.BotonNotaDeCredito.Name = "BotonNotaDeCredito"; this.BotonNotaDeCredito.Size = new System.Drawing.Size(412, 52); this.BotonNotaDeCredito.SubLabelPos = Lui.Forms.SubLabelPositions.LongBottom; this.BotonNotaDeCredito.Subtext = "Para asentar una Nota de Crédito de proveedor."; this.BotonNotaDeCredito.TabIndex = 4; this.BotonNotaDeCredito.Text = "Nota de Crédito"; this.BotonNotaDeCredito.Click += new System.EventHandler(this.BotonNotaDeCredito_Click); // // Crear // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(474, 426); this.Controls.Add(this.BotonNotaDeCredito); this.Controls.Add(this.BotonRequerimiento); this.Controls.Add(this.BotonPedido); this.Controls.Add(this.BotonRemito); this.Controls.Add(this.BotonFactura); this.ForeColor = System.Drawing.Color.Black; this.Name = "Crear"; this.Text = "Crear comprobante de compra"; this.Activated += new System.EventHandler(this.FormPedidosCrear_Activated); this.Load += new System.EventHandler(this.Crear_Load); this.Controls.SetChildIndex(this.BotonFactura, 0); this.Controls.SetChildIndex(this.BotonRemito, 0); this.Controls.SetChildIndex(this.BotonPedido, 0); this.Controls.SetChildIndex(this.BotonRequerimiento, 0); this.Controls.SetChildIndex(this.BotonNotaDeCredito, 0); this.ResumeLayout(false); }
/// <summary> /// Método necesario para admitir el Diseñador. No se puede modificar /// el contenido del método con el editor de código. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AltaDuplicada)); this.label1 = new Lui.Forms.Label(); this.label2 = new Lui.Forms.Label(); this.ListaComparacion = new Lui.Forms.ListView(); this.NombreColumna = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.ColumnaActual = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.ColumnaNueva = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.label3 = new Lui.Forms.Label(); this.BotonCancelar = new Lui.Forms.Button(); this.BotonContinuar = new Lui.Forms.Button(); this.BotonCorregir = new Lui.Forms.Button(); this.TimerHabilitarBotones = new System.Windows.Forms.Timer(this.components); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(24, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(544, 36); this.label1.TabIndex = 3; this.label1.Text = "Posible duplicación de datos"; this.label1.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.MainHeader; // // label2 // this.label2.Location = new System.Drawing.Point(24, 60); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(544, 40); this.label2.TabIndex = 4; this.label2.Text = "Es posible que el cliente que intenta agregar ya haya sigo agregado con anteriori" + "dad. Puede revisar las similitudes para decidir si se trata de la misma persona:" + ""; // // ListaComparacion // this.ListaComparacion.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.ListaComparacion.BackColor = System.Drawing.SystemColors.Window; this.ListaComparacion.BorderStyle = System.Windows.Forms.BorderStyle.None; this.ListaComparacion.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.NombreColumna, this.ColumnaActual, this.ColumnaNueva }); this.ListaComparacion.FieldName = null; this.ListaComparacion.FullRowSelect = true; this.ListaComparacion.GridLines = true; this.ListaComparacion.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.ListaComparacion.LabelWrap = false; this.ListaComparacion.Location = new System.Drawing.Point(24, 100); this.ListaComparacion.Name = "ListaComparacion"; this.ListaComparacion.ReadOnly = false; this.ListaComparacion.Size = new System.Drawing.Size(544, 112); this.ListaComparacion.TabIndex = 5; this.ListaComparacion.TabStop = false; this.ListaComparacion.UseCompatibleStateImageBehavior = false; this.ListaComparacion.View = System.Windows.Forms.View.Details; // // NombreColumna // this.NombreColumna.Text = ""; this.NombreColumna.Width = 100; // // ColumnaActual // this.ColumnaActual.Text = "Cliente anterior"; this.ColumnaActual.Width = 220; // // ColumnaNueva // this.ColumnaNueva.Text = "Cliente nuevo"; this.ColumnaNueva.Width = 220; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label3.Location = new System.Drawing.Point(24, 220); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(544, 32); this.label3.TabIndex = 6; this.label3.Text = "¿Qué desea hacer con los datos cargados?"; this.label3.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.GroupHeader; // // BotonCancelar // this.BotonCancelar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.BotonCancelar.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.BotonCancelar.ForeColor = System.Drawing.SystemColors.ControlText; this.BotonCancelar.Image = ((System.Drawing.Image)(resources.GetObject("BotonCancelar.Image"))); this.BotonCancelar.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCancelar.Location = new System.Drawing.Point(24, 260); this.BotonCancelar.Name = "BotonCancelar"; this.BotonCancelar.Size = new System.Drawing.Size(544, 68); this.BotonCancelar.SubLabelPos = Lui.Forms.SubLabelPositions.LongBottom; this.BotonCancelar.Subtext = "No agrega ni actualiza ningún dato. Sólo vuelve al formulario de alta para revisa" + "r los datos ingresados."; this.BotonCancelar.TabIndex = 0; this.BotonCancelar.Text = "Volver al formulario de alta"; this.BotonCancelar.Click += new System.EventHandler(this.CmdCancelar_Click); // // BotonContinuar // this.BotonContinuar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.BotonContinuar.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonContinuar.Enabled = false; this.BotonContinuar.ForeColor = System.Drawing.SystemColors.ControlText; this.BotonContinuar.Image = ((System.Drawing.Image)(resources.GetObject("BotonContinuar.Image"))); this.BotonContinuar.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonContinuar.Location = new System.Drawing.Point(24, 336); this.BotonContinuar.Name = "BotonContinuar"; this.BotonContinuar.Size = new System.Drawing.Size(544, 68); this.BotonContinuar.SubLabelPos = Lui.Forms.SubLabelPositions.LongBottom; this.BotonContinuar.Subtext = "Seleccione esta opción si se trata de clientes diferentes o si intenta deliberada" + "mente cargar un dato duplicado."; this.BotonContinuar.TabIndex = 1; this.BotonContinuar.Text = "Crear un cliente nuevo"; this.BotonContinuar.Click += new System.EventHandler(this.CmdCrearNuevo_Click); // // BotonCorregir // this.BotonCorregir.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.BotonCorregir.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.BotonCorregir.Enabled = false; this.BotonCorregir.ForeColor = System.Drawing.SystemColors.ControlText; this.BotonCorregir.Image = ((System.Drawing.Image)(resources.GetObject("BotonCorregir.Image"))); this.BotonCorregir.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonCorregir.Location = new System.Drawing.Point(24, 412); this.BotonCorregir.Name = "BotonCorregir"; this.BotonCorregir.Size = new System.Drawing.Size(544, 68); this.BotonCorregir.SubLabelPos = Lui.Forms.SubLabelPositions.LongBottom; this.BotonCorregir.Subtext = "Seleccione esta opción si verificó que se trata del mismo cliente y no desea crea" + "r datos duplicados."; this.BotonCorregir.TabIndex = 2; this.BotonCorregir.Text = "Actualizar los datos del cliente actual"; this.BotonCorregir.Click += new System.EventHandler(this.CmdActualizar_Click); // // TimerHabilitarBotones // this.TimerHabilitarBotones.Enabled = true; this.TimerHabilitarBotones.Interval = 2000; this.TimerHabilitarBotones.Tick += new System.EventHandler(this.TimerHabilitarBotones_Tick); // // AltaDuplicada // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.CancelButton = this.BotonCancelar; this.ClientSize = new System.Drawing.Size(592, 493); this.Controls.Add(this.BotonCancelar); this.Controls.Add(this.label3); this.Controls.Add(this.BotonContinuar); this.Controls.Add(this.BotonCorregir); this.Controls.Add(this.ListaComparacion); this.Controls.Add(this.label1); this.Controls.Add(this.label2); this.ForeColor = System.Drawing.SystemColors.ControlText; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "AltaDuplicada"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Posible duplicación de datos"; this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.ListaItem = new Lui.Forms.ListView(); this.id = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.nombre = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.EntradaBuscar = new Lui.Forms.TextBox(); this.BotonNuevo = new Lui.Forms.Button(); this.Timer1 = new System.Windows.Forms.Timer(this.components); this.SuspendLayout(); // // ListaItem // this.ListaItem.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.ListaItem.BorderStyle = System.Windows.Forms.BorderStyle.None; this.ListaItem.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.id, this.nombre, this.extra1, this.extra2, this.extra3, this.extra4}); this.ListaItem.FullRowSelect = true; this.ListaItem.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; this.ListaItem.HideSelection = false; this.ListaItem.LabelWrap = false; this.ListaItem.Location = new System.Drawing.Point(0, 0); this.ListaItem.MultiSelect = false; this.ListaItem.Name = "ListaItem"; this.ListaItem.Size = new System.Drawing.Size(633, 336); this.ListaItem.TabIndex = 2; this.ListaItem.UseCompatibleStateImageBehavior = false; this.ListaItem.View = System.Windows.Forms.View.Details; this.ListaItem.SelectedIndexChanged += new System.EventHandler(this.ListaItem_SelectedIndexChanged); this.ListaItem.DoubleClick += new System.EventHandler(this.ListaItem_DoubleClick); this.ListaItem.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ListaItem_KeyPress); // // id // this.id.Text = "Cód"; // // nombre // this.nombre.Text = "Detalle"; this.nombre.Width = 300; // // extra1 // this.extra1.Text = ""; this.extra1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.extra1.Width = 100; // // extra2 // this.extra2.Text = ""; this.extra2.Width = 100; // // extra3 // this.extra3.Text = ""; this.extra3.Width = 80; // // extra4 // this.extra4.Text = ""; this.extra4.Width = 80; // // EntradaBuscar // this.EntradaBuscar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaBuscar.AutoNav = false; this.EntradaBuscar.Cursor = System.Windows.Forms.Cursors.Default; this.EntradaBuscar.Location = new System.Drawing.Point(4, 344); this.EntradaBuscar.Name = "EntradaBuscar"; this.EntradaBuscar.Size = new System.Drawing.Size(524, 24); this.EntradaBuscar.TabIndex = 0; this.EntradaBuscar.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.EntradaBuscar_KeyPress); this.EntradaBuscar.TextChanged += new System.EventHandler(this.EntradaBuscar_TextChanged); this.EntradaBuscar.KeyDown += new System.Windows.Forms.KeyEventHandler(this.EntradaBuscar_KeyDown); // // BotonNuevo // this.BotonNuevo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.BotonNuevo.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonNuevo.Image = null; this.BotonNuevo.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonNuevo.Location = new System.Drawing.Point(532, 340); this.BotonNuevo.Name = "BotonNuevo"; this.BotonNuevo.Size = new System.Drawing.Size(96, 30); this.BotonNuevo.SubLabelPos = Lui.Forms.SubLabelPositions.Right; this.BotonNuevo.Subtext = "F6"; this.BotonNuevo.TabIndex = 1; this.BotonNuevo.Text = "Crear"; this.BotonNuevo.Click += new System.EventHandler(this.BotonNuevo_Click); // // Timer1 // this.Timer1.Interval = 1000; this.Timer1.Tick += new System.EventHandler(this.Timer1_Tick); // // DetailBoxQuickSelect // this.AutoScaleBaseSize = new System.Drawing.Size(7, 16); this.ClientSize = new System.Drawing.Size(634, 376); this.Controls.Add(this.BotonNuevo); this.Controls.Add(this.EntradaBuscar); this.Controls.Add(this.ListaItem); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.KeyPreview = true; this.Name = "DetailBoxQuickSelect"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Seleccione de la Lista"; this.TopMost = true; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.DetailBoxQuickSelect_KeyDown); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BusquedaRapida)); this.Listado = new Lui.Forms.ListView(); this.id = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.nombre = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.extra4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.EntradaBuscar = new Lui.Forms.TextBox(); this.BotonNuevo = new Lui.Forms.Button(); this.TimerRefrescar = new System.Windows.Forms.Timer(this.components); this.EtiquetaTitulo = new Lui.Forms.Label(); this.EtiquetaResultados = new Lui.Forms.Label(); this.label2 = new Lui.Forms.Label(); this.EtiquetaSeleccionar = new Lui.Forms.Label(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // Listado // this.Listado.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.Listado.BorderStyle = System.Windows.Forms.BorderStyle.None; this.Listado.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.id, this.nombre, this.extra1, this.extra2, this.extra3, this.extra4 }); this.Listado.FieldName = null; this.Listado.FullRowSelect = true; this.Listado.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.Listado.HideSelection = false; this.Listado.LabelWrap = false; this.Listado.Location = new System.Drawing.Point(24, 128); this.Listado.MultiSelect = false; this.Listado.Name = "Listado"; this.Listado.ReadOnly = false; this.Listado.Size = new System.Drawing.Size(664, 269); this.Listado.TabIndex = 3; this.Listado.UseCompatibleStateImageBehavior = false; this.Listado.View = System.Windows.Forms.View.Details; this.Listado.SelectedIndexChanged += new System.EventHandler(this.Listado_SelectedIndexChanged); this.Listado.DoubleClick += new System.EventHandler(this.Listado_DoubleClick); this.Listado.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Listado_KeyDown); // // id // this.id.Text = "Cód"; // // nombre // this.nombre.Text = "Detalle"; this.nombre.Width = 300; // // extra1 // this.extra1.Text = ""; this.extra1.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.extra1.Width = 100; // // extra2 // this.extra2.Text = ""; this.extra2.Width = 100; // // extra3 // this.extra3.Text = ""; this.extra3.Width = 80; // // extra4 // this.extra4.Text = ""; this.extra4.Width = 80; // // EntradaBuscar // this.EntradaBuscar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EntradaBuscar.AutoNav = false; this.EntradaBuscar.Cursor = System.Windows.Forms.Cursors.Default; this.EntradaBuscar.Location = new System.Drawing.Point(104, 64); this.EntradaBuscar.Name = "EntradaBuscar"; this.EntradaBuscar.PlaceholderText = "¿Qué está buscando?"; this.EntradaBuscar.Size = new System.Drawing.Size(392, 24); this.EntradaBuscar.TabIndex = 1; this.EntradaBuscar.Text = "¿Qué está buscando?"; this.EntradaBuscar.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.EntradaBuscar_KeyPress); this.EntradaBuscar.KeyDown += new System.Windows.Forms.KeyEventHandler(this.EntradaBuscar_KeyDown); this.EntradaBuscar.TextChanged += new System.EventHandler(this.EntradaBuscar_TextChanged); // // BotonNuevo // this.BotonNuevo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.BotonNuevo.DialogResult = System.Windows.Forms.DialogResult.None; this.BotonNuevo.Image = null; this.BotonNuevo.ImagePos = Lui.Forms.ImagePositions.Top; this.BotonNuevo.Location = new System.Drawing.Point(592, 48); this.BotonNuevo.Name = "BotonNuevo"; this.BotonNuevo.Size = new System.Drawing.Size(96, 40); this.BotonNuevo.SubLabelPos = Lui.Forms.SubLabelPositions.Bottom; this.BotonNuevo.Subtext = "F6"; this.BotonNuevo.TabIndex = 4; this.BotonNuevo.Text = "Crear"; this.BotonNuevo.Click += new System.EventHandler(this.BotonNuevo_Click); // // TimerRefrescar // this.TimerRefrescar.Interval = 1000; this.TimerRefrescar.Tick += new System.EventHandler(this.TimerRefrescar_Tick); // // EtiquetaTitulo // this.EtiquetaTitulo.AutoSize = true; this.EtiquetaTitulo.Location = new System.Drawing.Point(96, 24); this.EtiquetaTitulo.Name = "EtiquetaTitulo"; this.EtiquetaTitulo.Size = new System.Drawing.Size(175, 30); this.EtiquetaTitulo.TabIndex = 0; this.EtiquetaTitulo.Text = "Búsqueda rápida"; this.EtiquetaTitulo.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.MainHeader; this.EtiquetaTitulo.UseMnemonic = false; // // EtiquetaResultados // this.EtiquetaResultados.Location = new System.Drawing.Point(24, 104); this.EtiquetaResultados.Name = "EtiquetaResultados"; this.EtiquetaResultados.Size = new System.Drawing.Size(664, 24); this.EtiquetaResultados.TabIndex = 2; this.EtiquetaResultados.Text = "Seleccione de la lista o utilice el cuadro de búsqueda."; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label2.Location = new System.Drawing.Point(24, 445); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(664, 32); this.label2.TabIndex = 6; this.label2.Text = resources.GetString("label2.Text"); this.label2.TextStyle = Lazaro.Pres.DisplayStyles.TextStyles.Small; // // EtiquetaSeleccionar // this.EtiquetaSeleccionar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.EtiquetaSeleccionar.Location = new System.Drawing.Point(122, 378); this.EtiquetaSeleccionar.Name = "EtiquetaSeleccionar"; this.EtiquetaSeleccionar.Size = new System.Drawing.Size(475, 30); this.EtiquetaSeleccionar.TabIndex = 8; this.EtiquetaSeleccionar.Tag = "Pulse la tecla Entrar para seleccionar {0}."; this.EtiquetaSeleccionar.Text = "Pulse la tecla Entrar para seleccionar {0}."; this.EtiquetaSeleccionar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.EtiquetaSeleccionar.UseMnemonic = false; this.EtiquetaSeleccionar.Visible = false; // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(24, 24); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(64, 64); this.pictureBox1.TabIndex = 9; this.pictureBox1.TabStop = false; // // BusquedaRapida // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); this.ClientSize = new System.Drawing.Size(714, 496); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.EtiquetaSeleccionar); this.Controls.Add(this.label2); this.Controls.Add(this.EtiquetaTitulo); this.Controls.Add(this.BotonNuevo); this.Controls.Add(this.EntradaBuscar); this.Controls.Add(this.Listado); this.Controls.Add(this.EtiquetaResultados); this.ForeColor = System.Drawing.SystemColors.ControlText; this.Name = "BusquedaRapida"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Búsqueda rápida"; this.TopMost = true; ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }