public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Scenario1.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            LayoutRoot = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("LayoutRoot");
            Input = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("Input");
            Output = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("Output");
            statusTextBlock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("statusTextBlock");
            DevicesListBox = (global::Windows.UI.Xaml.Controls.ListBox)this.FindName("DevicesListBox");
            outputGrid = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("outputGrid");
            outputDataChart = (global::BluetoothGattHeartRate.ChartControl)this.FindName("outputDataChart");
            outputListBox = (global::Windows.UI.Xaml.Controls.ListBox)this.FindName("outputListBox");
            OutputFullScreenLandscape = (global::Windows.UI.Xaml.VisualState)this.FindName("OutputFullScreenLandscape");
            OutputFilled = (global::Windows.UI.Xaml.VisualState)this.FindName("OutputFilled");
            OutputFullScreenPortrait = (global::Windows.UI.Xaml.VisualState)this.FindName("OutputFullScreenPortrait");
            OutputSnapped = (global::Windows.UI.Xaml.VisualState)this.FindName("OutputSnapped");
            InputTextBlock1 = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("InputTextBlock1");
            RunButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("RunButton");
            InputFullScreenLandscape = (global::Windows.UI.Xaml.VisualState)this.FindName("InputFullScreenLandscape");
            InputFilled = (global::Windows.UI.Xaml.VisualState)this.FindName("InputFilled");
            InputFullScreenPortrait = (global::Windows.UI.Xaml.VisualState)this.FindName("InputFullScreenPortrait");
            InputSnapped = (global::Windows.UI.Xaml.VisualState)this.FindName("InputSnapped");
        }
示例#2
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }

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

            LayoutRoot                = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("LayoutRoot");
            Input                     = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("Input");
            Output                    = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("Output");
            statusTextBlock           = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("statusTextBlock");
            DevicesListBox            = (global::Windows.UI.Xaml.Controls.ListBox) this.FindName("DevicesListBox");
            outputGrid                = (global::Windows.UI.Xaml.Controls.Grid) this.FindName("outputGrid");
            outputDataChart           = (global::BluetoothGattHeartRate.ChartControl) this.FindName("outputDataChart");
            outputListBox             = (global::Windows.UI.Xaml.Controls.ListBox) this.FindName("outputListBox");
            OutputFullScreenLandscape = (global::Windows.UI.Xaml.VisualState) this.FindName("OutputFullScreenLandscape");
            OutputFilled              = (global::Windows.UI.Xaml.VisualState) this.FindName("OutputFilled");
            OutputFullScreenPortrait  = (global::Windows.UI.Xaml.VisualState) this.FindName("OutputFullScreenPortrait");
            OutputSnapped             = (global::Windows.UI.Xaml.VisualState) this.FindName("OutputSnapped");
            InputTextBlock1           = (global::Windows.UI.Xaml.Controls.TextBlock) this.FindName("InputTextBlock1");
            RunButton                 = (global::Windows.UI.Xaml.Controls.Button) this.FindName("RunButton");
            InputFullScreenLandscape  = (global::Windows.UI.Xaml.VisualState) this.FindName("InputFullScreenLandscape");
            InputFilled               = (global::Windows.UI.Xaml.VisualState) this.FindName("InputFilled");
            InputFullScreenPortrait   = (global::Windows.UI.Xaml.VisualState) this.FindName("InputFullScreenPortrait");
            InputSnapped              = (global::Windows.UI.Xaml.VisualState) this.FindName("InputSnapped");
        }
        public void InitializeComponent()
        {
            if (_contentLoaded)
                return;

            _contentLoaded = true;
            global::Windows.UI.Xaml.Application.LoadComponent(this, new global::System.Uri("ms-appx:///Scenario1_DeviceEvents.xaml"), global::Windows.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);
 
            RootGrid = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("RootGrid");
            ErrorBorder = (global::Windows.UI.Xaml.Controls.Border)this.FindName("ErrorBorder");
            StatusBlock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("StatusBlock");
            statusTextBlock = (global::Windows.UI.Xaml.Controls.TextBlock)this.FindName("statusTextBlock");
            DevicesListBox = (global::Windows.UI.Xaml.Controls.ListBox)this.FindName("DevicesListBox");
            outputGrid = (global::Windows.UI.Xaml.Controls.Grid)this.FindName("outputGrid");
            outputDataChart = (global::BluetoothGattHeartRate.ChartControl)this.FindName("outputDataChart");
            outputListBox = (global::Windows.UI.Xaml.Controls.ListBox)this.FindName("outputListBox");
            RunButton = (global::Windows.UI.Xaml.Controls.Button)this.FindName("RunButton");
        }