public void UnvalidateDirectory() { Action worker = () => { if (this._UnvalidateTimer.Enabled) this._UnvalidateTimer.Stop(); this._UnvalidateTimer.Start(); }; if (this.InvokeRequired) this.BeginInvoke((Action)(() => worker())); else worker(); }