private void button5_Click(object sender, EventArgs e) { ComputerServcing computerServcing = new ComputerServcing(); this.Hide(); computerServcing.Show(); }
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(); } }