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

            case 2:
                this.MainMenu = ((WpfApplication17.MainMenuUC)(target));
                return;

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

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

            case 5:
                this.cbRNo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.BtnSubmit = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.appbar_sort_alphabetical_descending = ((System.Windows.Controls.Canvas)(target));
                return;

            case 8:
                this.appbar_sort_alphabetical_ascending = ((System.Windows.Controls.Canvas)(target));
                return;

            case 9:
                this.appbar_user_add = ((System.Windows.Controls.Canvas)(target));
                return;

            case 10:
                this.appbar_user_delete = ((System.Windows.Controls.Canvas)(target));
                return;

            case 11:
                this.appbar_user_edit = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UCSub = ((WpfApplication17.TopSub)(target));
                return;

            case 2:
                this.MainMenu = ((WpfApplication17.MainMenuUC)(target));
                return;

            case 3:
                this.cbType = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 109 "..\..\PageRoNew.xaml"
                this.BtnSubmit.Click += new System.Windows.RoutedEventHandler(this.BtnSubmit_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.appbar_sort_alphabetical_descending = ((System.Windows.Controls.Canvas)(target));
                return;

            case 6:
                this.appbar_sort_alphabetical_ascending = ((System.Windows.Controls.Canvas)(target));
                return;

            case 7:
                this.appbar_user_add = ((System.Windows.Controls.Canvas)(target));
                return;

            case 8:
                this.appbar_user_delete = ((System.Windows.Controls.Canvas)(target));
                return;

            case 9:
                this.appbar_user_edit = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UCSub = ((WpfApplication17.TopSub)(target));
                return;

            case 2:
                this.MainMenu = ((WpfApplication17.MainMenuUC)(target));
                return;

            case 3:
                this.imgprofilepic = ((System.Windows.Controls.Image)(target));
                return;

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

            #line 30 "..\..\PageRegister.xaml"
                this.BtnPicUpload.Click += new System.Windows.RoutedEventHandler(this.BtnPicUpload_Click);

            #line default
            #line hidden
                return;

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

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

            case 7:
                this.cbType = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            case 10:
                this.txtQuali = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.cbGender = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.txtSpl = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 14:
                this.cbDay = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 15:
                this.cbTime = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.BtnSubmit = ((System.Windows.Controls.Button)(target));

            #line 152 "..\..\PageRegister.xaml"
                this.BtnSubmit.Click += new System.Windows.RoutedEventHandler(this.BtnSubmit_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.appbar_sort_alphabetical_descending = ((System.Windows.Controls.Canvas)(target));
                return;

            case 18:
                this.appbar_sort_alphabetical_ascending = ((System.Windows.Controls.Canvas)(target));
                return;

            case 19:
                this.appbar_user_add = ((System.Windows.Controls.Canvas)(target));
                return;

            case 20:
                this.appbar_user_delete = ((System.Windows.Controls.Canvas)(target));
                return;

            case 21:
                this.appbar_user_edit = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }