Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((Desktop.AdminEditWindow)(target));
                return;

            case 2:
                this.grdNew = ((System.Windows.Controls.Grid)(target));
                return;

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

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

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

            case 6:
                this.idTelefon = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.idUsername = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.idPassword = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.idLicence = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 10:

            #line 45 "..\..\AdminEditWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

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

            case 2:
                this.grdNew = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 25 "..\..\AdminEditWindow.xaml"
                this.idName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TextBox_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\AdminEditWindow.xaml"
                this.idLastName.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.idLastName_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\AdminEditWindow.xaml"
                this.idEmail.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.idEmail_TextChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.idTelefon = ((System.Windows.Controls.TextBox)(target));

            #line 31 "..\..\AdminEditWindow.xaml"
                this.idTelefon.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.idTelefon_TextChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.idUsername = ((System.Windows.Controls.TextBox)(target));

            #line 33 "..\..\AdminEditWindow.xaml"
                this.idUsername.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.idUsername_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.idPassword = ((System.Windows.Controls.TextBox)(target));

            #line 35 "..\..\AdminEditWindow.xaml"
                this.idPassword.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.idPassword_TextChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.idLicence = ((System.Windows.Controls.DatePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }