Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow1 = ((PL.MainWindow)(target));
                return;

            case 2:
                this.Images = ((PL.FallsImagesUC)(target));
                return;

            case 3:
                this.Map = ((PL.GoogleMapsUC)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow1 = ((PL.MainWindow)(target));
                return;

            case 2:
                this.NewReportElement = ((PL.NewReportUC)(target));
                return;

            case 3:
                this.MainMap = ((PL.GoogleMapsUC)(target));
                return;

            case 4:

            #line 22 "..\..\MainWindow.xaml"
                ((System.Windows.Shapes.Ellipse)(target)).PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Ellipse_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 5:

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Shapes.Ellipse)(target)).PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Ellipse_PreviewMouseUp);

            #line default
            #line hidden
                return;

            case 6:

            #line 36 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TabItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.statisticsGotFocus);

            #line default
            #line hidden
                return;

            case 7:
                this.StatisticsElement = ((PL.StatisticsUC)(target));
                return;

            case 8:
                this.PieChartElement = ((PL.ChartUC)(target));
                return;

            case 9:
                this.GraphElement = ((PL.GraphUC)(target));
                return;

            case 10:

            #line 45 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.TabItem)(target)).GotFocus += new System.Windows.RoutedEventHandler(this.FallsInformationGotFocus);

            #line default
            #line hidden
                return;

            case 11:
                this.fallImageElement = ((PL.FallsImagesUC)(target));
                return;

            case 12:
                this.secondMapElement = ((PL.GoogleMapsUC)(target));
                return;
            }
            this._contentLoaded = true;
        }