Tinkr2/4.2/AphelionCore/AphelionCore/Controls/Control.cs
/// <summary>
/// Directly inform control of keyboard alt key events
/// </summary>
/// <param name="key">Integer value of the Alt key affected</param>
/// <param name="pressed">True if the key is currently being pressed; false if released</param>
Directly inform control of keyboard alt key events
Directly inform control of keyboard alt key events
public void SendKeyboardAltKeyEvent(int key, bool pressed)
      {
         bool handled = false;
         KeyboardAltKeyMessage(key, pressed, ref handled);
         if (!handled)
         {
            OnKeyboardAltKey(this, key, pressed);
         }
      }
public void SendKeyboardAltKeyEvent ( int key , bool pressed ) { bool handled = false ; KeyboardAltKeyMessage ( key , pressed , ref handled ) ; if ( ! handled ) { OnKeyboardAltKey ( this , key , pressed ) ; } }
Directly inform control of keyboard alt key events
Directly inform control of keyboard alt key events
key
int
Integer value of the Alt key affected
Integer value of the Alt key affected
pressed
bool
True if the key is currently being pressed; false if released
True if the key is currently being pressed ; false if released