private void button4_Click(object sender, EventArgs e) { try { System.IO.File.Delete("MVT.txt"); System.IO.File.Copy(@"\\192.168.1.173\exported\MVT.txt", "MVT.txt"); } catch (Exception) { throw; } Broker b = new Broker(); String CsOG = ""; buginDeparture = b.FillListBox(b.LoadOccupation("MVT")); listBox1.DataSource = null; foreach (var item in buginDeparture) { CsOG = CsOG + " " + item.FlightNumber; listBox1.Items.Add(item.FlightNumber); comboBox1.DataSource = b.Updater(item, item, 1); } b.WriteMyLOG("Update Flight: " + CsOG); b.CloseReader(); }