private static void HookInkImpl(IInkHooks subject, Control control) { HookAdapter adapter = new HookAdapter(subject); control.CreateControl(); StylusReader.HookStylus(adapter, control); }
private static void UnhookInkImpl(Control control) { StylusReader.UnhookStylus(control); }