private void con_Border_Click(object sender, EventArgs e)
{
var borderOptions = new BorderOptions();
if (borderOptions.ShowDialog(this) == DialogResult.OK)
{
this.Cursor = Cursors.WaitCursor;
ApplyActionToFrames("Border", ActionEnum.Border, Settings.Default.borderThickness, Settings.Default.borderColor);
GC.Collect();
this.Cursor = Cursors.Default;
}
}