void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.addClientForm = ((PhysioProject2.Window1)(target));
                return;

            case 2:
                this.clientNameLbl = ((System.Windows.Controls.Label)(target));
                return;

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

            case 4:
                this.clientSurnameLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.clientSurnameTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.clientBirthdayLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.clientBirthdayPicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.clientPhoneLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.clientPhoneTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.clientDoctorLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.clientDoctorTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.clientDiagnosisLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.clientDiagnosisTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.clientSaveButton = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.addClientForm = ((PhysioProject2.Window1)(target));
                return;

            case 2:
                this.clientNameLbl = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 12 "..\..\AddClient.xaml"
                this.clientNameTxt.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.nameTxtbox_TextChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.clientSurnameLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.clientSurnameTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.clientBirthdayLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.clientBirthdayPicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 8:
                this.clientPhoneLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.clientPhoneTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.clientDoctorLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.clientDoctorTxt = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.clientDiagnosisLbl = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.clientDiagnosisTxt = ((System.Windows.Controls.TextBox)(target));
                return;

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