private void cmdOK_Click(object sender, EventArgs e)
{
panel2.Visible = false;
cmdOK.Enabled = false;
cmdCancel.Enabled = false;
cmdRemoveAll.Enabled = false;
var index = 0;
foreach (Table table in _tableCollection)
{
this.ProcessTable(table);
System.Windows.Forms.Application.DoEvents();
index++;
}
this.SaveSettings();
this.DialogResult = DialogResult.OK;
this.Close();
}