private void ActivateStringKeyInterpreter() { if (stringKeyInterpreter == null) stringKeyInterpreter = new StringKeyInterpreter(this); if (stringKeyInterpreter == currentKeyInterpreter) return; if (currentKeyInterpreter != null) currentKeyInterpreter.Deactivate(); currentKeyInterpreter = stringKeyInterpreter; currentKeyInterpreter.Activate(); }
private void ActivateStringKeyInterpreter() { if (_ski == null) _ski = new StringKeyInterpreter(this); if (_ski == _keyInterpreter) return; if (_keyInterpreter != null) _keyInterpreter.Deactivate(); _keyInterpreter = _ski; _keyInterpreter.Activate(); }
private void ActivateStringKeyInterpreter() { if (this._ski == null) { this._ski = new StringKeyInterpreter(this); } if (this._ski != this._keyInterpreter) { if (this._keyInterpreter != null) { this._keyInterpreter.Deactivate(); } this._keyInterpreter = this._ski; this._keyInterpreter.Activate(); } }