Merge pull request #4 from evanwon/patch-1

Removed redundant/unused IWebBrowser from MainWindow.xaml.cs
This commit is contained in:
Alex Maitland 2014-08-05 14:56:51 +10:00
commit 70487f29fe

View File

@ -5,22 +5,11 @@ using System.Windows;
namespace CefSharp.MinimalExample.Wpf namespace CefSharp.MinimalExample.Wpf
{ {
public partial class MainWindow : Window, INotifyPropertyChanged public partial class MainWindow : Window
{ {
private IWpfWebBrowser webBrowser;
public IWpfWebBrowser WebBrowser
{
get { return webBrowser; }
set { PropertyChanged.ChangeAndNotify(ref webBrowser, value, () => WebBrowser); }
}
public MainWindow() public MainWindow()
{ {
InitializeComponent(); InitializeComponent();
DataContext = this;
} }
public event PropertyChangedEventHandler PropertyChanged;
} }
} }