public void setEnableBool(bool status) { if (this.InvokeRequired) { setBoolCallBack d = new setBoolCallBack(setEnableBool); this.Invoke(d, new object[] { status }); } else { base.Enabled = status; } }