Exemplo n.º 1
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            _gameGrid = new GameGrid();

            ContentGrid.Children.Add(_gameGrid);

            this.SizeChanged += OnSizeChanged;

            this.ManipulationDelta += OnManipulationDelta;
        }
Exemplo n.º 2
0
        public MainPage()
        {
            this.InitializeComponent();

            _gameGrid = new GameGrid();

            ContentGrid.Children.Add(_gameGrid);

            this.SizeChanged += MainPage_SizeChanged;

            Window.Current.CoreWindow.KeyDown += CoreWindowOnKeyDown;
            this.ManipulationMode = ManipulationModes.All;
            this.ManipulationStarted += OnManipulationStarted;
            this.ManipulationDelta += OnManipulationDelta;
        }
Exemplo n.º 3
0
        public MainPage()
        {
            this.InitializeComponent();

            _gameGrid = new GameGrid();

            ContentGrid.Children.Add(_gameGrid);

            this.SizeChanged += MainPage_SizeChanged;

            Window.Current.CoreWindow.KeyDown += CoreWindowOnKeyDown;
            this.ManipulationMode              = ManipulationModes.All;
            this.ManipulationStarted          += OnManipulationStarted;
            this.ManipulationDelta            += OnManipulationDelta;
        }