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(); }
public SimpleStylusPlugin(TabletSupport parent) { mParent = parent; }