radial progressbar

This commit is contained in:
Rene Schwarz
2021-04-14 00:53:57 +02:00
parent cf7b9abcf0
commit e220c09ec3
61 changed files with 2449 additions and 262 deletions

View File

@@ -0,0 +1,27 @@
using System.Diagnostics;
using System.Windows.Input;
namespace Server_Dashboard {
class DashboardViewModel : BaseViewModel {
private string userName = "Username";
public string UserName {
get { return userName; }
set {
if(userName != value)
userName = value;
OnPropertyChanged(nameof(userName));
}
}
public DashboardViewModel() {
OpenLinkCommand = new RelayCommand(OpenLink);
}
public ICommand OpenLinkCommand { get; set; }
private void OpenLink(object param) {
Process.Start(new ProcessStartInfo((string)param) { UseShellExecute = true });
}
}
}