Example #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.gridOccupy = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainwindow = ((Smart_Parking_Lot.MainWindow)(target));
                return;

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

            case 3:
                this.pos1gridBooked = ((Smart_Parking_Lot.Resource.gridBooked)(target));
                return;

            case 4:
                this.pos1gridAvailable = ((Smart_Parking_Lot.Resource.gridAvailable)(target));
                return;

            case 5:
                this.pos1gridOcupied = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
                return;

            case 6:
                this.pos1gridMaintenance = ((Smart_Parking_Lot.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

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

            case 8:
                this.pos2gridBooked = ((Smart_Parking_Lot.Resource.gridBooked)(target));
                return;

            case 9:
                this.pos2gridAvailable = ((Smart_Parking_Lot.Resource.gridAvailable)(target));
                return;

            case 10:
                this.pos2gridOcupied = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
                return;

            case 11:
                this.pos2gridMaintenance = ((Smart_Parking_Lot.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

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

            case 13:
                this.pos3gridBooked = ((Smart_Parking_Lot.Resource.gridBooked)(target));
                return;

            case 14:
                this.pos3gridAvailable = ((Smart_Parking_Lot.Resource.gridAvailable)(target));
                return;

            case 15:
                this.pos3gridOcupied = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
                return;

            case 16:
                this.pos3gridMaintenance = ((Smart_Parking_Lot.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

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

            case 18:
                this.pos4gridBooked = ((Smart_Parking_Lot.Resource.gridBooked)(target));
                return;

            case 19:
                this.pos4gridOcupied = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
                return;

            case 20:
                this.pos4gridAvailable = ((Smart_Parking_Lot.Resource.gridAvailable)(target));
                return;

            case 21:
                this.pos4gridMaintenance = ((Smart_Parking_Lot.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

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

            case 23:
                this.pos5gridBooked = ((Smart_Parking_Lot.Resource.gridBooked)(target));
                return;

            case 24:
                this.pos5gridOcupied = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
                return;

            case 25:
                this.pos5gridAvailable = ((Smart_Parking_Lot.Resource.gridAvailable)(target));
                return;

            case 26:
                this.pos5gridMaintenance = ((Smart_Parking_Lot.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

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

            case 28:
                this.pos6gridBooked = ((Smart_Parking_Lot.Resource.gridBooked)(target));
                return;

            case 29:
                this.pos6gridOcupied = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
                return;

            case 30:
                this.pos6gridAvailable = ((Smart_Parking_Lot.Resource.gridAvailable)(target));
                return;

            case 31:
                this.pos6gridMaintenance = ((Smart_Parking_Lot.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

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

            case 33:
                this.pos7gridBooked = ((Smart_Parking_Lot.Resource.gridBooked)(target));
                return;

            case 34:
                this.pos7gridOcupied = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
                return;

            case 35:
                this.pos7gridAvailable = ((Smart_Parking_Lot.Resource.gridAvailable)(target));
                return;

            case 36:
                this.pos7gridMaintenance = ((Smart_Parking_Lot.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

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

            case 38:
                this.pos8gridBooked = ((Smart_Parking_Lot.Resource.gridBooked)(target));
                return;

            case 39:
                this.pos8gridOcupied = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
                return;

            case 40:
                this.pos8gridAvailable = ((Smart_Parking_Lot.Resource.gridAvailable)(target));
                return;

            case 41:
                this.pos8gridMaintenance = ((Smart_Parking_Lot.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

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

            case 43:
                this.pos9gridBooked = ((Smart_Parking_Lot.Resource.gridBooked)(target));
                return;

            case 44:
                this.pos9gridOcupied = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
                return;

            case 45:
                this.pos9gridAvailable = ((Smart_Parking_Lot.Resource.gridAvailable)(target));
                return;

            case 46:
                this.pos9gridMaintenance = ((Smart_Parking_Lot.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

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

            case 48:
                this.pos10gridBooked = ((Smart_Parking_Lot.Resource.gridBooked)(target));
                return;

            case 49:
                this.pos10gridOcupied = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
                return;

            case 50:
                this.pos10gridAvailable = ((Smart_Parking_Lot.Resource.gridAvailable)(target));
                return;

            case 51:
                this.pos10gridMaintenance = ((Smart_Parking_Lot.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

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

            case 53:
                this.pos11gridBooked = ((Smart_Parking_Lot.Resource.gridBooked)(target));
                return;

            case 54:
                this.pos11gridOcupied = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
                return;

            case 55:
                this.pos11gridAvailable = ((Smart_Parking_Lot.Resource.gridAvailable)(target));
                return;

            case 56:
                this.pos11gridMaintenance = ((Smart_Parking_Lot.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

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

            case 58:
                this.pos12gridBooked = ((Smart_Parking_Lot.Resource.gridBooked)(target));
                return;

            case 59:
                this.pos12gridOcupied = ((Smart_Parking_Lot.Resource.gridOccupied)(target));
                return;

            case 60:
                this.pos12gridAvailable = ((Smart_Parking_Lot.Resource.gridAvailable)(target));
                return;

            case 61:
                this.pos12gridMaintenance = ((Smart_Parking_Lot.Resource.Grid_Maintenance.gridMaintenance)(target));
                return;

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