Exemple #1
0
        private void TextBox1KeyPress(object sender, KeyPressEventArgs e)
        {
            e.Handled = true;
            RestartPauseTimer();
            if (_allowedInteraction)
            {
                if ((_aweWebView == null) || !_aweWebView.IsLive)
                    return;

                _aweWebView.InjectKeyboardEvent(e.GetKeyboardEvent());
            }
        }
Exemple #2
0
		private void frmMain_KeyPress(object sender, KeyPressEventArgs e)
		{
			Core.BrowserManager[id].KeyPress(e.GetKeyboardEvent());
		}
        protected override void OnKeyPress( KeyPressEventArgs e )
        {
            base.OnKeyPress( e );

            if ( ( webView == null ) || !webView.IsLive )
                return;

            webView.InjectKeyboardEvent( e.GetKeyboardEvent() );
        }
Exemple #4
0
		protected override void OnKeyPress(KeyPressEventArgs e)
		{
			Core.BrowserManager[id].KeyPress(e.GetKeyboardEvent());
			base.OnKeyPress(e);
			

		}