Пример #1
0
 private void btnAgregarPersonal_Click(object sender, EventArgs e)
 {
     if (!EsNuevo && Cliente != null)
     {
         var personal = new DetalleClientePersonal();
         personal.ClienteId = Cliente.ClienteID;
         personal.ShowDialog();
     }
 }
Пример #2
0
 private void dgvDatosPersonal_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (this.dgvDatosPersonal.CurrentRow == null) return;
     int iPersonaID = Util.Entero(this.dgvDatosPersonal.CurrentRow.Cells["ClientePersonalID"].Value);
     var frmPersona = new DetalleClientePersonal(iPersonaID) { ClienteId = this.Cliente.ClienteID };
     frmPersona.ShowDialog(Principal.Instance);
     frmPersona.Dispose();
 }