public GfxTabletButtonPacket(InkButtonEventArgs args) : base(args) { this.type = EventType.Button; this.button = args.Button; this.status = args.ButtonStatus; }
private void OnInkButton(DrawCanvas sender, InkButtonEventArgs e) { networkController.SendInkButton(e); }
public void SendInkButton(InkButtonEventArgs args) { Debug.WriteLine("Sending button {0} {1}", args.Button, args.ButtonStatus); GfxTabletButtonPacket packet = new GfxTabletButtonPacket(args); SendPacket(packet); }