mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
31 lines
735 B
C#
31 lines
735 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using ReactiveUI;
|
|
using ReactiveUI.Fody.Helpers;
|
|
using Wabbajack.Lib;
|
|
using Xilium.CefGlue.Common;
|
|
using Xilium.CefGlue.WPF;
|
|
|
|
namespace Wabbajack
|
|
{
|
|
public class WebBrowserVM : ViewModel
|
|
{
|
|
[Reactive]
|
|
public string Instructions { get; set; }
|
|
|
|
public WpfCefBrowser Browser { get; }
|
|
|
|
[Reactive]
|
|
public IReactiveCommand BackCommand { get; set; }
|
|
public WebBrowserVM(string url = "http://www.wabbajack.org")
|
|
{
|
|
Browser = new WpfCefBrowser();
|
|
Browser.Address = url;
|
|
Instructions = "Wabbajack Web Browser";
|
|
}
|
|
}
|
|
}
|