Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Start_Button_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 10 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit_Button_Click);

            #line default
            #line hidden
                return;

            case 3:
                this._checkClusterLayer = ((System.Windows.Controls.CheckBox)(target));

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

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\MainWindow.xaml"
                this._checkHandLayer.Click += new System.Windows.RoutedEventHandler(this.checkHandLayer_Click);

            #line default
            #line hidden
                return;

            case 5:
                this._videoControl = ((ParaIF.UI.WpfVideoControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 9 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Start_Button_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 10 "..\..\Main.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Exit_Button_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this._checkClusterLayer = ((System.Windows.Controls.CheckBox)(target));
     
     #line 12 "..\..\Main.xaml"
     this._checkClusterLayer.Click += new System.Windows.RoutedEventHandler(this.checkClusterLayer_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this._checkHandLayer = ((System.Windows.Controls.CheckBox)(target));
     
     #line 13 "..\..\Main.xaml"
     this._checkHandLayer.Click += new System.Windows.RoutedEventHandler(this.checkHandLayer_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this._videoControl = ((ParaIF.UI.WpfVideoControl)(target));
     return;
     }
     this._contentLoaded = true;
 }