Example #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     Bussiness.Logic.Clientes.ClienteLogic      clienteLogic1          = new Bussiness.Logic.Clientes.ClienteLogic();
     Database.Clientes.ClientesAdapter          clientesAdapter1       = new Database.Clientes.ClientesAdapter();
     Bussiness.Logic.IngresoLogic ingresoLogic1 = new Bussiness.Logic.IngresoLogic();
     this.lblTittle             = new System.Windows.Forms.Label();
     this.lblDescripcionIngreso = new System.Windows.Forms.Label();
     this.lblIngreso            = new System.Windows.Forms.Label();
     this.txtDescripcionIngreso = new System.Windows.Forms.TextBox();
     this.txtIngreso            = new System.Windows.Forms.TextBox();
     this.btnAgregarIngreso     = new System.Windows.Forms.Button();
     this.dgvIngresos           = new System.Windows.Forms.DataGridView();
     this.ID                  = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Descripcion         = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Tipo                = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Monto               = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Cliente             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Fecha               = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.lblSubtitle1        = new System.Windows.Forms.Label();
     this.btnBorrarIngreso    = new System.Windows.Forms.Button();
     this.btnEditarIngreso    = new System.Windows.Forms.Button();
     this.btnCalcularIngresos = new System.Windows.Forms.Button();
     this.btnVolverIngreso    = new System.Windows.Forms.Button();
     this.lblCliente          = new System.Windows.Forms.Label();
     this.ddlClientes         = new System.Windows.Forms.ComboBox();
     this.ddlTipo             = new System.Windows.Forms.ComboBox();
     this.label1              = new System.Windows.Forms.Label();
     this.lblMeses            = new System.Windows.Forms.Label();
     this.ddlMeses            = new System.Windows.Forms.ComboBox();
     ((System.ComponentModel.ISupportInitialize)(this.dgvIngresos)).BeginInit();
     this.SuspendLayout();
     //
     // lblTittle
     //
     this.lblTittle.AutoSize  = true;
     this.lblTittle.Font      = new System.Drawing.Font("Microsoft JhengHei UI Light", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTittle.ForeColor = System.Drawing.SystemColors.Highlight;
     this.lblTittle.Location  = new System.Drawing.Point(16, 11);
     this.lblTittle.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblTittle.Name      = "lblTittle";
     this.lblTittle.Size      = new System.Drawing.Size(156, 43);
     this.lblTittle.TabIndex  = 0;
     this.lblTittle.Text      = "Ingresos";
     //
     // lblDescripcionIngreso
     //
     this.lblDescripcionIngreso.AutoSize = true;
     this.lblDescripcionIngreso.Font     = new System.Drawing.Font("Arial", 14F);
     this.lblDescripcionIngreso.Location = new System.Drawing.Point(20, 75);
     this.lblDescripcionIngreso.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblDescripcionIngreso.Name     = "lblDescripcionIngreso";
     this.lblDescripcionIngreso.Size     = new System.Drawing.Size(137, 27);
     this.lblDescripcionIngreso.TabIndex = 1;
     this.lblDescripcionIngreso.Text     = "Descripción";
     //
     // lblIngreso
     //
     this.lblIngreso.AutoSize = true;
     this.lblIngreso.Font     = new System.Drawing.Font("Arial", 12F);
     this.lblIngreso.Location = new System.Drawing.Point(390, 160);
     this.lblIngreso.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblIngreso.Name     = "lblIngreso";
     this.lblIngreso.Size     = new System.Drawing.Size(76, 23);
     this.lblIngreso.TabIndex = 2;
     this.lblIngreso.Text     = "Ingreso";
     this.lblIngreso.Click   += new System.EventHandler(this.lblIngreso_Click);
     //
     // txtDescripcionIngreso
     //
     this.txtDescripcionIngreso.Font         = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.txtDescripcionIngreso.Location     = new System.Drawing.Point(24, 111);
     this.txtDescripcionIngreso.Margin       = new System.Windows.Forms.Padding(4);
     this.txtDescripcionIngreso.Name         = "txtDescripcionIngreso";
     this.txtDescripcionIngreso.Size         = new System.Drawing.Size(1725, 30);
     this.txtDescripcionIngreso.TabIndex     = 3;
     this.txtDescripcionIngreso.TextChanged += new System.EventHandler(this.txtDescripcionIngreso_TextChanged);
     //
     // txtIngreso
     //
     this.txtIngreso.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.txtIngreso.Location = new System.Drawing.Point(394, 187);
     this.txtIngreso.Margin   = new System.Windows.Forms.Padding(4);
     this.txtIngreso.Name     = "txtIngreso";
     this.txtIngreso.Size     = new System.Drawing.Size(289, 30);
     this.txtIngreso.TabIndex = 4;
     //
     // btnAgregarIngreso
     //
     this.btnAgregarIngreso.BackColor = System.Drawing.SystemColors.MenuHighlight;
     this.btnAgregarIngreso.FlatAppearance.BorderColor = System.Drawing.Color.White;
     this.btnAgregarIngreso.FlatAppearance.BorderSize  = 0;
     this.btnAgregarIngreso.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnAgregarIngreso.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.btnAgregarIngreso.ForeColor = System.Drawing.SystemColors.Info;
     this.btnAgregarIngreso.Location  = new System.Drawing.Point(1292, 184);
     this.btnAgregarIngreso.Margin    = new System.Windows.Forms.Padding(4);
     this.btnAgregarIngreso.Name      = "btnAgregarIngreso";
     this.btnAgregarIngreso.Size      = new System.Drawing.Size(457, 40);
     this.btnAgregarIngreso.TabIndex  = 5;
     this.btnAgregarIngreso.Text      = "Agregar registro";
     this.btnAgregarIngreso.UseVisualStyleBackColor = false;
     this.btnAgregarIngreso.Click += new System.EventHandler(this.btnAgregarIngreso_Click);
     //
     // dgvIngresos
     //
     this.dgvIngresos.AllowUserToAddRows            = false;
     this.dgvIngresos.AllowUserToDeleteRows         = false;
     this.dgvIngresos.BackgroundColor               = System.Drawing.SystemColors.ButtonFace;
     dataGridViewCellStyle1.Alignment               = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor               = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     dataGridViewCellStyle1.ForeColor               = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle1.SelectionBackColor      = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor      = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode                = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvIngresos.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.dgvIngresos.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvIngresos.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.ID,
         this.Descripcion,
         this.Tipo,
         this.Monto,
         this.Cliente,
         this.Fecha
     });
     dataGridViewCellStyle2.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font               = new System.Drawing.Font("Microsoft Sans Serif", 11F);
     dataGridViewCellStyle2.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle2.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvIngresos.DefaultCellStyle         = dataGridViewCellStyle2;
     this.dgvIngresos.Location                   = new System.Drawing.Point(24, 304);
     this.dgvIngresos.Margin                     = new System.Windows.Forms.Padding(4);
     this.dgvIngresos.Name                       = "dgvIngresos";
     this.dgvIngresos.ReadOnly                   = true;
     dataGridViewCellStyle3.Alignment            = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor            = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle3.Font                 = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     dataGridViewCellStyle3.ForeColor            = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle3.SelectionBackColor   = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle3.SelectionForeColor   = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle3.WrapMode             = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvIngresos.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
     this.dgvIngresos.Size                       = new System.Drawing.Size(1725, 287);
     this.dgvIngresos.TabIndex                   = 6;
     //
     // ID
     //
     this.ID.DataPropertyName = "ID";
     this.ID.HeaderText       = "ID";
     this.ID.Name             = "ID";
     this.ID.ReadOnly         = true;
     this.ID.Width            = 60;
     //
     // Descripcion
     //
     this.Descripcion.DataPropertyName = "Descripcion";
     this.Descripcion.HeaderText       = "Descripcion";
     this.Descripcion.Name             = "Descripcion";
     this.Descripcion.ReadOnly         = true;
     this.Descripcion.Width            = 350;
     //
     // Tipo
     //
     this.Tipo.DataPropertyName = "Tipo";
     this.Tipo.HeaderText       = "Tipo";
     this.Tipo.Name             = "Tipo";
     this.Tipo.ReadOnly         = true;
     //
     // Monto
     //
     this.Monto.DataPropertyName = "Monto";
     this.Monto.HeaderText       = "Monto [$]";
     this.Monto.Name             = "Monto";
     this.Monto.ReadOnly         = true;
     //
     // Cliente
     //
     this.Cliente.DataPropertyName = "Nombre_Apellido";
     this.Cliente.HeaderText       = "Cliente";
     this.Cliente.Name             = "Cliente";
     this.Cliente.ReadOnly         = true;
     //
     // Fecha
     //
     this.Fecha.DataPropertyName = "Fecha";
     this.Fecha.HeaderText       = "Fecha ult. modificación";
     this.Fecha.Name             = "Fecha";
     this.Fecha.ReadOnly         = true;
     //
     // lblSubtitle1
     //
     this.lblSubtitle1.AutoSize  = true;
     this.lblSubtitle1.Font      = new System.Drawing.Font("Microsoft JhengHei UI Light", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblSubtitle1.ForeColor = System.Drawing.SystemColors.WindowFrame;
     this.lblSubtitle1.Location  = new System.Drawing.Point(21, 259);
     this.lblSubtitle1.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblSubtitle1.Name      = "lblSubtitle1";
     this.lblSubtitle1.Size      = new System.Drawing.Size(220, 32);
     this.lblSubtitle1.TabIndex  = 7;
     this.lblSubtitle1.Text      = "Lista de ingresos";
     //
     // btnBorrarIngreso
     //
     this.btnBorrarIngreso.BackColor = System.Drawing.SystemColors.Window;
     this.btnBorrarIngreso.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.btnBorrarIngreso.Location  = new System.Drawing.Point(268, 609);
     this.btnBorrarIngreso.Margin    = new System.Windows.Forms.Padding(4);
     this.btnBorrarIngreso.Name      = "btnBorrarIngreso";
     this.btnBorrarIngreso.Size      = new System.Drawing.Size(208, 36);
     this.btnBorrarIngreso.TabIndex  = 8;
     this.btnBorrarIngreso.Text      = "Eliminar";
     this.btnBorrarIngreso.UseVisualStyleBackColor = false;
     this.btnBorrarIngreso.Click += new System.EventHandler(this.btnBorrarIngreso_Click);
     //
     // btnEditarIngreso
     //
     this.btnEditarIngreso.BackColor = System.Drawing.SystemColors.MenuHighlight;
     this.btnEditarIngreso.FlatAppearance.BorderColor = System.Drawing.Color.White;
     this.btnEditarIngreso.FlatAppearance.BorderSize  = 0;
     this.btnEditarIngreso.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnEditarIngreso.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.btnEditarIngreso.ForeColor = System.Drawing.SystemColors.Info;
     this.btnEditarIngreso.Location  = new System.Drawing.Point(24, 609);
     this.btnEditarIngreso.Margin    = new System.Windows.Forms.Padding(4);
     this.btnEditarIngreso.Name      = "btnEditarIngreso";
     this.btnEditarIngreso.Size      = new System.Drawing.Size(208, 36);
     this.btnEditarIngreso.TabIndex  = 9;
     this.btnEditarIngreso.Text      = "Editar";
     this.btnEditarIngreso.UseVisualStyleBackColor = false;
     this.btnEditarIngreso.Click += new System.EventHandler(this.btnEditarIngreso_Click);
     //
     // btnCalcularIngresos
     //
     this.btnCalcularIngresos.BackColor = System.Drawing.SystemColors.InactiveCaption;
     this.btnCalcularIngresos.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.btnCalcularIngresos.Location  = new System.Drawing.Point(316, 259);
     this.btnCalcularIngresos.Margin    = new System.Windows.Forms.Padding(4);
     this.btnCalcularIngresos.Name      = "btnCalcularIngresos";
     this.btnCalcularIngresos.Size      = new System.Drawing.Size(480, 32);
     this.btnCalcularIngresos.TabIndex  = 10;
     this.btnCalcularIngresos.Text      = "Calcular ingresos";
     this.btnCalcularIngresos.UseVisualStyleBackColor = false;
     this.btnCalcularIngresos.Click += new System.EventHandler(this.btnCalcularIngresos_Click);
     //
     // btnVolverIngreso
     //
     this.btnVolverIngreso.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.btnVolverIngreso.Location = new System.Drawing.Point(1561, 609);
     this.btnVolverIngreso.Margin   = new System.Windows.Forms.Padding(4);
     this.btnVolverIngreso.Name     = "btnVolverIngreso";
     this.btnVolverIngreso.Size     = new System.Drawing.Size(188, 36);
     this.btnVolverIngreso.TabIndex = 23;
     this.btnVolverIngreso.Text     = "Volver";
     this.btnVolverIngreso.UseVisualStyleBackColor = true;
     this.btnVolverIngreso.Click += new System.EventHandler(this.btnVolverIngreso_Click);
     //
     // lblCliente
     //
     this.lblCliente.AutoSize = true;
     this.lblCliente.Font     = new System.Drawing.Font("Arial", 12F);
     this.lblCliente.Location = new System.Drawing.Point(715, 157);
     this.lblCliente.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblCliente.Name     = "lblCliente";
     this.lblCliente.Size     = new System.Drawing.Size(70, 23);
     this.lblCliente.TabIndex = 30;
     this.lblCliente.Text     = "Cliente";
     //
     // ddlClientes
     //
     this.ddlClientes.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddlClientes.Font              = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.ddlClientes.FormattingEnabled = true;
     this.ddlClientes.Location          = new System.Drawing.Point(719, 184);
     this.ddlClientes.Margin            = new System.Windows.Forms.Padding(4);
     this.ddlClientes.Name              = "ddlClientes";
     this.ddlClientes.Size              = new System.Drawing.Size(528, 33);
     this.ddlClientes.TabIndex          = 29;
     //
     // ddlTipo
     //
     this.ddlTipo.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddlTipo.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.ddlTipo.FormattingEnabled     = true;
     this.ddlTipo.Location              = new System.Drawing.Point(24, 182);
     this.ddlTipo.Margin                = new System.Windows.Forms.Padding(4);
     this.ddlTipo.Name                  = "ddlTipo";
     this.ddlTipo.Size                  = new System.Drawing.Size(332, 33);
     this.ddlTipo.TabIndex              = 27;
     this.ddlTipo.SelectedIndexChanged += new System.EventHandler(this.ddlTipo_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Arial", 12F);
     this.label1.Location = new System.Drawing.Point(23, 159);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(47, 23);
     this.label1.TabIndex = 28;
     this.label1.Text     = "Tipo";
     //
     // lblMeses
     //
     this.lblMeses.AutoSize = true;
     this.lblMeses.Font     = new System.Drawing.Font("Arial", 12F);
     this.lblMeses.Location = new System.Drawing.Point(914, 235);
     this.lblMeses.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblMeses.Name     = "lblMeses";
     this.lblMeses.Size     = new System.Drawing.Size(48, 23);
     this.lblMeses.TabIndex = 32;
     this.lblMeses.Text     = "Mes";
     //
     // ddlMeses
     //
     this.ddlMeses.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddlMeses.Font                  = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.ddlMeses.FormattingEnabled     = true;
     this.ddlMeses.Location              = new System.Drawing.Point(915, 258);
     this.ddlMeses.Margin                = new System.Windows.Forms.Padding(4);
     this.ddlMeses.Name                  = "ddlMeses";
     this.ddlMeses.Size                  = new System.Drawing.Size(332, 33);
     this.ddlMeses.TabIndex              = 31;
     this.ddlMeses.SelectedIndexChanged += new System.EventHandler(this.ddlMeses_SelectedIndexChanged);
     //
     // Ingresos
     //
     clienteLogic1._RecordManejador = null;
     clienteLogic1._TiposManejador  = null;
     clienteLogic1.ClienteAdapter   = clientesAdapter1;
     this._CliLogic = clienteLogic1;
     ingresoLogic1._RecordManejador = null;
     ingresoLogic1._TiposManejador  = null;
     this._IngLogic           = ingresoLogic1;
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize            = true;
     this.ClientSize          = new System.Drawing.Size(1832, 656);
     this.Controls.Add(this.lblMeses);
     this.Controls.Add(this.ddlMeses);
     this.Controls.Add(this.lblCliente);
     this.Controls.Add(this.ddlClientes);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.ddlTipo);
     this.Controls.Add(this.btnVolverIngreso);
     this.Controls.Add(this.btnCalcularIngresos);
     this.Controls.Add(this.btnEditarIngreso);
     this.Controls.Add(this.btnBorrarIngreso);
     this.Controls.Add(this.lblSubtitle1);
     this.Controls.Add(this.dgvIngresos);
     this.Controls.Add(this.btnAgregarIngreso);
     this.Controls.Add(this.txtIngreso);
     this.Controls.Add(this.txtDescripcionIngreso);
     this.Controls.Add(this.lblIngreso);
     this.Controls.Add(this.lblDescripcionIngreso);
     this.Controls.Add(this.lblTittle);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Margin          = new System.Windows.Forms.Padding(4);
     this.MaximizeBox     = false;
     this.Name            = "Ingresos";
     this.Text            = "Ingresos";
     ((System.ComponentModel.ISupportInitialize)(this.dgvIngresos)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     Bussiness.Logic.Clientes.ClienteLogic      clienteLogic1          = new Bussiness.Logic.Clientes.ClienteLogic();
     Database.Clientes.ClientesAdapter          clientesAdapter1       = new Database.Clientes.ClientesAdapter();
     Bussiness.Logic.IngresoLogic ingresoLogic1 = new Bussiness.Logic.IngresoLogic();
     this.btnAgregarCliente = new System.Windows.Forms.Button();
     this.btnVolverCliente  = new System.Windows.Forms.Button();
     this.btnEditarCliente  = new System.Windows.Forms.Button();
     this.btnBorrarCliente  = new System.Windows.Forms.Button();
     this.lblTitleListado   = new System.Windows.Forms.Label();
     this.dgvClientes       = new System.Windows.Forms.DataGridView();
     this.ID                = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Nombre            = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Tipo              = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Monto             = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.TelFijo           = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Celular           = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.btnConsultarDatos = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.dgvClientes)).BeginInit();
     this.SuspendLayout();
     //
     // btnAgregarCliente
     //
     this.btnAgregarCliente.BackColor = System.Drawing.SystemColors.MenuHighlight;
     this.btnAgregarCliente.FlatAppearance.BorderColor = System.Drawing.Color.White;
     this.btnAgregarCliente.FlatAppearance.BorderSize  = 0;
     this.btnAgregarCliente.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnAgregarCliente.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.btnAgregarCliente.ForeColor = System.Drawing.SystemColors.Info;
     this.btnAgregarCliente.Location  = new System.Drawing.Point(1200, 25);
     this.btnAgregarCliente.Margin    = new System.Windows.Forms.Padding(4);
     this.btnAgregarCliente.Name      = "btnAgregarCliente";
     this.btnAgregarCliente.Size      = new System.Drawing.Size(324, 28);
     this.btnAgregarCliente.TabIndex  = 41;
     this.btnAgregarCliente.Text      = "Agregar nuevo cliente";
     this.btnAgregarCliente.UseVisualStyleBackColor = false;
     this.btnAgregarCliente.Click += new System.EventHandler(this.btnAgregarCliente_Click);
     //
     // btnVolverCliente
     //
     this.btnVolverCliente.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.btnVolverCliente.Location = new System.Drawing.Point(1204, 533);
     this.btnVolverCliente.Margin   = new System.Windows.Forms.Padding(4);
     this.btnVolverCliente.Name     = "btnVolverCliente";
     this.btnVolverCliente.Size     = new System.Drawing.Size(324, 36);
     this.btnVolverCliente.TabIndex = 40;
     this.btnVolverCliente.Text     = "Volver";
     this.btnVolverCliente.UseVisualStyleBackColor = true;
     this.btnVolverCliente.Click += new System.EventHandler(this.btnVolverCliente_Click);
     //
     // btnEditarCliente
     //
     this.btnEditarCliente.BackColor = System.Drawing.SystemColors.MenuHighlight;
     this.btnEditarCliente.FlatAppearance.BorderColor = System.Drawing.Color.White;
     this.btnEditarCliente.FlatAppearance.BorderSize  = 0;
     this.btnEditarCliente.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnEditarCliente.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.btnEditarCliente.ForeColor = System.Drawing.SystemColors.Info;
     this.btnEditarCliente.Location  = new System.Drawing.Point(25, 533);
     this.btnEditarCliente.Margin    = new System.Windows.Forms.Padding(4);
     this.btnEditarCliente.Name      = "btnEditarCliente";
     this.btnEditarCliente.Size      = new System.Drawing.Size(208, 36);
     this.btnEditarCliente.TabIndex  = 39;
     this.btnEditarCliente.Text      = "Editar";
     this.btnEditarCliente.UseVisualStyleBackColor = false;
     this.btnEditarCliente.Click += new System.EventHandler(this.btnEditarCliente_Click);
     //
     // btnBorrarCliente
     //
     this.btnBorrarCliente.BackColor = System.Drawing.SystemColors.Window;
     this.btnBorrarCliente.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnBorrarCliente.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.btnBorrarCliente.Location  = new System.Drawing.Point(269, 533);
     this.btnBorrarCliente.Margin    = new System.Windows.Forms.Padding(4);
     this.btnBorrarCliente.Name      = "btnBorrarCliente";
     this.btnBorrarCliente.Size      = new System.Drawing.Size(208, 36);
     this.btnBorrarCliente.TabIndex  = 38;
     this.btnBorrarCliente.Text      = "Eliminar";
     this.btnBorrarCliente.UseVisualStyleBackColor = false;
     this.btnBorrarCliente.Click += new System.EventHandler(this.btnBorrarCliente_Click);
     //
     // lblTitleListado
     //
     this.lblTitleListado.AutoSize  = true;
     this.lblTitleListado.Font      = new System.Drawing.Font("Microsoft JhengHei UI Light", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTitleListado.ForeColor = System.Drawing.SystemColors.WindowFrame;
     this.lblTitleListado.Location  = new System.Drawing.Point(19, 19);
     this.lblTitleListado.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblTitleListado.Name      = "lblTitleListado";
     this.lblTitleListado.Size      = new System.Drawing.Size(210, 32);
     this.lblTitleListado.TabIndex  = 37;
     this.lblTitleListado.Text      = "Lista de clientes";
     //
     // dgvClientes
     //
     this.dgvClientes.AllowUserToAddRows            = false;
     this.dgvClientes.AllowUserToDeleteRows         = false;
     this.dgvClientes.BackgroundColor               = System.Drawing.SystemColors.ButtonFace;
     dataGridViewCellStyle1.Alignment               = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor               = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font                    = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     dataGridViewCellStyle1.ForeColor               = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle1.SelectionBackColor      = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor      = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode                = System.Windows.Forms.DataGridViewTriState.True;
     this.dgvClientes.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.dgvClientes.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dgvClientes.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.ID,
         this.Nombre,
         this.Tipo,
         this.Monto,
         this.TelFijo,
         this.Celular
     });
     dataGridViewCellStyle2.Alignment          = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor          = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font               = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     dataGridViewCellStyle2.ForeColor          = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle2.WrapMode           = System.Windows.Forms.DataGridViewTriState.False;
     this.dgvClientes.DefaultCellStyle         = dataGridViewCellStyle2;
     this.dgvClientes.Location          = new System.Drawing.Point(25, 76);
     this.dgvClientes.Margin            = new System.Windows.Forms.Padding(4);
     this.dgvClientes.Name              = "dgvClientes";
     this.dgvClientes.ReadOnly          = true;
     this.dgvClientes.Size              = new System.Drawing.Size(1499, 440);
     this.dgvClientes.TabIndex          = 36;
     this.dgvClientes.SelectionChanged += new System.EventHandler(this.dgvClientes_SelectionChanged);
     //
     // ID
     //
     this.ID.DataPropertyName = "ID";
     this.ID.HeaderText       = "ID";
     this.ID.Name             = "ID";
     this.ID.ReadOnly         = true;
     //
     // Nombre
     //
     this.Nombre.DataPropertyName = "Nombre";
     this.Nombre.HeaderText       = "Nombre";
     this.Nombre.Name             = "Nombre";
     this.Nombre.ReadOnly         = true;
     this.Nombre.Width            = 350;
     //
     // Tipo
     //
     this.Tipo.DataPropertyName = "Apellido";
     this.Tipo.HeaderText       = "Apellido";
     this.Tipo.Name             = "Tipo";
     this.Tipo.ReadOnly         = true;
     //
     // Monto
     //
     this.Monto.DataPropertyName = "Direccion";
     this.Monto.HeaderText       = "Dirección";
     this.Monto.Name             = "Monto";
     this.Monto.ReadOnly         = true;
     //
     // TelFijo
     //
     this.TelFijo.DataPropertyName = "TelefonoFijo";
     this.TelFijo.HeaderText       = "Teléfono Fijo";
     this.TelFijo.Name             = "TelFijo";
     this.TelFijo.ReadOnly         = true;
     //
     // Celular
     //
     this.Celular.DataPropertyName = "TelefonoCelular";
     this.Celular.HeaderText       = "Celular";
     this.Celular.Name             = "Celular";
     this.Celular.ReadOnly         = true;
     this.Celular.Width            = 150;
     //
     // btnConsultarDatos
     //
     this.btnConsultarDatos.BackColor = System.Drawing.SystemColors.Window;
     this.btnConsultarDatos.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnConsultarDatos.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.btnConsultarDatos.Location  = new System.Drawing.Point(319, 25);
     this.btnConsultarDatos.Margin    = new System.Windows.Forms.Padding(4);
     this.btnConsultarDatos.Name      = "btnConsultarDatos";
     this.btnConsultarDatos.Size      = new System.Drawing.Size(388, 28);
     this.btnConsultarDatos.TabIndex  = 42;
     this.btnConsultarDatos.Text      = "Ver datos";
     this.btnConsultarDatos.UseVisualStyleBackColor = false;
     this.btnConsultarDatos.Click += new System.EventHandler(this.btnConsultarDatos_Click);
     //
     // MainClientes
     //
     clienteLogic1._RecordManejador = null;
     clienteLogic1._TiposManejador  = null;
     clienteLogic1.ClienteAdapter   = clientesAdapter1;
     this._CliLogic = clienteLogic1;
     ingresoLogic1._RecordManejador = null;
     ingresoLogic1._TiposManejador  = null;
     this._IngLogic           = ingresoLogic1;
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize            = true;
     this.ClientSize          = new System.Drawing.Size(1550, 574);
     this.Controls.Add(this.btnConsultarDatos);
     this.Controls.Add(this.btnAgregarCliente);
     this.Controls.Add(this.btnVolverCliente);
     this.Controls.Add(this.btnEditarCliente);
     this.Controls.Add(this.btnBorrarCliente);
     this.Controls.Add(this.lblTitleListado);
     this.Controls.Add(this.dgvClientes);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.Name            = "MainClientes";
     this.Text            = "Listado clientes";
     ((System.ComponentModel.ISupportInitialize)(this.dgvClientes)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Bussiness.Logic.Clientes.ClienteLogic clienteLogic1    = new Bussiness.Logic.Clientes.ClienteLogic();
     Database.Clientes.ClientesAdapter     clientesAdapter1 = new Database.Clientes.ClientesAdapter();
     Bussiness.Logic.IngresoLogic          ingresoLogic1    = new Bussiness.Logic.IngresoLogic();
     this.txtDireccion      = new System.Windows.Forms.TextBox();
     this.label7            = new System.Windows.Forms.Label();
     this.txtCelAlternativo = new System.Windows.Forms.TextBox();
     this.btnCancelar       = new System.Windows.Forms.Button();
     this.btnAceptar        = new System.Windows.Forms.Button();
     this.txtComentarios    = new System.Windows.Forms.RichTextBox();
     this.label8            = new System.Windows.Forms.Label();
     this.label5            = new System.Windows.Forms.Label();
     this.txtCelular        = new System.Windows.Forms.TextBox();
     this.label4            = new System.Windows.Forms.Label();
     this.txtFijo           = new System.Windows.Forms.TextBox();
     this.label3            = new System.Windows.Forms.Label();
     this.txtApellido       = new System.Windows.Forms.TextBox();
     this.label2            = new System.Windows.Forms.Label();
     this.txtNombre         = new System.Windows.Forms.TextBox();
     this.label1            = new System.Windows.Forms.Label();
     this.lblTittle         = new System.Windows.Forms.Label();
     this.lblError          = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // txtDireccion
     //
     this.txtDireccion.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDireccion.Location = new System.Drawing.Point(35, 358);
     this.txtDireccion.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.txtDireccion.Name     = "txtDireccion";
     this.txtDireccion.Size     = new System.Drawing.Size(975, 26);
     this.txtDireccion.TabIndex = 57;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.Location = new System.Drawing.Point(29, 322);
     this.label7.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(93, 25);
     this.label7.TabIndex = 56;
     this.label7.Text     = "Dirección";
     //
     // txtCelAlternativo
     //
     this.txtCelAlternativo.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCelAlternativo.Location = new System.Drawing.Point(676, 259);
     this.txtCelAlternativo.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.txtCelAlternativo.Name     = "txtCelAlternativo";
     this.txtCelAlternativo.Size     = new System.Drawing.Size(334, 26);
     this.txtCelAlternativo.TabIndex = 55;
     //
     // btnCancelar
     //
     this.btnCancelar.BackColor = System.Drawing.SystemColors.ButtonShadow;
     this.btnCancelar.FlatAppearance.BorderColor = System.Drawing.Color.Blue;
     this.btnCancelar.FlatAppearance.BorderSize  = 0;
     this.btnCancelar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnCancelar.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnCancelar.ForeColor = System.Drawing.SystemColors.Desktop;
     this.btnCancelar.Location  = new System.Drawing.Point(550, 638);
     this.btnCancelar.Margin    = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.btnCancelar.Name      = "btnCancelar";
     this.btnCancelar.Size      = new System.Drawing.Size(461, 46);
     this.btnCancelar.TabIndex  = 54;
     this.btnCancelar.Text      = "Cancelar";
     this.btnCancelar.UseVisualStyleBackColor = false;
     this.btnCancelar.Click += new System.EventHandler(this.btnCancelar_Click);
     //
     // btnAceptar
     //
     this.btnAceptar.BackColor = System.Drawing.SystemColors.ControlDark;
     this.btnAceptar.FlatAppearance.BorderColor = System.Drawing.Color.Blue;
     this.btnAceptar.FlatAppearance.BorderSize  = 0;
     this.btnAceptar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.btnAceptar.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnAceptar.ForeColor = System.Drawing.SystemColors.InactiveBorder;
     this.btnAceptar.Location  = new System.Drawing.Point(35, 638);
     this.btnAceptar.Margin    = new System.Windows.Forms.Padding(5, 5, 5, 5);
     this.btnAceptar.Name      = "btnAceptar";
     this.btnAceptar.Size      = new System.Drawing.Size(452, 46);
     this.btnAceptar.TabIndex  = 53;
     this.btnAceptar.Text      = "Agregar";
     this.btnAceptar.UseVisualStyleBackColor = false;
     this.btnAceptar.Click += new System.EventHandler(this.btnAceptar_Click);
     //
     // txtComentarios
     //
     this.txtComentarios.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.txtComentarios.Location = new System.Drawing.Point(35, 468);
     this.txtComentarios.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.txtComentarios.Name     = "txtComentarios";
     this.txtComentarios.Size     = new System.Drawing.Size(975, 119);
     this.txtComentarios.TabIndex = 52;
     this.txtComentarios.Text     = "";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location = new System.Drawing.Point(29, 418);
     this.label8.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(123, 25);
     this.label8.TabIndex = 51;
     this.label8.Text     = "Comentarios";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(670, 224);
     this.label5.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(168, 25);
     this.label5.TabIndex = 50;
     this.label5.Text     = "Celular alternativo";
     //
     // txtCelular
     //
     this.txtCelular.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtCelular.Location = new System.Drawing.Point(314, 259);
     this.txtCelular.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.txtCelular.Name     = "txtCelular";
     this.txtCelular.Size     = new System.Drawing.Size(334, 26);
     this.txtCelular.TabIndex = 49;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(308, 224);
     this.label4.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(74, 25);
     this.label4.TabIndex = 48;
     this.label4.Text     = "Celular";
     //
     // txtFijo
     //
     this.txtFijo.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtFijo.Location = new System.Drawing.Point(35, 259);
     this.txtFijo.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.txtFijo.Name     = "txtFijo";
     this.txtFijo.Size     = new System.Drawing.Size(234, 26);
     this.txtFijo.TabIndex = 47;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(29, 224);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(118, 25);
     this.label3.TabIndex = 46;
     this.label3.Text     = "Teléfono fijo";
     //
     // txtApellido
     //
     this.txtApellido.Font         = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtApellido.Location     = new System.Drawing.Point(550, 150);
     this.txtApellido.Margin       = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.txtApellido.Name         = "txtApellido";
     this.txtApellido.Size         = new System.Drawing.Size(460, 26);
     this.txtApellido.TabIndex     = 45;
     this.txtApellido.TextChanged += new System.EventHandler(this.textbox_Changed);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(544, 115);
     this.label2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(109, 25);
     this.label2.TabIndex = 44;
     this.label2.Text     = "Apellido (*)";
     //
     // txtNombre
     //
     this.txtNombre.Font         = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtNombre.Location     = new System.Drawing.Point(35, 150);
     this.txtNombre.Margin       = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.txtNombre.Name         = "txtNombre";
     this.txtNombre.Size         = new System.Drawing.Size(452, 26);
     this.txtNombre.TabIndex     = 43;
     this.txtNombre.TextChanged += new System.EventHandler(this.textbox_Changed);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(29, 115);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(108, 25);
     this.label1.TabIndex = 42;
     this.label1.Text     = "Nombre (*)";
     //
     // lblTittle
     //
     this.lblTittle.AutoSize  = true;
     this.lblTittle.Font      = new System.Drawing.Font("Microsoft JhengHei UI Light", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTittle.ForeColor = System.Drawing.SystemColors.Highlight;
     this.lblTittle.Location  = new System.Drawing.Point(325, 24);
     this.lblTittle.Margin    = new System.Windows.Forms.Padding(5, 0, 5, 0);
     this.lblTittle.Name      = "lblTittle";
     this.lblTittle.Size      = new System.Drawing.Size(301, 43);
     this.lblTittle.TabIndex  = 59;
     this.lblTittle.Text      = "Datos del Cliente";
     //
     // lblError
     //
     this.lblError.AutoSize = true;
     this.lblError.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblError.Location = new System.Drawing.Point(29, 591);
     this.lblError.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblError.Name     = "lblError";
     this.lblError.Size     = new System.Drawing.Size(384, 25);
     this.lblError.TabIndex = 60;
     this.lblError.Text     = "Debe completar los campos obligatorios (*)";
     this.lblError.Visible  = false;
     //
     // DatosCliente
     //
     clienteLogic1._RecordManejador = null;
     clienteLogic1._TiposManejador  = null;
     clienteLogic1.ClienteAdapter   = clientesAdapter1;
     this._CliLogic = clienteLogic1;
     ingresoLogic1._RecordManejador = null;
     ingresoLogic1._TiposManejador  = null;
     this._IngLogic           = ingresoLogic1;
     this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 20F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1039, 700);
     this.Controls.Add(this.lblError);
     this.Controls.Add(this.lblTittle);
     this.Controls.Add(this.txtDireccion);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.txtCelAlternativo);
     this.Controls.Add(this.btnCancelar);
     this.Controls.Add(this.btnAceptar);
     this.Controls.Add(this.txtComentarios);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.txtCelular);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.txtFijo);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.txtApellido);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.txtNombre);
     this.Controls.Add(this.label1);
     this.Font   = new System.Drawing.Font("Microsoft Sans Serif", 10F);
     this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.Name   = "DatosCliente";
     this.Text   = "Datos del cliente";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Example #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Bussiness.Logic.Clientes.ClienteLogic clienteLogic1    = new Bussiness.Logic.Clientes.ClienteLogic();
     Database.Clientes.ClientesAdapter     clientesAdapter1 = new Database.Clientes.ClientesAdapter();
     Bussiness.Logic.IngresoLogic          ingresoLogic1    = new Bussiness.Logic.IngresoLogic();
     this.ddlMeses         = new System.Windows.Forms.ComboBox();
     this.lblTittleCalculo = new System.Windows.Forms.Label();
     this.label1           = new System.Windows.Forms.Label();
     this.txtTotal         = new System.Windows.Forms.TextBox();
     this.label2           = new System.Windows.Forms.Label();
     this.btnVolver        = new System.Windows.Forms.Button();
     this.label3           = new System.Windows.Forms.Label();
     this.ddlTipos         = new System.Windows.Forms.ComboBox();
     this.btnTotal         = new System.Windows.Forms.Button();
     this.ddlAños          = new System.Windows.Forms.ComboBox();
     this.lblAño           = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // ddlMeses
     //
     this.ddlMeses.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddlMeses.FormattingEnabled = true;
     this.ddlMeses.Items.AddRange(new object[] {
         "Todo",
         "Enero",
         "Febrero",
         "Marzo",
         "Abril",
         "Mayo",
         "Junio",
         "Julio",
         "Agosto",
         "Septiembre",
         "Octubre",
         "Noviembre",
         "Diciembre"
     });
     this.ddlMeses.Location              = new System.Drawing.Point(33, 117);
     this.ddlMeses.Margin                = new System.Windows.Forms.Padding(4);
     this.ddlMeses.Name                  = "ddlMeses";
     this.ddlMeses.Size                  = new System.Drawing.Size(177, 24);
     this.ddlMeses.TabIndex              = 0;
     this.ddlMeses.SelectedIndexChanged += new System.EventHandler(this.ddlMeses_SelectedIndexChanged);
     //
     // lblTittleCalculo
     //
     this.lblTittleCalculo.AutoSize  = true;
     this.lblTittleCalculo.Font      = new System.Drawing.Font("Microsoft JhengHei UI Light", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTittleCalculo.ForeColor = System.Drawing.SystemColors.Highlight;
     this.lblTittleCalculo.Location  = new System.Drawing.Point(25, 11);
     this.lblTittleCalculo.Margin    = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblTittleCalculo.Name      = "lblTittleCalculo";
     this.lblTittleCalculo.Size      = new System.Drawing.Size(140, 43);
     this.lblTittleCalculo.TabIndex  = 12;
     this.lblTittleCalculo.Text      = "Calculo";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(33, 81);
     this.label1.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(83, 20);
     this.label1.TabIndex = 13;
     this.label1.Text     = "Elige mes";
     //
     // txtTotal
     //
     this.txtTotal.BackColor = System.Drawing.SystemColors.ActiveBorder;
     this.txtTotal.Location  = new System.Drawing.Point(92, 184);
     this.txtTotal.Margin    = new System.Windows.Forms.Padding(4);
     this.txtTotal.Name      = "txtTotal";
     this.txtTotal.ReadOnly  = true;
     this.txtTotal.Size      = new System.Drawing.Size(312, 22);
     this.txtTotal.TabIndex  = 14;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(33, 184);
     this.label2.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(51, 20);
     this.label2.TabIndex = 15;
     this.label2.Text     = "Total:";
     //
     // btnVolver
     //
     this.btnVolver.Location = new System.Drawing.Point(648, 176);
     this.btnVolver.Margin   = new System.Windows.Forms.Padding(4);
     this.btnVolver.Name     = "btnVolver";
     this.btnVolver.Size     = new System.Drawing.Size(154, 28);
     this.btnVolver.TabIndex = 16;
     this.btnVolver.Text     = "Volver";
     this.btnVolver.UseVisualStyleBackColor = true;
     this.btnVolver.Click += new System.EventHandler(this.btnVolver_Click);
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(432, 81);
     this.label3.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(41, 20);
     this.label3.TabIndex = 17;
     this.label3.Text     = "Tipo";
     //
     // ddlTipos
     //
     this.ddlTipos.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddlTipos.FormattingEnabled = true;
     this.ddlTipos.Location          = new System.Drawing.Point(436, 117);
     this.ddlTipos.Margin            = new System.Windows.Forms.Padding(4);
     this.ddlTipos.Name     = "ddlTipos";
     this.ddlTipos.Size     = new System.Drawing.Size(160, 24);
     this.ddlTipos.TabIndex = 18;
     //
     // btnTotal
     //
     this.btnTotal.BackColor = System.Drawing.SystemColors.MenuHighlight;
     this.btnTotal.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.btnTotal.FlatAppearance.BorderSize  = 0;
     this.btnTotal.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnTotal.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnTotal.Location  = new System.Drawing.Point(648, 117);
     this.btnTotal.Margin    = new System.Windows.Forms.Padding(4);
     this.btnTotal.Name      = "btnTotal";
     this.btnTotal.Size      = new System.Drawing.Size(154, 26);
     this.btnTotal.TabIndex  = 19;
     this.btnTotal.Text      = "Total";
     this.btnTotal.UseVisualStyleBackColor = false;
     this.btnTotal.Click += new System.EventHandler(this.btnTotal_Click);
     //
     // ddlAños
     //
     this.ddlAños.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.ddlAños.FormattingEnabled = true;
     this.ddlAños.Location          = new System.Drawing.Point(244, 117);
     this.ddlAños.Margin            = new System.Windows.Forms.Padding(4);
     this.ddlAños.Name                  = "ddlAños";
     this.ddlAños.Size                  = new System.Drawing.Size(160, 24);
     this.ddlAños.TabIndex              = 21;
     this.ddlAños.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // lblAño
     //
     this.lblAño.AutoSize = true;
     this.lblAño.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblAño.Location = new System.Drawing.Point(240, 81);
     this.lblAño.Margin   = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.lblAño.Name     = "lblAño";
     this.lblAño.Size     = new System.Drawing.Size(38, 20);
     this.lblAño.TabIndex = 20;
     this.lblAño.Text     = "Año";
     //
     // CalcularTotal
     //
     clienteLogic1._RecordManejador = null;
     clienteLogic1._TiposManejador  = null;
     clienteLogic1.ClienteAdapter   = clientesAdapter1;
     this._CliLogic = clienteLogic1;
     ingresoLogic1._RecordManejador = null;
     ingresoLogic1._TiposManejador  = null;
     this._IngLogic           = ingresoLogic1;
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(843, 233);
     this.Controls.Add(this.ddlAños);
     this.Controls.Add(this.lblAño);
     this.Controls.Add(this.btnTotal);
     this.Controls.Add(this.ddlTipos);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.btnVolver);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.txtTotal);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.lblTittleCalculo);
     this.Controls.Add(this.ddlMeses);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Margin          = new System.Windows.Forms.Padding(4);
     this.MaximizeBox     = false;
     this.Name            = "CalcularTotal";
     this.Text            = "CalcularTotal";
     this.ResumeLayout(false);
     this.PerformLayout();
 }