예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 17 "..\..\WNLib2005.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Start_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 18 "..\..\WNLib2005.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Stop_Click_1);

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:
                this.myView = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.cameraCapture = ((VideoCallP2P.lib2005.CameraViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 17 "..\..\WNLib2005.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Start_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 18 "..\..\WNLib2005.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Stop_Click_1);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 19 "..\..\WNLib2005.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.myView = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 5:
     this.cameraCapture = ((VideoCallP2P.lib2005.CameraViewer)(target));
     return;
     }
     this._contentLoaded = true;
 }