コード例 #1
0
        public MainPage()
        {
            InitializeComponent();

            // Use a Grid focus helper to allow setting the focus on the MainPage buttons
            // using the gamepad left and right DPad buttons.
            m_gridFocusHelper = new GridFocusHelper(ButtonsGrid);

            this.Loaded += new RoutedEventHandler(MainPage_Loaded);
        }
コード例 #2
0
        public MainPage()
        {
            InitializeComponent();

            // Use a Grid focus helper to allow setting the focus on the MainPage buttons
            // using the gamepad left and right DPad buttons.
            m_gridFocusHelper = new GridFocusHelper(ButtonsGrid);

            this.Loaded += new RoutedEventHandler(MainPage_Loaded);
        }