コード例 #1
0
        private void instructionsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // close this form and open instructions form
            this.Hide();
            var Instructions = new frmInstructions();

            Instructions.Closed += (s, args) => this.Close();
            Instructions.Show();
        }
コード例 #2
0
        private void MniInstructions_Click_1(object sender, EventArgs e)
        {
            // close this form and open instructions form
            this.Hide();
            var Instructions = new frmInstructions();

            Instructions.Closed += (s, args) => this.Close();
            Instructions.Show();
        }