示例#1
0
 protected override void btnModificar_Click(object sender, EventArgs e)
 {
     if (this.dgvDatos.CurrentRow == null)
         return;
     DetalleModelo m = new DetalleModelo(Util.Entero(this.dgvDatos.CurrentRow.Cells["ModeloID"].Value));
     m.ShowDialog();
 }
示例#2
0
        protected override void btnModificar_Click(object sender, EventArgs e)
        {
            if (this.dgvDatos.CurrentRow == null)
            {
                return;
            }
            DetalleModelo m = new DetalleModelo(Util.Entero(this.dgvDatos.CurrentRow.Cells["ModeloID"].Value));

            m.ShowDialog();
        }
示例#3
0
        protected override void btnAgregar_Click(object sender, EventArgs e)
        {
            DetalleModelo m = new DetalleModelo();

            m.ShowDialog();
        }
示例#4
0
 protected override void btnAgregar_Click(object sender, EventArgs e)
 {
     DetalleModelo m = new DetalleModelo();
     m.ShowDialog();
 }