private void ModOrdenBtn_Click(object sender, EventArgs e)
 {
     if (this.operacion == OperacionForm.frmModificacion)
     {
         Orden ord = new Orden();
         ord = ord.findbykey(String.Format(orden));
         OrdenAMFrm frm = new OrdenAMFrm();
         frm.ShowOrden(ord, this);
     }
 }
        private void altaToolStripMenuItem4_Click(object sender, EventArgs e)
        {
            OrdenAMFrm frmOrdenAlta = new OrdenAMFrm();

            frmOrdenAlta.NewOrden(null);
        }
Exemple #3
0
        private void gridOrden_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            OrdenAMFrm orden = new OrdenAMFrm();

            orden.ShowOrden((this.gridOrden.Rows[e.RowIndex].DataBoundItem as Orden), this);
        }