Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ClientIdTxtB = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 3:
                this.ClientPhoneTxtB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.ClientMailTxtB = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.AddressUserControl = ((WpfCakeManager.MyUserControl.Single.AddressUserControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.addressUserControl = ((WpfCakeManager.MyUserControl.Single.AddressUserControl)(target));
                return;

            case 2:
                this.ValidateB = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }