Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Loading = ((Microsoft.Samples.Kinect.ControlsBasics.Helper_Classes.LoadingControl)(target));
                return;

            case 2:
                this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 3:
                this.PeopleGrid = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 27 "..\..\..\..\Pages\MapsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 2:

            #line 28 "..\..\..\..\Pages\MapsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 3:

            #line 29 "..\..\..\..\Pages\MapsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 4:

            #line 30 "..\..\..\..\Pages\MapsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 5:

            #line 31 "..\..\..\..\Pages\MapsPage.xaml"
                ((System.Windows.Controls.RadioButton)(target)).Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 6:
                this.MapTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.Loading = ((Microsoft.Samples.Kinect.ControlsBasics.Helper_Classes.LoadingControl)(target));
                return;

            case 8:
                this.scrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 9:
                this.MapImage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.weatherPageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.WULogo = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.Forecast = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.WeatherCards = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.wb0 = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\..\..\Pages\WeatherPage.xaml"
                this.wb0.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 6:
                this.weather1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.day1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.day1Num = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.weatherIcon1 = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.Temp1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.wb1 = ((System.Windows.Controls.Button)(target));

            #line 70 "..\..\..\..\Pages\WeatherPage.xaml"
                this.wb1.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 12:
                this.weather2 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 13:
                this.day2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.day2Num = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.weatherIcon2 = ((System.Windows.Controls.Image)(target));
                return;

            case 16:
                this.Temp2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.wb2 = ((System.Windows.Controls.Button)(target));

            #line 90 "..\..\..\..\Pages\WeatherPage.xaml"
                this.wb2.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 18:
                this.weather3 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 19:
                this.day3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.day3Num = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.weatherIcon3 = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this.Temp3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.wb3 = ((System.Windows.Controls.Button)(target));

            #line 110 "..\..\..\..\Pages\WeatherPage.xaml"
                this.wb3.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 24:
                this.weather4 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 25:
                this.day4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.day4Num = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.weatherIcon4 = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.Temp4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.wb4 = ((System.Windows.Controls.Button)(target));

            #line 130 "..\..\..\..\Pages\WeatherPage.xaml"
                this.wb4.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 30:
                this.weather5 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 31:
                this.day5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.day5Num = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.weatherIcon5 = ((System.Windows.Controls.Image)(target));
                return;

            case 34:
                this.Temp5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.wb5 = ((System.Windows.Controls.Button)(target));

            #line 150 "..\..\..\..\Pages\WeatherPage.xaml"
                this.wb5.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 36:
                this.weather6 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 37:
                this.day6 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.day6Num = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.weatherIcon6 = ((System.Windows.Controls.Image)(target));
                return;

            case 40:
                this.Temp6 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.wb6 = ((System.Windows.Controls.Button)(target));

            #line 170 "..\..\..\..\Pages\WeatherPage.xaml"
                this.wb6.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 42:
                this.weather7 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 43:
                this.day7 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.day7Num = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 45:
                this.weatherIcon7 = ((System.Windows.Controls.Image)(target));
                return;

            case 46:
                this.Temp7 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 47:
                this.wb7 = ((System.Windows.Controls.Button)(target));

            #line 190 "..\..\..\..\Pages\WeatherPage.xaml"
                this.wb7.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 48:
                this.weather8 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 49:
                this.day8 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 50:
                this.day8Num = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 51:
                this.weatherIcon8 = ((System.Windows.Controls.Image)(target));
                return;

            case 52:
                this.Temp8 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 53:
                this.wb8 = ((System.Windows.Controls.Button)(target));

            #line 210 "..\..\..\..\Pages\WeatherPage.xaml"
                this.wb8.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 54:
                this.weather9 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 55:
                this.day9 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 56:
                this.day9Num = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 57:
                this.weatherIcon9 = ((System.Windows.Controls.Image)(target));
                return;

            case 58:
                this.Temp9 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 59:
                this.wb9 = ((System.Windows.Controls.Button)(target));

            #line 230 "..\..\..\..\Pages\WeatherPage.xaml"
                this.wb9.Click += new System.Windows.RoutedEventHandler(this.MoreDetailsClick);

            #line default
            #line hidden
                return;

            case 60:
                this.weather10 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 61:
                this.day10 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 62:
                this.day10Num = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 63:
                this.weatherIcon10 = ((System.Windows.Controls.Image)(target));
                return;

            case 64:
                this.Temp10 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.MoreDetailWeather = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 66:
                this.moreDetailTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 67:
                this.moreDetailDayTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 68:
                this.moreDetailDayText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 69:
                this.moreDetailNightTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 70:
                this.moreDetailNightText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 71:
                this.RadarTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 72:
                this.Loading = ((Microsoft.Samples.Kinect.ControlsBasics.Helper_Classes.LoadingControl)(target));
                return;

            case 73:
                this.RadarImage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }