Esempio n. 1
0
        private void byNameToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            delete d = new delete();

            d.Show();
        }
Esempio n. 2
0
        private void byPidToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            delete a = new delete();

            a.Show();
        }
Esempio n. 3
0
 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);
     }
 }