// text field // There are special keys like "Enter" which require an enabling by //--------------------------------------------------------- // see at: protected override bool IsInputKey(Keys keyData) void txtUserText_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { EaService.RunQuickSearch(Repository, AddinSettings.QuickSearchName, txtUserText.Text); e.Handled = true; } }
private void txtUserText_MouseDoubleClick(object sender, MouseEventArgs e) { txtUserText.Text = Clipboard.GetText(); EaService.RunQuickSearch(Repository, AddinSettings.QuickSearchName, txtUserText.Text); }