ファイル
YMM4-ProxyForge/ProxyForge/Views/ProxyForgeSettingsView.xaml.cs
T
routersys 5ef1222518 ZeroDiskProxyからProxyForgeへのプロジェクト全体のリブランディング
プロジェクト名をZeroDiskProxyからProxyForgeへ全面的にリブランディングしました。
2026-03-25 19:58:39 +09:00

18 行
590 B
C#

using ProxyForge.Plugin;
using ProxyForge.Services;
using ProxyForge.ViewModels;
using System.Reflection;
using System.Windows.Controls;
namespace ProxyForge.Views;
public partial class ProxyForgeSettingsView : UserControl
{
public ProxyForgeSettingsView()
{
InitializeComponent();
var host = PluginHost.Instance;
DataContext = new SettingsViewModel(host?.CacheManager, host?.Budget, host?.VideoCache, new WpfDialogService());
VersionText.Text = string.Concat("v", Assembly.GetExecutingAssembly().GetName().Version?.ToString(3) ?? "0.0.0");
}
}