private void loadPanels() { lbxLocation.Items.Clear(); var lst = LableCode.QueryAreaBLocations(); lbxLocation.Items.AddRange(lst.ToArray()); }