Ejemplo n.º 1
0
 internal void RaiseOnKeyPressEvent(object sender, _WMPOCXEvents_KeyPressEvent e)
 {
     if ((this.KeyPressEvent != null)) {
         this.KeyPressEvent(sender, e);
     }
 }
Ejemplo n.º 2
0
 public virtual void KeyPress(short nKeyAscii)
 {
     _WMPOCXEvents_KeyPressEvent keypressEvent = new _WMPOCXEvents_KeyPressEvent(nKeyAscii);
     this.parent.RaiseOnKeyPressEvent(this.parent, keypressEvent);
 }