9bab8ee8f9
Introduced new services and view models for performance monitoring and system tweaks, including corresponding views. Added converters and updated main application files to integrate these features. Refactored service configuration and improved application structure to support new functionality.
25 lines
636 B
C#
25 lines
636 B
C#
using System.Windows.Controls;
|
|
using ThreadPilot.ViewModels;
|
|
|
|
namespace ThreadPilot.Views
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for SystemTweaksView.xaml
|
|
/// </summary>
|
|
public partial class SystemTweaksView : System.Windows.Controls.UserControl
|
|
{
|
|
public SystemTweaksView()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private async void UserControl_Loaded(object sender, System.Windows.RoutedEventArgs e)
|
|
{
|
|
if (DataContext is SystemTweaksViewModel viewModel)
|
|
{
|
|
await viewModel.LoadCommand.ExecuteAsync(null);
|
|
}
|
|
}
|
|
}
|
|
}
|