25 lines
526 B
C#
25 lines
526 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace TibisMathematicsSuite.KeyboardIO
|
|
{
|
|
public class MyKeyEventArgs : EventArgs
|
|
{
|
|
public MyKey Key { get; set; }
|
|
|
|
public MyKeyEventArgs() : base() { }
|
|
|
|
public MyKeyEventArgs(MyKey key)
|
|
{
|
|
Key = key;
|
|
}
|
|
|
|
public MyKeyEventArgs(System.Windows.Forms.Keys k, MyKey.Modifiers mods = MyKey.Modifiers.None)
|
|
{
|
|
Key = new MyKey(k, mods);
|
|
}
|
|
}
|
|
}
|