示例#1
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Pages/EngagementSettings.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot = (global::Microsoft.Samples.Kinect.ControlsBasics.Common.LayoutAwarePage) this.FindName("pageRoot");
            cursorSpriteSheetDefault = (global::Windows.UI.Xaml.Controls.RadioButton) this.FindName("cursorSpriteSheetDefault");
            cursorSpriteSheetColor   = (global::Windows.UI.Xaml.Controls.RadioButton) this.FindName("cursorSpriteSheetColor");
            system                = (global::Windows.UI.Xaml.Controls.RadioButton) this.FindName("system");
            manualOverHead        = (global::Windows.UI.Xaml.Controls.RadioButton) this.FindName("manualOverHead");
            manualOnScreen        = (global::Windows.UI.Xaml.Controls.RadioButton) this.FindName("manualOnScreen");
            onePerson             = (global::Windows.UI.Xaml.Controls.RadioButton) this.FindName("onePerson");
            twoPerson             = (global::Windows.UI.Xaml.Controls.RadioButton) this.FindName("twoPerson");
            backButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscape   = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscape");
            Filled                = (global::Windows.UI.Xaml.VisualState) this.FindName("Filled");
            FullScreenPortrait    = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            Snapped               = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Pages/CheckBoxRadioButtonSample.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);

            pageRoot              = (global::Microsoft.Samples.Kinect.ControlsBasics.Common.LayoutAwarePage) this.FindName("pageRoot");
            backButton            = (global::Windows.UI.Xaml.Controls.Button) this.FindName("backButton");
            pageTitle             = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("pageTitle");
            ApplicationViewStates = (global::Windows.UI.Xaml.VisualStateGroup) this.FindName("ApplicationViewStates");
            FullScreenLandscape   = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenLandscape");
            Filled             = (global::Windows.UI.Xaml.VisualState) this.FindName("Filled");
            FullScreenPortrait = (global::Windows.UI.Xaml.VisualState) this.FindName("FullScreenPortrait");
            Snapped            = (global::Windows.UI.Xaml.VisualState) this.FindName("Snapped");
        }