void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.browser = ((EO.WebBrowser.Wpf.WebControl)(target));
         return;
     }
     this._contentLoaded = true;
 }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\MainWindow.xaml"
                ((WebBrowsers.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.textBox = ((System.Windows.Controls.TextBox)(target));

            #line 25 "..\..\..\MainWindow.xaml"
                this.textBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox_KeyDown);

            #line default
            #line hidden
                return;

            case 5:

            #line 26 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 27 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 7:

            #line 28 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 8:
                this.webBrowser = ((System.Windows.Controls.WebBrowser)(target));

            #line 32 "..\..\..\MainWindow.xaml"
                this.webBrowser.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.webBrowser_Navigated);

            #line default
            #line hidden
                return;

            case 9:
                this.webBrowserTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.chromiumWebBrowser = ((CefSharp.Wpf.ChromiumWebBrowser)(target));
                return;

            case 11:
                this.chromiumWebBrowserTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.eoWebControl = ((EO.WebBrowser.Wpf.WebControl)(target));
                return;

            case 13:
                this.eoWebControlTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }