// Remove the current room. public void RemoveRoom(int iAreaID, int iRoomNumber, int iCoordX, int iCoordY, int iCoordZ) { // Create a Room Object. classes.room oRoom = new classes.room(); // Populate the Room from the Form. oRoom.roomAreaID = iAreaID; oRoom.roomNumber = iCurrentRoom; oRoom.coordX = iCoordX; oRoom.coordY = iCoordY; oRoom.coordZ = iCoordZ; // Delete the room. oRoom.RemoveRoom(); // Refresh Room Count. //lblRoomCount.Text = classes.area.GetRoomCountByID(iAreaID).ToString(); }