Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.personCard = ((IMClient.Views.Panels.PersonCardView)(target));
                return;

            case 2:
                this.tbKey = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.listsource = ((System.Windows.Controls.ListBox)(target));
                return;

            case 4:
                this.btnConfirm = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.btnCancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 24 "..\..\..\..\Views\ChildWindows\SendPersonCardWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.sendPersonCardView = ((IMClient.Views.Panels.PersonCardView)(target));
                return;
            }
            this._contentLoaded = true;
        }