private void BtnAddMain_Click(object sender, EventArgs e) { FmMatchTbMtl fm = new FmMatchTbMtl(); fm.SelectValue += (obj) => { LoadSetMain(); }; fm.ShowDialog(); }
private void BtnEditMain_Click(object sender, EventArgs e) { if (mDataGridMain.CurrentRow == null) { return; } Model.Info_matchTb_tmp_set info = mDataGridMain.GetCurrentEntity() as Model.Info_matchTb_tmp_set; FmMatchTbMtl fm = new FmMatchTbMtl(info); fm.SelectValue += (obj) => { LoadSetMain(); }; fm.ShowDialog(); }