Esempio n. 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 2 "..\..\..\MainWindow.xaml"
     ((eReading.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     
     #line 2 "..\..\..\MainWindow.xaml"
     ((eReading.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.searchScroll = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 3:
     this.searchResult = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.downloadList = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\..\MainWindow.xaml"
     this.downloadList.Click += new System.Windows.RoutedEventHandler(this.downloadList_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.helpButton = ((System.Windows.Controls.Button)(target));
     
     #line 52 "..\..\..\MainWindow.xaml"
     this.helpButton.Click += new System.Windows.RoutedEventHandler(this.helpButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.settings = ((System.Windows.Controls.Button)(target));
     
     #line 72 "..\..\..\MainWindow.xaml"
     this.settings.Click += new System.Windows.RoutedEventHandler(this.settings_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.help = ((eReading.Help)(target));
     return;
     case 8:
     this.loadingLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.searchBox = ((eReading.SearchBox)(target));
     return;
     case 10:
     this.downloadTaskList = ((eReading.DownloadTaskList)(target));
     return;
     case 11:
     this.bookDetail1 = ((eReading.BookDetail)(target));
     return;
     case 12:
     this.message = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 2 "..\..\..\MainWindow.xaml"
                ((eReading.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);

            #line default
            #line hidden

            #line 2 "..\..\..\MainWindow.xaml"
                ((eReading.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);

            #line default
            #line hidden
                return;

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

            case 3:
                this.searchResult = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.downloadList = ((System.Windows.Controls.Button)(target));

            #line 32 "..\..\..\MainWindow.xaml"
                this.downloadList.Click += new System.Windows.RoutedEventHandler(this.downloadList_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\..\MainWindow.xaml"
                this.helpButton.Click += new System.Windows.RoutedEventHandler(this.helpButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.settings = ((System.Windows.Controls.Button)(target));

            #line 72 "..\..\..\MainWindow.xaml"
                this.settings.Click += new System.Windows.RoutedEventHandler(this.settings_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.help = ((eReading.Help)(target));
                return;

            case 8:
                this.loadingLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.searchBox = ((eReading.SearchBox)(target));
                return;

            case 10:
                this.downloadTaskList = ((eReading.DownloadTaskList)(target));
                return;

            case 11:
                this.bookDetail1 = ((eReading.BookDetail)(target));
                return;

            case 12:
                this.message = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }