Пример #1
0
        static public void InitUIManager(Control window, Control subControl)
        {
            mWindow            = window;
            window.MouseWheel += new MouseEventHandler(mSubControl_MouseWheel);

            //mSubControl = subControl;
            //mSubControl.MouseMove += new MouseEventHandler(mWindow_MouseMove);
            //mSubControl.MouseDown += new MouseEventHandler(mSubControl_MouseDown);
            //mSubControl.MouseUp += new MouseEventHandler(mSubControl_MouseUp);
            //mSubControl.MouseWheel += new MouseEventHandler(mSubControl_MouseWheel);

            RedirectSubControlUI(subControl);

            mTablet = new TabletSupport(mSubControl);
            mTablet.Start();
        }
Пример #2
0
 public SimpleStylusPlugin(TabletSupport parent)
 {
     mParent = parent;
 }