void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.bookgrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 2:
                this.fistpage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.nextpage = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 5:
                this.lastpage = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 7:
                this.pagecount = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 9:
                this.barcode = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 11:
                this.page = ((CustomerControl.Paging)(target));
                return;

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

            case 13:
                this.pageindex = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.txtfistpage = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 16:
                this.txtpreviewpage = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 18:
                this.txtredirecttopage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.bookgrids = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 20:
                this.cm = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 21:
                this.comcatateroy = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 22:
                this.txtbarcode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.txtbookname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.btnsearch = ((System.Windows.Controls.Button)(target));
                return;

            case 25:
                this.btndelete = ((System.Windows.Controls.Button)(target));
                return;

            case 26:
                this.btnclosefrm = ((System.Windows.Controls.Button)(target));
                return;

            case 27:
                this.picimage = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.txtbookimage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.selectiamge = ((System.Windows.Controls.Image)(target));
                return;

            case 30:
                this.txtboxbookname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.comtwocategory = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 32:
                this.compublisher = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 33:
                this.datapubisherdate = ((System.Windows.Controls.DatePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TabItem1 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 2:
                this.TabItem2 = ((System.Windows.Controls.TabItem)(target));
                return;

            case 3:
                this.btnconfirmadd = ((System.Windows.Controls.Button)(target));
                return;

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

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

            case 6:
                this.male = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.felmale = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.comreaderrole = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

            case 12:
                this.btnserachbyrole = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.listreader = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 14:
                this.fistpage = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 16:
                this.previewpage = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 18:
                this.redirecttopage = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 20:
                this.readingcard = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.roled = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.idcard = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.page = ((CustomerControl.Paging)(target));
                return;

            case 24:
                this.pagesize = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.pageindex = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 26:
                this.readerlist = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.page = ((CustomerControl.Paging)(target));
                return;

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

            #line 30 "..\..\Paging.xaml"
                this.btnfistpage.Click += new System.Windows.RoutedEventHandler(this.btnfistpage_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.btnpreviewpage = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\Paging.xaml"
                this.btnpreviewpage.Click += new System.Windows.RoutedEventHandler(this.btnpreviewpage_Click);

            #line default
            #line hidden
                return;

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

            #line 32 "..\..\Paging.xaml"
                this.btnnextpage.Click += new System.Windows.RoutedEventHandler(this.btnnextpage_Click);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\Paging.xaml"
                this.btnlastpage.Click += new System.Windows.RoutedEventHandler(this.btnlastpage_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\Paging.xaml"
                this.btnredirettopage.Click += new System.Windows.RoutedEventHandler(this.btnredirettopage_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\Paging.xaml"
                this.comboxpagesize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboxpagesize_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.pagecount = ((System.Windows.Documents.Run)(target));
                return;
            }
            this._contentLoaded = true;
        }