Merge pull request #4 from evanwon/patch-1
Removed redundant/unused IWebBrowser from MainWindow.xaml.cs
This commit is contained in:
commit
70487f29fe
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user