public virtual void KeyDownEvent(object sender, EvasKeyEventArgs e)
 {
     Log.Info("ZK_TEST", "Tag:" + this.GetTag() + " " + e.KeyName);
     if (e.KeyName == "Return")
     {
         PressEventHandler?.Invoke(this, e);
     }
 }
示例#2
0
 public Button(string image, Rectangle rge, PressEventHandler handler)
 {
     _image     = ResourceManager.LoadImage(image);
     range      = rge;
     PressEvent = handler;
 }