private void 修改ToolStripMenuItem1_Click(object sender, EventArgs e) { Add_Alter_Category form = new Add_Alter_Category(); form.ID = gridView1.GetFocusedRowCellValue("ID").ToString(); form.Category = gridView1.GetFocusedRowCellValue("Category").ToString(); form.Show(this); }
private void toolStripButtonAdd_Click(object sender, EventArgs e) { Add_Alter_Category form = new Add_Alter_Category(); form.Show(this); }
private void 新增ToolStripMenuItem1_Click(object sender, EventArgs e) { Add_Alter_Category form = new Add_Alter_Category(); form.Show(this); }