mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
using ReactiveUI;
|
|
using System;
|
|
using System.Diagnostics;
|
|
using System.Reactive.Disposables;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using Wabbajack.Common;
|
|
|
|
namespace Wabbajack
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for NavigationView.xaml
|
|
/// </summary>
|
|
public partial class NavigationView : ReactiveUserControl<NavigationVM>
|
|
{
|
|
public NavigationView()
|
|
{
|
|
InitializeComponent();
|
|
this.WhenActivated(dispose =>
|
|
{
|
|
this.WhenAny(x => x.ViewModel.BrowseCommand)
|
|
.BindTo(this, x => x.BrowseButton.Command)
|
|
.DisposeWith(dispose);
|
|
|
|
/*
|
|
this.WhenAny(x => x.ViewModel.InstallCommand)
|
|
.BindToStrict(this, x => x.InstallButton.Command)
|
|
.DisposeWith(dispose);
|
|
this.WhenAny(x => x.ViewModel.CompileCommand)
|
|
.BindToStrict(this, x => x.CompileButton.Command)
|
|
.DisposeWith(dispose);
|
|
*/
|
|
});
|
|
}
|
|
}
|
|
}
|