示例#1
0
        /// <summary>
        /// Crates new HighScoreWindow
        /// </summary>
        /// <param name="parentApp">Parent application</param>
        public HighScoreWindow(TetrisApp parentApp)
        {
            this.parentApp = parentApp;

            editMode      = false;
            letterIndexes = new int[NAME_LENGTH];

            InitializeComponents();
        }
        /// <summary>
        /// Crates new HighScoreWindow
        /// </summary>
        /// <param name="parentApp">Parent application</param>
        public HighScoreWindow(TetrisApp parentApp)
        {
            this.parentApp = parentApp;

            editMode = false;
            letterIndexes = new int[NAME_LENGTH];

            InitializeComponents();
        }
        /// <summary>
        /// Creates new MainMenuWindow
        /// </summary>
        /// <param name="parentApp">Parent application</param>
        public MainMenuWindow(TetrisApp parentApp)
        {
            this.parentApp = parentApp;

            InitializeComponents();
        }
示例#4
0
 /// <summary>
 /// Creates new GameWindow
 /// </summary>
 /// <param name="parentApp">Parent application</param>
 public GameWindow(TetrisApp parentApp)
 {
     this.parentApp = parentApp;
     InitializeComponents();
 }
示例#5
0
 /// <summary>
 /// Creates new GameWindow
 /// </summary>
 /// <param name="parentApp">Parent application</param>
 public GameWindow(TetrisApp parentApp)
 {
     this.parentApp = parentApp;
     InitializeComponents();
 }
        /// <summary>
        /// Creates new MainMenuWindow
        /// </summary>
        /// <param name="parentApp">Parent application</param>
        public MainMenuWindow(TetrisApp parentApp)
        {
            this.parentApp = parentApp;

            InitializeComponents();
        }