public void RestoreFormInput() { if (InvokeRequired) { try { Invoke((Delegate)new AttributesForm.RestoreFormInputDelegate(RestoreFormInput), new object[0]); } catch { } } else Enabled = true; }