Example #1
0
 protected override void btnModificar_Click(object sender, EventArgs e)
 {
     if (this.dgvDatos.CurrentRow == null)
         return;
     DetalleProveedorContacto pc = new DetalleProveedorContacto(Util.Entero(this.dgvDatos.CurrentRow.Cells["ProveedorContactoID"].Value));
     pc.ShowDialog();
 }
Example #2
0
        protected override void btnAgregar_Click(object sender, EventArgs e)
        {
            DetalleProveedorContacto pc = new DetalleProveedorContacto();

            pc.ProveedorId = proveedorId;
            pc.ShowDialog();
        }
Example #3
0
        protected override void btnModificar_Click(object sender, EventArgs e)
        {
            if (this.dgvDatos.CurrentRow == null)
            {
                return;
            }
            DetalleProveedorContacto pc = new DetalleProveedorContacto(Util.Entero(this.dgvDatos.CurrentRow.Cells["ProveedorContactoID"].Value));

            pc.ShowDialog();
        }
Example #4
0
 protected override void btnAgregar_Click(object sender, EventArgs e)
 {
     DetalleProveedorContacto pc = new DetalleProveedorContacto();
     pc.ProveedorId = proveedorId;
     pc.ShowDialog();
 }