Beispiel #1
0
 public frmGameScreen()
 {
     InitializeComponent();
     frmFinalScoreForm = new frmFinalScore();
     myTimer           = new Timer();
     myTimer.Interval  = 1000;
     myTimer.Tick     += new EventHandler(MyTimer_Tick);
     myStopwatch       = 0;
 }
Beispiel #2
0
        /// <summary>
        /// Initializes Main Screen form.
        /// </summary>
        public MainScreen()
        {
            InitializeComponent();

            frmUserLoginForm     = new frmUserLogin();
            frmGameScreenForm    = new frmGameScreen();
            frmHighScoresForm    = new frmFinalScore();
            pnlGameModes.Enabled = false;

            //         frmGameScreenForm.CopyHighScores = frmHighScoresForm;
        }