Exemplo n.º 1
0
        private void btnReturn_Click(object sender, EventArgs e)
        {
            RequestForm re = new RequestForm();

            re.Show();
            this.Hide();
        }
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            RequestForm request = new RequestForm();

            request.Show();
            this.Hide();
        }
Exemplo n.º 3
0
        private void btnCusService_Click(object sender, EventArgs e)
        {
            DialogResult exitMsg = MessageBox.Show("Are you sure you want to leave this page ?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Question);

            if (exitMsg == DialogResult.Yes)
            {
                RequestForm request = new RequestForm();
                request.Show();
                this.Hide();
            }
            else
            {
                this.Show();
            }
        }