Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UsernameTextItem = ((CtrlLib.UserInterface.Controls.Editors.CtrlTextBox)(target));
                return;

            case 2:
                this.PasswordMaskedTextItem = ((CtrlLib.UserInterface.Controls.Editors.CtrlMaskedTextBox)(target));

            #line 28 "..\..\LoginWindow.xaml"
                this.PasswordMaskedTextItem.KeyDown += new System.Windows.Input.KeyEventHandler(this.MyPassword_OnKeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.LoginButton = ((CtrlLib.UserInterface.Controls.Actions.CtrlButton)(target));

            #line 29 "..\..\LoginWindow.xaml"
                this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.LoginButton_OnClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\..\Modules\Article\ArticleUserControl.xaml"
                ((CtrlApplication.Modules.Article.ArticleUserControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ArticleUserControl_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.CtrlNewCommandBinding = ((System.Windows.Input.CommandBinding)(target));

            #line 17 "..\..\..\..\Modules\Article\ArticleUserControl.xaml"
                this.CtrlNewCommandBinding.CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CtrlNewCommandBinding_OnCanExecute);

            #line default
            #line hidden

            #line 18 "..\..\..\..\Modules\Article\ArticleUserControl.xaml"
                this.CtrlNewCommandBinding.Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CtrlNewCommandBinding_OnExecuted);

            #line default
            #line hidden
                return;

            case 3:
                this.CtrlSaveCommandBinding = ((System.Windows.Input.CommandBinding)(target));

            #line 21 "..\..\..\..\Modules\Article\ArticleUserControl.xaml"
                this.CtrlSaveCommandBinding.CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CtrlSaveCommandBinding_OnCanExecute);

            #line default
            #line hidden

            #line 22 "..\..\..\..\Modules\Article\ArticleUserControl.xaml"
                this.CtrlSaveCommandBinding.Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CtrlSaveCommandBinding_OnExecuted);

            #line default
            #line hidden
                return;

            case 4:
                this.CtrlSearchCommandBinding = ((System.Windows.Input.CommandBinding)(target));

            #line 25 "..\..\..\..\Modules\Article\ArticleUserControl.xaml"
                this.CtrlSearchCommandBinding.CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CtrlSearchCommandBinding_OnCanExecute);

            #line default
            #line hidden

            #line 26 "..\..\..\..\Modules\Article\ArticleUserControl.xaml"
                this.CtrlSearchCommandBinding.Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CtrlSearchCommandBinding_OnExecuted);

            #line default
            #line hidden
                return;

            case 5:
                this.BaseLayoutGroup = ((CtrlLib.UserInterface.Layout.CtrlLayoutGroup)(target));
                return;

            case 6:
                this.HeaderGroupBox = ((CtrlLib.UserInterface.Controls.Host.CtrlGroupBox)(target));
                return;

            case 7:
                this.HeaderLayoutGroup = ((CtrlLib.UserInterface.Layout.CtrlLayoutGroup)(target));
                return;

            case 8:
                this.ArticleIdTextBox = ((CtrlLib.UserInterface.Controls.Editors.CtrlTextBox)(target));
                return;

            case 9:
                this.PurchasingGroupBox = ((CtrlLib.UserInterface.Controls.Host.CtrlGroupBox)(target));
                return;

            case 10:
                this.PurchasingLayoutGroup = ((CtrlLib.UserInterface.Layout.CtrlLayoutGroup)(target));
                return;
            }
            this._contentLoaded = true;
        }