private void BtnAdd_Click(object sender, EventArgs e) { FmEnumKindInfo fmDicKind = new FmEnumKindInfo(); fmDicKind.SelectValue += FmDicKind_SelectValue; fmDicKind.ShowDialog(); }
private void BtnEdit_Click(object sender, EventArgs e) { if (mDataGrid1.DataSource == null) { return; } Model.Tb_enum info = mDataGrid1.GetCurrentEntity() as Model.Tb_enum; FmEnumKindInfo fmDicKind = new FmEnumKindInfo(info); fmDicKind.SelectValue += FmDicKind_SelectValue; fmDicKind.ShowDialog(); }