コード例 #1
0
        private void btnReturn_Click(object sender, EventArgs e)
        {
            RequestForm re = new RequestForm();

            re.Show();
            this.Hide();
        }
コード例 #2
0
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            RequestForm request = new RequestForm();

            request.Show();
            this.Hide();
        }
コード例 #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();
            }
        }