void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.findMemberWindow = ((LibraryManager.EntityFramework.FindMemberWindow)(target));
                return;

            case 2:
                this.titleBar = ((LibraryManager.MyUserControl.TitleBar)(target));
                return;

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

            case 4:
                this.cmbName = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 6:
                this.tblWarning = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ucTitleBar = ((LibraryManager.MyUserControl.TitleBar)(target));
                return;

            case 2:
                this.btnWindowMaximize = ((System.Windows.Controls.Button)(target));
                return;

            case 3:
                this.iconWindowMaximize = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.addBookWindow = ((LibraryManager.EntityFramework.View.AddWindow.AddBookWindow)(target));
                return;

            case 2:
                this.titleBar = ((LibraryManager.MyUserControl.TitleBar)(target));
                return;

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

            case 4:
                this.tblTitleWarning = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 6:
                this.tblBookCategoryWarning = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 8:
                this.tblPublisherWarning = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 10:
                this.tblYearPublishWarning = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 12:
                this.tblAuthorWaning = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 14:
                this.txtPageNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.tblPageNumberWarning = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.txtPrice = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.tblPriceWarning = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.txtNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.tblNumberWarning = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.btnOK = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.memberWindow = ((LibraryManager.EntityFramework.MemberWindow)(target));
                return;

            case 2:
                this.titleBar = ((LibraryManager.MyUserControl.TitleBar)(target));
                return;

            case 3:
                this.gridMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.gridMenu = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.btnOpenMenu = ((System.Windows.Controls.Button)(target));

            #line 100 "..\..\MemberWindow.xaml"
                this.btnOpenMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonOpenMenu_Click);

            #line default
            #line hidden
                return;

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

            #line 109 "..\..\MemberWindow.xaml"
                this.btnCloseMenu.Click += new System.Windows.RoutedEventHandler(this.ButtonCloseMenu_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.gridCursor = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.ListViewMenu = ((System.Windows.Controls.ListView)(target));
                return;

            case 9:
                this.AccountInfo = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 10:
                this.icoAccount = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 11:
                this.BorrowBookList = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 12:
                this.AboutSoftware = ((System.Windows.Controls.ListViewItem)(target));
                return;

            case 13:
                this.Logout = ((System.Windows.Controls.ListViewItem)(target));
                return;
            }
            this._contentLoaded = true;
        }