private static async Task LoadDbAsync() { List <Task> tasksList = new List <Task>(); tasksList.Add(Task.Run(() => DevTools.LoadDtDb())); tasksList.Add(Task.Run(() => OrdersList.LoadOrders())); tasksList.Add(Task.Run(() => LedCollectiveDb.LoadDb())); tasksList.Add(Task.Run(() => OrdersList.LoadTestersDict())); await Task.WhenAll(tasksList); OrdersList.FillOutOrdersListGrid(); }
private void cbHideFinished_CheckedChanged(object sender, EventArgs e) { OrdersList.FillOutOrdersListGrid(); }
private void cbNewOnly_CheckedChanged(object sender, EventArgs e) { OrdersList.FillOutOrdersListGrid(); }