Esempio n. 1
0
 public void stopWintabInput(bool leaveActive = false)
 {
     tl.CloseCurrentContext();
     tl = null;
     if (!leaveActive)
     {
         tabletActive = false;
     }
 }
Esempio n. 2
0
        public bool startWintabInput()
        {
            if (!WintabDN.CWintabInfo.IsWintabAvailable())
            {
                return(false);
            }
            if (tl == null)
            {
                tl = new TabletLaunch(this);
            }
            //textBox1.Text = "";
            Screen screen = Screen.FromControl(this);

            tl.InitDataCapture(screen, 10000, 10000, true);
            this.Cursor  = Cursors.Cross;
            tabletActive = true;

            return(true);
        }