private void byNameToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); delete d = new delete(); d.Show(); }
private void byPidToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); delete a = new delete(); a.Show(); }
private void button1_Click(object sender, EventArgs e) { if (MessageBox.Show("are you sure?", "confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { this.Hide(); delete d = new delete(); d.Show(); } else { MessageBox.Show("delete process cancelled", "tq", MessageBoxButtons.OK, MessageBoxIcon.Information); } }