private void button1_Click(object sender, EventArgs e) { try { PriceLoader loader = new PriceLoader(); loader.LoadPrices(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }
private void reloadPricesButton_Click(object sender, EventArgs e) { try { PriceLoader loader = new PriceLoader(); loader.LoadPrices(); RefreshTable(); RefreshProjectsList(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }