private PlotWidget_KeyPressEvent ( object o, KeyPressEventArgs args ) : void | ||
o | object | |
args | KeyPressEventArgs | |
Résultat | void |
void PlotWidget_KeyPressEvent(object o, KeyPressEventArgs args)
{
Modifier key = Key(args.Event.Key);
key |= ControlKeys(args.Event.State);
this.InteractivePlotSurface2D.DoKeyPress(key, this.InteractivePlotSurface2D);
args.RetVal = true; // Prevents further key processing
}