mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
23 lines
571 B
C#
23 lines
571 B
C#
using System.Reactive.Disposables;
|
|
using Avalonia;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Markup.Xaml;
|
|
using ReactiveUI;
|
|
using Wabbajack.App.Views;
|
|
|
|
namespace Wabbajack.App.Screens
|
|
{
|
|
public partial class LauncherScreen : ScreenBase<LauncherViewModel>
|
|
{
|
|
public LauncherScreen()
|
|
{
|
|
InitializeComponent();
|
|
this.WhenActivated(disposables =>
|
|
{
|
|
this.OneWayBind(ViewModel, vm => vm.Image, view => view.SlideImage.Source)
|
|
.DisposeWith(disposables);
|
|
});
|
|
}
|
|
|
|
}
|
|
} |