예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyToolWindow = ((VSIXProject2.ToolWindow1Control)(target));
                return;

            case 2:
                this.webView = ((Microsoft.Web.WebView2.Wpf.WebView2)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\PageVideo.xaml"
                ((YoutubeBackingTracks.PageVideo)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.webView = ((Microsoft.Web.WebView2.Wpf.WebView2)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.webView = ((Microsoft.Web.WebView2.Wpf.WebView2)(target));

            #line 25 "..\..\..\Page.xaml"
                this.webView.NavigationStarting += new System.EventHandler <Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs>(this.WebView_NavigationStarting);

            #line default
            #line hidden

            #line 26 "..\..\..\Page.xaml"
                this.webView.NavigationCompleted += new System.EventHandler <Microsoft.Web.WebView2.Core.CoreWebView2NavigationCompletedEventArgs>(this.WebView_NavigationCompleted);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ButtonGo = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\MainWindow.xaml"
                this.ButtonGo.Click += new System.Windows.RoutedEventHandler(this.ButtonGo_OnClick);

            #line default
            #line hidden
                return;

            case 2:
                this.AddressBar = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.WebView = ((Microsoft.Web.WebView2.Wpf.WebView2)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\..\MainWindow.xaml"
                ((ModernStartMenu.MainWindow)(target)).Activated += new System.EventHandler(this.MainWindow_OnActivated);

            #line default
            #line hidden

            #line 14 "..\..\..\..\MainWindow.xaml"
                ((ModernStartMenu.MainWindow)(target)).Deactivated += new System.EventHandler(this.MainWindow_OnDeactivated);

            #line default
            #line hidden
                return;

            case 2:

            #line 31 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AllItemsContextMenuAddToFav_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.GridTop = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 5:

            #line 94 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.BtnAddNewMenuItemClicked);

            #line default
            #line hidden
                return;

            case 6:
                this.GridSearch = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:

            #line 117 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SearchBoxTextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.GridBottom = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.GridAllApps = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.FavItemsControl = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 12:

            #line 175 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.BtnAddFavClicked);

            #line default
            #line hidden
                return;

            case 13:
                this.MenuItemsControl = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 15:
                this.GridBrowser = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.SearchWebBrowser = ((Microsoft.Web.WebView2.Wpf.WebView2)(target));
                return;

            case 17:
                this.AnimationCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\..\MainWindow.xaml"
                ((ModernStartMenu.MainWindow)(target)).Activated += new System.EventHandler(this.MainWindow_OnActivated);

            #line default
            #line hidden

            #line 12 "..\..\..\..\MainWindow.xaml"
                ((ModernStartMenu.MainWindow)(target)).Deactivated += new System.EventHandler(this.MainWindow_OnDeactivated);

            #line default
            #line hidden
                return;

            case 2:

            #line 29 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AllItemsContextMenuAddToFav_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 33 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.FavItemsContextMenu_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.GridToolBar = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.UserImageBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 7:
                this.CheckBoxGoogleSearch = ((System.Windows.Controls.CheckBox)(target));

            #line 121 "..\..\..\..\MainWindow.xaml"
                this.CheckBoxGoogleSearch.Click += new System.Windows.RoutedEventHandler(this.CheckBoxGoogleSearch_OnChecked);

            #line default
            #line hidden
                return;

            case 8:

            #line 128 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.BtnAddNewMenuItemClicked);

            #line default
            #line hidden
                return;

            case 9:

            #line 140 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OpenWinSettings_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 148 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OpenMyPc_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 157 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OpenTerminal_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.TextTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:

            #line 179 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OpeMyGithub_Click);

            #line default
            #line hidden
                return;

            case 14:

            #line 186 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Close_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.GridSearch = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:

            #line 207 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.TextBox)(target)).TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.SearchBoxTextChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.GridBottom = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.GridAllApps = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.FavItemsControl = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 21:

            #line 263 "..\..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Border)(target)).MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.BtnAddFavClicked);

            #line default
            #line hidden
                return;

            case 22:
                this.MenuItemsControl = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 24:
                this.GridBrowser = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:
                this.SearchWebBrowser = ((Microsoft.Web.WebView2.Wpf.WebView2)(target));
                return;

            case 26:
                this.AnimationCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.webView1 = ((Microsoft.Web.WebView2.Wpf.WebView2)(target));
                return;

            case 2:
                this.webView2 = ((Microsoft.Web.WebView2.Wpf.WebView2)(target));
                return;

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

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

            #line 43 "..\..\..\MainWindow.xaml"
                this.ButtonGo.Click += new System.Windows.RoutedEventHandler(this.ButtonGo_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.addressBar = ((System.Windows.Controls.TextBox)(target));

            #line 46 "..\..\..\MainWindow.xaml"
                this.addressBar.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.addressBar_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 6:
                this.webView3 = ((Microsoft.Web.WebView2.Wpf.WebView2)(target));

            #line 51 "..\..\..\MainWindow.xaml"
                this.webView3.NavigationStarting += new System.EventHandler <Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs>(this.webView_NavigationStarting);

            #line default
            #line hidden

            #line 52 "..\..\..\MainWindow.xaml"
                this.webView3.NavigationCompleted += new System.EventHandler <Microsoft.Web.WebView2.Core.CoreWebView2NavigationCompletedEventArgs>(this.webView_NavigationCompleted);

            #line default
            #line hidden
                return;

            case 7:
                this.ButtonGoGC = ((System.Windows.Controls.Button)(target));

            #line 66 "..\..\..\MainWindow.xaml"
                this.ButtonGoGC.Click += new System.Windows.RoutedEventHandler(this.ButtonGoGC_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.addressBarGC = ((System.Windows.Controls.TextBox)(target));

            #line 69 "..\..\..\MainWindow.xaml"
                this.addressBarGC.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.addressBarGC_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 9:
                this.webViewGoogleCalendar = ((Microsoft.Web.WebView2.Wpf.WebView2)(target));

            #line 74 "..\..\..\MainWindow.xaml"
                this.webViewGoogleCalendar.NavigationStarting += new System.EventHandler <Microsoft.Web.WebView2.Core.CoreWebView2NavigationStartingEventArgs>(this.webViewGC_NavigationStarting);

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