示例#1
0
        /////////////////////////////////////////////////////////////////////

        public Hid()
        {
            try
            {
                object o = new WisptisMgrDrt();
                _wisptis = (ITabletManagerDrt)o;
            }
            catch (Exception e)
            {
                Console.WriteLine("Could not connect to DRT version of wisptis. Check that wisptis_.exe is present and running (note the '_').");
                Console.WriteLine(e.ToString());
                throw e;
            }
            _wisptis.EnsureTablet("HidDrt");
        }
示例#2
0
        /////////////////////////////////////////////////////////////////////

        public PenDrtManager()
        {
            object wisptisDrtMgrObj = new WisptisMgrDrt();

            m_wisptisDrtMgr = (ITabletManagerDrt)wisptisDrtMgrObj;
        }