//boton unidad de medidad private void tb_uni_inv_ButtonCustomClick(object sender, EventArgs e) { va_uni_dad = 1; inv003_01 obj = new inv003_01(); o_mg_glo_bal.mg_ads000_03(obj, this); }
//keydown unidad compra private void tb_uni_com_KeyDown(object sender, KeyEventArgs e) { if (e.KeyData == Keys.Up) { va_uni_dad = 3; inv003_01 obj = new inv003_01(); o_mg_glo_bal.mg_ads000_03(obj, this); } }