public ResetCommand(WeightViewModel weightViewModel) { this.weightViewModel = weightViewModel; }
public MainWindow() { InitializeComponent(); // Koppel View aan het model (kan ook in xaml resource) DataContext = new WeightViewModel(); }