private void button1_Click(object sender, EventArgs e) { //Add DotCapPlugEntryForm f1 = new DotCapPlugEntryForm(); f1.ShowDialog(); clearlist(); poplist(); }
private void button2_Click(object sender, EventArgs e) { //Modify string strType; int ID; string strDescription; DotCapPlugEntryForm f1; strType = dataGridView1.SelectedCells[0].Value.ToString(); strDescription = dataGridView1.SelectedCells[1].Value.ToString(); ID = int.Parse(dataGridView1.SelectedCells[2].Value.ToString()); f1 = new DotCapPlugEntryForm(ID, strDescription, strType); f1.ShowDialog(); clearlist(); poplist(); }
private void button9_Click(object sender, EventArgs e) { DotCapPlugEntryForm f18 = new DotCapPlugEntryForm(); f18.ShowDialog(); }