27 lines
659 B
C#
27 lines
659 B
C#
using CefSharp.MinimalExample.Wpf.Mvvm;
|
|
using CefSharp.Wpf;
|
|
using System.ComponentModel;
|
|
using System.Windows;
|
|
|
|
namespace CefSharp.MinimalExample.Wpf
|
|
{
|
|
public partial class MainWindow : Window, INotifyPropertyChanged
|
|
{
|
|
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;
|
|
}
|
|
}
|