XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
UTF-8
using SpaceEngineersBlueprintEditor.Installer.ViewModel.Pages;
using System.Windows;
using System.Windows.Controls;

namespace SpaceEngineersBlueprintEditor.Installer.Views.Pages;

/// <summary>
/// DownloadProgressPage.xaml 的交互逻辑
/// </summary>
public partial class DownloadProgressPage : Page
{
    public static DownloadProgressPage? Current { get; set; }
    public DownloadProgressPageViewModel ViewModel { get; set; }
    public DownloadProgressPage()
    {
        DataContext = ViewModel = new(Current = this);
        InitializeComponent();
    }

    private async void Page_Loaded(object sender, RoutedEventArgs e) => await ViewModel.RetryCommand.ExecuteAsync(null);
}