Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\ZSPCt.xaml"
                ((TabletennisCln.ZSPCt)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.d = ((TabletennisCln.data)(target));
                return;

            case 3:
                this.BT_WaitZSP = ((System.Windows.Controls.Button)(target));

            #line 14 "..\..\ZSPCt.xaml"
                this.BT_WaitZSP.Click += new System.Windows.RoutedEventHandler(this.BTC_WaitZSP);

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

            #line 22 "..\..\ZSPCt.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BTC_SevZ);

            #line default
            #line hidden
                return;

            case 6:

            #line 23 "..\..\ZSPCt.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BTC_CloseZSP);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\ZSPCt.xaml"
     ((TabletennisCln.ZSPCt)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.d = ((TabletennisCln.data)(target));
     return;
     case 3:
     this.BT_WaitZSP = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\ZSPCt.xaml"
     this.BT_WaitZSP.Click += new System.Windows.RoutedEventHandler(this.BTC_WaitZSP);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 18 "..\..\ZSPCt.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BTC_HomeZSP);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 22 "..\..\ZSPCt.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BTC_SevZ);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 23 "..\..\ZSPCt.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BTC_CloseZSP);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }