private void ActivateEmptyKeyInterpreter() { if (_eki == null) _eki = new HexBox.EmptyKeyInterpreter(this); if (_eki == _keyInterpreter) return; if (_keyInterpreter != null) _keyInterpreter.Deactivate(); _keyInterpreter = (HexBox.IKeyInterpreter)_eki; _keyInterpreter.Activate(); }
private void ActivateStringKeyInterpreter() { if (_ski == null) _ski = new HexBox.StringKeyInterpreter(this); if (_ski == _keyInterpreter) return; if (_keyInterpreter != null) _keyInterpreter.Deactivate(); _keyInterpreter = (HexBox.IKeyInterpreter)_ski; _keyInterpreter.Activate(); }
private void ActivateKeyInterpreter() { if (this._ki == null) this._ki = new HexBox.KeyInterpreter(this); if (this._ki == this._keyInterpreter) return; if (this._keyInterpreter != null) this._keyInterpreter.Deactivate(); this._keyInterpreter = (HexBox.IKeyInterpreter)this._ki; this._keyInterpreter.Activate(); }