private void setTabEnable(TabControl box, bool state) { box.Invoke(new setTabEnableDelegate(setTabEnableHelper), new object[] { box, state }); }