private void btnQD_Click(object sender, EventArgs e) { frmDAView frm = new frmDAView(); if (frm.ShowDialog() == DialogResult.OK) { Group.Text = frm.Code; } }
private void btnView_Click(object sender, EventArgs e) { frmDAView frm = new frmDAView(); if (frm.ShowDialog() == DialogResult.OK) { SetDataToForm(ctr.Get(frm.Code, ref _sErr)); EnabledForm(false); } }