/// <summary> /// Initializes the current window in all existing objects /// </summary> public map3() { InitializeComponent(); bl = BLApi.Factory.GetBL("1"); foreach (string area in bl.GetAllAreas().ToList()) { areaList.Items.Add(area); } areaList.Items.Add("all areas"); }