コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((AddressCollectorApplication.MainWindow)(target));
                return;

            case 2:
                this.myGrid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainWindow = ((AddressCollectorApplication.MainWindow)(target));

            #line 4 "..\..\..\PL\MainWindow.xaml"
                this.mainWindow.Initialized += new System.EventHandler(this.mainWindow_Initialized);

            #line default
            #line hidden

            #line 4 "..\..\..\PL\MainWindow.xaml"
                this.mainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.mainWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.myGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:

            #line 8 "..\..\..\PL\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Checked += new System.Windows.RoutedEventHandler(this.MenuItem_Checked);

            #line default
            #line hidden

            #line 8 "..\..\..\PL\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.MenuItem_Unchecked);

            #line default
            #line hidden
                return;

            case 4:
                this.viewWebScraping = ((System.Windows.Controls.MenuItem)(target));

            #line 11 "..\..\..\PL\MainWindow.xaml"
                this.viewWebScraping.Checked += new System.Windows.RoutedEventHandler(this.View_Checked);

            #line default
            #line hidden

            #line 11 "..\..\..\PL\MainWindow.xaml"
                this.viewWebScraping.Unchecked += new System.Windows.RoutedEventHandler(this.View_Unchecked);

            #line default
            #line hidden
                return;

            case 5:
                this.viewSearch = ((System.Windows.Controls.MenuItem)(target));

            #line 12 "..\..\..\PL\MainWindow.xaml"
                this.viewSearch.Checked += new System.Windows.RoutedEventHandler(this.View_Checked);

            #line default
            #line hidden

            #line 12 "..\..\..\PL\MainWindow.xaml"
                this.viewSearch.Unchecked += new System.Windows.RoutedEventHandler(this.View_Unchecked);

            #line default
            #line hidden
                return;

            case 6:
                this.mapImage = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.mapImage_Copy = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 9:
                this.canvas_Copy = ((System.Windows.Controls.Canvas)(target));
                return;

            case 10:
                this.mapPixelProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 11:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 12:
                this.webscrapingTab = ((System.Windows.Controls.TabItem)(target));

            #line 24 "..\..\..\PL\MainWindow.xaml"
                this.webscrapingTab.GotFocus += new System.Windows.RoutedEventHandler(this.TabItem_GotFocus);

            #line default
            #line hidden
                return;

            case 13:
                this.lblUrlId = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lblIdDataAddress = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.lblAddressData = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.lblNumberOfRecords = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.staticMapListbox = ((System.Windows.Controls.ListBox)(target));
                return;

            case 18:
                this.idBufferProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 19:
                this.searchTab = ((System.Windows.Controls.TabItem)(target));

            #line 88 "..\..\..\PL\MainWindow.xaml"
                this.searchTab.GotFocus += new System.Windows.RoutedEventHandler(this.TabItem_GotFocus);

            #line default
            #line hidden
                return;

            case 20:
                this.txbSearchName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.txbSearchPhone = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.txbSearchAddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.txbSearchPostalCode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.txbSearchCity = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.searchListbox = ((System.Windows.Controls.ListBox)(target));

            #line 109 "..\..\..\PL\MainWindow.xaml"
                this.searchListbox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.searchListbox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.searchButton = ((System.Windows.Controls.Button)(target));

            #line 137 "..\..\..\PL\MainWindow.xaml"
                this.searchButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }