コード例 #1
0
        /// <summary>
        /// calls option to get new players
        /// </summary>
        private void OptionsLoad()
        {
            this.Hide();
            var nextForm = new FormOptions();

            nextForm.Closed += (s, args) => this.Close();
            nextForm.Show();
        }
コード例 #2
0
        void tmr_Tick(object sender, EventArgs e)
        {
            //after 5 sec stop the timer
            tmr.Stop();
            //display option form
            FormOptions mf = new FormOptions();

            mf.Show();
            //hide this form
            this.Hide();
        }