///<summary></summary> protected void OnKeyClicked(string myTxt, Keys myKeyData) { KeyboardClickEventArgs kArgs = new KeyboardClickEventArgs(myTxt, myKeyData); //KeyEventArgs kArgs=new KeyEventArgs( KeyboardClickEventArgs(myTxt); if (KeyClick != null) { KeyClick(this, kArgs); } }
///<summary></summary> protected void OnKeyClicked(string myTxt,Keys myKeyData){ KeyboardClickEventArgs kArgs=new KeyboardClickEventArgs(myTxt,myKeyData); //KeyEventArgs kArgs=new KeyEventArgs( KeyboardClickEventArgs(myTxt); if(KeyClick!=null) KeyClick(this,kArgs); }