Пример #1
0
        public Form1()
		{
            InitializeComponent();
			log = LogManager.GetCurrentClassLogger();
			parking = new Parking(5);
			for (int i = 1; i < 6; i++)
			{
				listBoxLevels.Items.Add("Уровень " + i);
			}
			listBoxLevels.SelectedIndex = parking.getCurrentLevel;
			Draw();
        }
Пример #2
0
 public Form1()
 {
     InitializeComponent();
     parking = new Parking();
     Draw();
 }