void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ftbname = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 2:
                this.menuclick = ((ScreenCast.Controls.ImageButton)(target));
                return;

            case 3:
                this.PopupMenu = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 4:
                this.CheckBoxAutoRun = ((System.Windows.Controls.CheckBox)(target));

            #line 28 "..\..\..\Views\FloatingToolBars.xaml"
                this.CheckBoxAutoRun.Click += new System.Windows.RoutedEventHandler(this.OnAutoRunClick);

            #line default
            #line hidden
                return;

            case 5:
                this.CheckBoxShowFirstPage = ((System.Windows.Controls.CheckBox)(target));

            #line 29 "..\..\..\Views\FloatingToolBars.xaml"
                this.CheckBoxShowFirstPage.Click += new System.Windows.RoutedEventHandler(this.OnCheckBoxShowFirstPage);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\Views\MainWindow.xaml"
                ((ScreenCast.Views.MainWindow)(target)).Closed += new System.EventHandler(this.MainWindow_OnClosed);

            #line default
            #line hidden

            #line 14 "..\..\..\Views\MainWindow.xaml"
                ((ScreenCast.Views.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded);

            #line default
            #line hidden

            #line 15 "..\..\..\Views\MainWindow.xaml"
                ((ScreenCast.Views.MainWindow)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnUnloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Border)(target));

            #line 29 "..\..\..\Views\MainWindow.xaml"
                this.LayoutRoot.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 3:
                this.PCConnet = ((System.Windows.Controls.Canvas)(target));
                return;

            case 4:
                this.ImgPCtoPc = ((System.Windows.Controls.Image)(target));

            #line 43 "..\..\..\Views\MainWindow.xaml"
                this.ImgPCtoPc.MouseMove += new System.Windows.Input.MouseEventHandler(this.OnShowButtonNextRight);

            #line default
            #line hidden

            #line 43 "..\..\..\Views\MainWindow.xaml"
                this.ImgPCtoPc.MouseLeave += new System.Windows.Input.MouseEventHandler(this.OnShowButtonNextRightLeave);

            #line default
            #line hidden
                return;

            case 5:
                this.ButtonNextRight = ((ScreenCast.Controls.ImageButton)(target));
                return;

            case 6:
                this.MediaElementPc = ((System.Windows.Controls.MediaElement)(target));

            #line 56 "..\..\..\Views\MainWindow.xaml"
                this.MediaElementPc.MediaEnded += new System.Windows.RoutedEventHandler(this.MediaElement_MediaEnded_PC);

            #line default
            #line hidden
                return;

            case 7:
                this.PhoneConnet = ((System.Windows.Controls.Canvas)(target));
                return;

            case 8:
                this.ImgPhoneToPc = ((System.Windows.Controls.Image)(target));

            #line 86 "..\..\..\Views\MainWindow.xaml"
                this.ImgPhoneToPc.MouseMove += new System.Windows.Input.MouseEventHandler(this.OnShowButtonNextLeft);

            #line default
            #line hidden

            #line 86 "..\..\..\Views\MainWindow.xaml"
                this.ImgPhoneToPc.MouseLeave += new System.Windows.Input.MouseEventHandler(this.OnShowButtonNextLeftLeave);

            #line default
            #line hidden
                return;

            case 9:
                this.ButtonNextLeft = ((ScreenCast.Controls.ImageButton)(target));
                return;

            case 10:
                this.MediaElementPhone = ((System.Windows.Controls.MediaElement)(target));

            #line 97 "..\..\..\Views\MainWindow.xaml"
                this.MediaElementPhone.MediaEnded += new System.Windows.RoutedEventHandler(this.MediaElement_MediaEnded_Phone);

            #line default
            #line hidden
                return;

            case 11:
                this.connecting = ((System.Windows.Controls.Canvas)(target));
                return;

            case 12:
                this.MediaElementConnect = ((System.Windows.Controls.MediaElement)(target));

            #line 130 "..\..\..\Views\MainWindow.xaml"
                this.MediaElementConnect.MediaEnded += new System.Windows.RoutedEventHandler(this.MediaElement_MediaEnded_Connect);

            #line default
            #line hidden
                return;

            case 13:
                this.connecterr = ((System.Windows.Controls.Canvas)(target));
                return;

            case 14:
                this.menuclick = ((ScreenCast.Controls.ImageButton)(target));
                return;

            case 15:
                this.PopupMenu = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 16:
                this.CheckBoxAutoRun = ((System.Windows.Controls.CheckBox)(target));

            #line 174 "..\..\..\Views\MainWindow.xaml"
                this.CheckBoxAutoRun.Click += new System.Windows.RoutedEventHandler(this.OnAutoRunClick);

            #line default
            #line hidden
                return;

            case 17:
                this.CheckBoxShowFirstPage = ((System.Windows.Controls.CheckBox)(target));

            #line 175 "..\..\..\Views\MainWindow.xaml"
                this.CheckBoxShowFirstPage.Click += new System.Windows.RoutedEventHandler(this.OnCheckBoxShowFirstPage);

            #line default
            #line hidden
                return;

            case 18:
                this.PhonetoPc = ((System.Windows.Controls.Image)(target));
                return;

            case 19:
                this.PCtoPc = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }