private void 除ToolStripMenuItem_Click(object sender, EventArgs e) { frm_Vip_Del fvd1 = null; if (dataGridView1.RowCount > 0) { string str = dataGridView1.SelectedRows[0].Cells[0].Value.ToString(); fvd1 = new frm_Vip_Del(str); } else { fvd1 = new frm_Vip_Del(); } if (fvd1.ShowDialog() == System.Windows.Forms.DialogResult.Yes) { frm_VIP_Display_Load(null, null); } }
private void 除会员ToolStripMenuItem_Click(object sender, EventArgs e) { frm_Vip_Del fvd1 = new frm_Vip_Del(); fvd1.ShowDialog(); }