public static bool SetGestureConfig( IntPtr hwnd ) { if ( _pSetGestureConfig == null ) return false; var configs = new[] { new GestureConfig( 0, GestureConfigurationFlag.GC_ALLGESTURES, 0 ) }; return SetGestureConfig(hwnd, configs); }
private void Initialize(Control parent) { AssignHandle(parent.Handle); NativeMethods.SetGestureConfig(parent.Handle, m_configs); }