private void BT_Add_Click(object sender, EventArgs e) { Edit_User frm = new Edit_User(); frm.ShowDialog(); Frm_User_Load(this, null); }
private void BT_Edit_Click(object sender, EventArgs e) { if (gv.RowCount == 0) { MessageBox.Show("没有可编辑项"); return; } string Name = gv.GetFocusedRowCellValue("USER").ToString(); Edit_User frm = new Edit_User(Name); frm.ShowDialog(); Frm_User_Load(this, null); }
private void BT_Edit_Click(object sender, EventArgs e) { if (gv.RowCount == 0) { MessageBox.Show("没有可编辑项"); return; } string Name = gv.GetFocusedRowCellValue("USER").ToString(); Edit_User frm = new Edit_User(Name); frm.ShowDialog(); Frm_User_Load(this, null); }
private void BT_Add_Click(object sender, EventArgs e) { Edit_User frm = new Edit_User(); frm.ShowDialog(); Frm_User_Load(this, null); }