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

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

            a.Show();
        }
예제 #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);
     }
 }