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(); }
public Form1() { InitializeComponent(); parking = new Parking(); Draw(); }