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;
|
2019-11-29 22:09:22 +00:00
|
|
|
|
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
|
|
|
|
{
|
2019-11-29 22:09:22 +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),
|
2019-11-29 22:09:22 +00:00
|
|
|
|
new FrameworkPropertyMetadata(default(double)));
|
|
|
|
|
|
2019-12-08 22:30:49 +00:00
|
|
|
|
public CpuView()
|
2019-11-07 05:33:08 +00:00
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|