Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.gridbooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainwindow = ((QuanLyBaiXe.MainWindow)(target));
                return;

            case 2:
                this.mainTabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.TabControl = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 5:
                this.pos1gridBooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
                return;

            case 6:
                this.pos1gridAvailable = ((QuanLyBaiXe.Resource.Grid_Available.gridAvailable)(target));
                return;

            case 7:
                this.pos1gridOcupied = ((QuanLyBaiXe.Resource.Grid_Occupied.gridOccupied)(target));
                return;

            case 8:
                this.pos1gridMaintenance = ((QuanLyBaiXe.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

            case 9:
                this.pos2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.pos2gridBooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
                return;

            case 11:
                this.pos2gridAvailable = ((QuanLyBaiXe.Resource.Grid_Available.gridAvailable)(target));
                return;

            case 12:
                this.pos2gridOcupied = ((QuanLyBaiXe.Resource.Grid_Occupied.gridOccupied)(target));
                return;

            case 13:
                this.pos2gridMaintenance = ((QuanLyBaiXe.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

            case 14:
                this.pos3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.pos3gridBooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
                return;

            case 16:
                this.pos3gridAvailable = ((QuanLyBaiXe.Resource.Grid_Available.gridAvailable)(target));
                return;

            case 17:
                this.pos3gridOcupied = ((QuanLyBaiXe.Resource.Grid_Occupied.gridOccupied)(target));
                return;

            case 18:
                this.pos3gridMaintenance = ((QuanLyBaiXe.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

            case 19:
                this.pos4 = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.pos4gridBooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
                return;

            case 21:
                this.pos4gridOcupied = ((QuanLyBaiXe.Resource.Grid_Occupied.gridOccupied)(target));
                return;

            case 22:
                this.pos4gridAvailable = ((QuanLyBaiXe.Resource.Grid_Available.gridAvailable)(target));
                return;

            case 23:
                this.pos4gridMaintenance = ((QuanLyBaiXe.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

            case 24:
                this.pos5 = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:
                this.pos5gridBooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
                return;

            case 26:
                this.pos5gridOcupied = ((QuanLyBaiXe.Resource.Grid_Occupied.gridOccupied)(target));
                return;

            case 27:
                this.pos5gridAvailable = ((QuanLyBaiXe.Resource.Grid_Available.gridAvailable)(target));
                return;

            case 28:
                this.pos5gridMaintenance = ((QuanLyBaiXe.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

            case 29:
                this.pos6 = ((System.Windows.Controls.Grid)(target));
                return;

            case 30:
                this.pos6gridBooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
                return;

            case 31:
                this.pos6gridOcupied = ((QuanLyBaiXe.Resource.Grid_Occupied.gridOccupied)(target));
                return;

            case 32:
                this.pos6gridAvailable = ((QuanLyBaiXe.Resource.Grid_Available.gridAvailable)(target));
                return;

            case 33:
                this.pos6gridMaintenance = ((QuanLyBaiXe.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

            case 34:
                this.pos7 = ((System.Windows.Controls.Grid)(target));
                return;

            case 35:
                this.pos7gridBooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
                return;

            case 36:
                this.pos7gridOcupied = ((QuanLyBaiXe.Resource.Grid_Occupied.gridOccupied)(target));
                return;

            case 37:
                this.pos7gridAvailable = ((QuanLyBaiXe.Resource.Grid_Available.gridAvailable)(target));
                return;

            case 38:
                this.pos7gridMaintenance = ((QuanLyBaiXe.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

            case 39:
                this.pos8 = ((System.Windows.Controls.Grid)(target));
                return;

            case 40:
                this.pos8gridBooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
                return;

            case 41:
                this.pos8gridOcupied = ((QuanLyBaiXe.Resource.Grid_Occupied.gridOccupied)(target));
                return;

            case 42:
                this.pos8gridAvailable = ((QuanLyBaiXe.Resource.Grid_Available.gridAvailable)(target));
                return;

            case 43:
                this.pos8gridMaintenance = ((QuanLyBaiXe.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

            case 44:
                this.pos9 = ((System.Windows.Controls.Grid)(target));
                return;

            case 45:
                this.pos9gridBooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
                return;

            case 46:
                this.pos9gridOcupied = ((QuanLyBaiXe.Resource.Grid_Occupied.gridOccupied)(target));
                return;

            case 47:
                this.pos9gridAvailable = ((QuanLyBaiXe.Resource.Grid_Available.gridAvailable)(target));
                return;

            case 48:
                this.pos9gridMaintenance = ((QuanLyBaiXe.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

            case 49:
                this.pos10 = ((System.Windows.Controls.Grid)(target));
                return;

            case 50:
                this.pos10gridBooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
                return;

            case 51:
                this.pos10gridOcupied = ((QuanLyBaiXe.Resource.Grid_Occupied.gridOccupied)(target));
                return;

            case 52:
                this.pos10gridAvailable = ((QuanLyBaiXe.Resource.Grid_Available.gridAvailable)(target));
                return;

            case 53:
                this.pos10gridMaintenance = ((QuanLyBaiXe.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

            case 54:
                this.pos11 = ((System.Windows.Controls.Grid)(target));
                return;

            case 55:
                this.pos11gridBooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
                return;

            case 56:
                this.pos11gridOcupied = ((QuanLyBaiXe.Resource.Grid_Occupied.gridOccupied)(target));
                return;

            case 57:
                this.pos11gridAvailable = ((QuanLyBaiXe.Resource.Grid_Available.gridAvailable)(target));
                return;

            case 58:
                this.pos11gridMaintenance = ((QuanLyBaiXe.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

            case 59:
                this.pos12 = ((System.Windows.Controls.Grid)(target));
                return;

            case 60:
                this.pos12gridBooked = ((QuanLyBaiXe.Resource.Grid_Booked.gridBooked)(target));
                return;

            case 61:
                this.pos12gridOcupied = ((QuanLyBaiXe.Resource.Grid_Occupied.gridOccupied)(target));
                return;

            case 62:
                this.pos12gridAvailable = ((QuanLyBaiXe.Resource.Grid_Available.gridAvailable)(target));
                return;

            case 63:
                this.pos12gridMaintenance = ((QuanLyBaiXe.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

            case 64:
                this.FeeChildTabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 65:
                this.btnNormalFeeEdit = ((System.Windows.Controls.Button)(target));
                return;

            case 66:
                this.listviewNormalFee = ((System.Windows.Controls.ListView)(target));
                return;

            case 67:
                this.btnFestivalFeeEdit = ((System.Windows.Controls.Button)(target));
                return;

            case 68:
                this.btnEventFeeEdit = ((System.Windows.Controls.Button)(target));
                return;

            case 69:
                this.LocaleDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 70:
                this.BeginCustomPicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 71:
                this.EndCustomPicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 72:
                this.ComboBoxViewType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 73:
                this.btnAddBlackList = ((System.Windows.Controls.Button)(target));
                return;

            case 74:
                this.btnEditBlackList = ((System.Windows.Controls.Button)(target));
                return;

            case 75:
                this.btnDeleteBlackList = ((System.Windows.Controls.Button)(target));
                return;

            case 76:
                this.listviewBlackList = ((System.Windows.Controls.ListView)(target));
                return;
            }
            this._contentLoaded = true;
        }