diff --git a/CefSharp.MinimalExample.WinForms/Program.cs b/CefSharp.MinimalExample.WinForms/Program.cs index 0e33b59..e929ba2 100644 --- a/CefSharp.MinimalExample.WinForms/Program.cs +++ b/CefSharp.MinimalExample.WinForms/Program.cs @@ -2,6 +2,7 @@ // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. +using CefSharp.WinForms; using System; using System.IO; using System.Windows.Forms; diff --git a/CefSharp.MinimalExample.Wpf/App.xaml.cs b/CefSharp.MinimalExample.Wpf/App.xaml.cs index 8e16e17..71d9d51 100644 --- a/CefSharp.MinimalExample.Wpf/App.xaml.cs +++ b/CefSharp.MinimalExample.Wpf/App.xaml.cs @@ -1,4 +1,5 @@ -using System; +using CefSharp.Wpf; +using System; using System.IO; using System.Windows; @@ -13,8 +14,6 @@ namespace CefSharp.MinimalExample.Wpf //By default CefSharp will use an in-memory cache, you need to specify a Cache Folder to persist data CachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache") }; - - settings.DisableTouchpadAndWheelScrollLatching(); //Example of setting a command line argument //Enables WebRTC