コード例 #1
0
        private void rollsRoyceButton_Click(object sender, EventArgs e)
        {
            // launch rolls royce PO
            Random r = new Random();

            this.Hide();
            Form rollsRoycePOForm = new RollsRoycePOReview(r.Next(30001, 39999).ToString(), false);

            rollsRoycePOForm.FormClosed += (s, args) => this.Close();
            rollsRoycePOForm.Show();
        }
コード例 #2
0
        private void viewRollsFormButton_Click(object sender, EventArgs e)
        {
            Form rollsRoycePOReview = new RollsRoycePOReview("12345", false);

            rollsRoycePOReview.Show();
        }