コード例 #1
0
 private void OnGotFocus(object sender, EventArgs e)
 {
     if (UserGotFocus != null)
     {
         UserGotFocus.Invoke(sender, e);
     }
 }
コード例 #2
0
ファイル: GeckoBase.cs プロジェクト: sujeffreyl/libpalaso
 protected void ChangeFocus()
 {
     _focusElement.Focus();
     if (UserGotFocus != null)
     {
         UserGotFocus.Invoke(this, null);
     }
 }
コード例 #3
0
ファイル: WeSayTextBox.cs プロジェクト: sillsdev/wesay
 private void OnGotFocus(object sender, EventArgs e)
 {
     Logger.WriteMinorEvent("Focus {0}:{1}", _nameForLogging, _writingSystem.Id);
     _haveAlreadyLoggedTextChanged = false;
     if (UserGotFocus != null)
     {
         UserGotFocus.Invoke(sender, e);
     }
 }