private void 修改ToolStripMenuItem_Click(object sender, EventArgs e) { frm_Vip_Alter fva1 = null; if (dataGridView1.RowCount > 0) { string str1 = dataGridView1.SelectedRows[0].Cells[0].Value.ToString(); fva1 = new frm_Vip_Alter(str1); } else { fva1 = new frm_Vip_Alter(); } if (fva1.ShowDialog() == System.Windows.Forms.DialogResult.Yes) { frm_VIP_Display_Load(null, null); } }
private void 修改会员ToolStripMenuItem_Click(object sender, EventArgs e) { frm_Vip_Alter fva1 = new frm_Vip_Alter("0"); fva1.ShowDialog(); }