Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UIRootView = ((Camera_Final.UIView.Camera)(target));

            #line 8 "..\..\..\UIView\Camera.xaml"
                this.UIRootView.Loaded += new System.Windows.RoutedEventHandler(this.UIRootView_Loaded);

            #line default
            #line hidden

            #line 8 "..\..\..\UIView\Camera.xaml"
                this.UIRootView.Unloaded += new System.Windows.RoutedEventHandler(this.UIRootView_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.UIRoot = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.myVlcControl = ((Vlc.DotNet.Wpf.VlcControl)(target));
                return;

            case 4:
                this.UIView = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UIRootView = ((Camera_Final.UIView.Camera)(target));
     
     #line 8 "..\..\..\UIView\Camera.xaml"
     this.UIRootView.Loaded += new System.Windows.RoutedEventHandler(this.UIRootView_Loaded);
     
     #line default
     #line hidden
     
     #line 8 "..\..\..\UIView\Camera.xaml"
     this.UIRootView.Unloaded += new System.Windows.RoutedEventHandler(this.UIRootView_Unloaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.UIRoot = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.myVlcControl = ((Vlc.DotNet.Wpf.VlcControl)(target));
     return;
     case 4:
     this.UIView = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }