internal void RaiseOnKeyPressEvent(object sender, MaskEdBoxEvents_KeyPressEvent e) { if ((this.KeyPressEvent != null)) { this.KeyPressEvent(sender, e); } }
public virtual void KeyPress(ref short keyAscii) { MaskEdBoxEvents_KeyPressEvent keypressEvent = new MaskEdBoxEvents_KeyPressEvent(keyAscii); this.parent.RaiseOnKeyPressEvent(this.parent, keypressEvent); keyAscii = keypressEvent.keyAscii; }