private void OnGotFocus(object sender, EventArgs e) { if (UserGotFocus != null) { UserGotFocus.Invoke(sender, e); } }
protected void ChangeFocus() { _focusElement.Focus(); if (UserGotFocus != null) { UserGotFocus.Invoke(this, null); } }
private void OnGotFocus(object sender, EventArgs e) { Logger.WriteMinorEvent("Focus {0}:{1}", _nameForLogging, _writingSystem.Id); _haveAlreadyLoggedTextChanged = false; if (UserGotFocus != null) { UserGotFocus.Invoke(sender, e); } }