public void RestoreFormInput() { if (InvokeRequired) { try { Invoke((Delegate)new AttrDataItemForm.RestoreFormInputDelegate(RestoreFormInput)); } catch { } } else Enabled = true; }