Merge branch 'patch-1' of https://github.com/evanwon/CefSharp.MinimalExample into evanwon-patch-1

This commit is contained in:
amaitland 2014-08-05 14:50:20 +10:00
commit 6931950c98

View File

@ -5,22 +5,11 @@ using System.Windows;
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()
{
InitializeComponent();
DataContext = this;
}
public event PropertyChangedEventHandler PropertyChanged;
}
}