示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.keyboard = ((SETS_Project.Keyboard.FloatingTouchScreenKeyboard)(target));
                return;

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

            case 3:
                this.kb_magnifier = ((Xceed.Wpf.Toolkit.Magnifier)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Views\WebBrowserWindow.xaml"
                ((SETS_Project.WebBrowserWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.wb = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 3:

            #line 37 "..\..\..\Views\WebBrowserWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenKeyboard);

            #line default
            #line hidden
                return;

            case 4:

            #line 43 "..\..\..\Views\WebBrowserWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseWindow);

            #line default
            #line hidden
                return;

            case 5:
                this.LinkList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 7:

            #line 56 "..\..\..\Views\WebBrowserWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ListBox_Refresh);

            #line default
            #line hidden
                return;

            case 8:

            #line 63 "..\..\..\Views\WebBrowserWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenZoom);

            #line default
            #line hidden
                return;

            case 9:

            #line 69 "..\..\..\Views\WebBrowserWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.wb_ScrollTop);

            #line default
            #line hidden
                return;

            case 10:

            #line 75 "..\..\..\Views\WebBrowserWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.wb_ScrollDown);

            #line default
            #line hidden
                return;

            case 11:
                this.Keyboard = ((SETS_Project.Keyboard.FloatingTouchScreenKeyboard)(target));
                return;

            case 12:
                this.magnifier = ((Xceed.Wpf.Toolkit.Magnifier)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\YoutubeApp.xaml"
                ((SETS_Project.YoutubeApp)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.wb = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 3:

            #line 36 "..\..\YoutubeApp.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenKeyboard);

            #line default
            #line hidden
                return;

            case 4:

            #line 42 "..\..\YoutubeApp.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseWindow);

            #line default
            #line hidden
                return;

            case 5:

            #line 48 "..\..\YoutubeApp.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenZoom);

            #line default
            #line hidden
                return;

            case 6:

            #line 54 "..\..\YoutubeApp.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.wb_ScrollTop);

            #line default
            #line hidden
                return;

            case 7:

            #line 60 "..\..\YoutubeApp.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.wb_ScrollDown);

            #line default
            #line hidden
                return;

            case 8:

            #line 66 "..\..\YoutubeApp.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.wb_ScrollLeft);

            #line default
            #line hidden
                return;

            case 9:

            #line 81 "..\..\YoutubeApp.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.wb_ScrollRight);

            #line default
            #line hidden
                return;

            case 10:
                this.Keyboard = ((SETS_Project.Keyboard.FloatingTouchScreenKeyboard)(target));
                return;

            case 11:
                this.magnifier = ((Xceed.Wpf.Toolkit.Magnifier)(target));
                return;
            }
            this._contentLoaded = true;
        }