private void butmucthem_Click(object sender, EventArgs e) { if (l_doan == 0) { return; } dllDanhmucMedisoft.frmMuc f = new dllDanhmucMedisoft.frmMuc(m, 0, l_doan, dt3, cmbten.Text); f.ShowDialog(); if (f.bOk) { load_muc(); } }
private void butmucsua_Click(object sender, EventArgs e) { if (l_doan == 0 || dt3.Rows.Count == 0) { return; } l_muc = long.Parse(dataGrid3[dataGrid3.CurrentCell.RowNumber, 0].ToString()); dllDanhmucMedisoft.frmMuc f = new dllDanhmucMedisoft.frmMuc(m, l_muc, l_doan, dt3, cmbten.Text); f.ShowDialog(); if (f.bOk) { load_muc(); } }