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

            #line 16 "..\..\..\AccountManager\ManagerAccountInfoWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Ok);

            #line default
            #line hidden

            #line 16 "..\..\..\AccountManager\ManagerAccountInfoWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_Ok);

            #line default
            #line hidden
                return;

            case 2:

            #line 17 "..\..\..\AccountManager\ManagerAccountInfoWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Cancel);

            #line default
            #line hidden
                return;

            case 3:
                this.SpInfo = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.AccInfoPart = ((Gss.PopUpWindow.AccountInfoModule.AccountInfoPart)(target));
                return;

            case 5:
                this.SpLogin = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 14 "..\..\..\AccountManager\DealerAccountInfoWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Ok);
     
     #line default
     #line hidden
     
     #line 14 "..\..\..\AccountManager\DealerAccountInfoWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_Ok);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 15 "..\..\..\AccountManager\DealerAccountInfoWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Cancel);
     
     #line default
     #line hidden
     return;
     case 3:
     this.SpInfo = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.AccInfoPart = ((Gss.PopUpWindow.AccountInfoModule.AccountInfoPart)(target));
     return;
     case 5:
     this.SpLogin = ((System.Windows.Controls.StackPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }