private void Generator_TableCounted(object sender, CountEventArgs e) { progressBar.Value = e.Count; }
private void Generator_DatabaseCounted(object sender, CountEventArgs e) { progressBar.Maximum = e.Count; }