Overview
Creating a Startwindow
This commit is contained in:
19
Apollon.WPF/ViewModels/ViewModelBase.cs
Normal file
19
Apollon.WPF/ViewModels/ViewModelBase.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Apollon.WPF.ViewModels
|
||||
{
|
||||
public class ViewModelBase : INotifyPropertyChanged
|
||||
{
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected virtual void OnPrpertyChanged(string properyName = null)
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(properyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user