redesign to material standards and clean up some sylings

This commit is contained in:
Rene Schwarz
2021-04-08 03:31:21 +02:00
parent 73f864ea20
commit ca432897af
78 changed files with 1904 additions and 309 deletions

View File

@@ -1,8 +1,27 @@
using System;
using System.Collections.Generic;
using System.Text;
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 });
}
}
}