wabbajack/Wabbajack/Views/Common/CpuView.xaml.cs

37 lines
1.0 KiB
C#
Raw Normal View History

2019-12-08 22:30:49 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
2019-12-08 22:30:49 +00:00
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
2019-11-07 05:33:08 +00:00
namespace Wabbajack
{
/// <summary>
2019-12-08 22:30:49 +00:00
/// Interaction logic for CpuView.xaml
2019-11-07 05:33:08 +00:00
/// </summary>
2019-12-08 22:30:49 +00:00
public partial class CpuView : UserControl
2019-11-07 05:33:08 +00:00
{
public double ProgressPercent
{
get => (double)GetValue(ProgressPercentProperty);
set => SetValue(ProgressPercentProperty, value);
}
2019-12-08 22:30:49 +00:00
public static readonly DependencyProperty ProgressPercentProperty = DependencyProperty.Register(nameof(ProgressPercent), typeof(double), typeof(CpuView),
new FrameworkPropertyMetadata(default(double)));
2019-12-08 22:30:49 +00:00
public CpuView()
2019-11-07 05:33:08 +00:00
{
InitializeComponent();
}
}
}