コード例 #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            ComputerServcing computerServcing = new ComputerServcing();

            this.Hide();
            computerServcing.Show();
        }
コード例 #2
0
        private void updatespdetailsbutton_Click(object sender, EventArgs e)
        {
            ComputerServcing computerServcing = new ComputerServcing();

            this.Hide();



            DialogResult d;

            d = MessageBox.Show("Do you want to Go Back?", "", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);

            if (d == DialogResult.Yes)
            {
                computerServcing.Show();
            }
            else if (d == DialogResult.No)
            {
                this.Show();
            }
            else
            {
                Close();
            }
        }