private void con_Progress_Click(object sender, EventArgs e)
{
var progress = new Progress();
if (progress.ShowDialog(this) == DialogResult.OK)
{
this.Cursor = Cursors.WaitCursor;
ApplyActionToFrames("Progress", ActionEnum.Progress);
this.Cursor = Cursors.Default;
}
progress.Dispose();
GC.Collect();
}