HotelSystem icon indicating copy to clipboard operation
HotelSystem copied to clipboard

missing ViewModelBase class

Open mastakillahBlitzar opened this issue 4 years ago • 1 comments

The ViewModelBase class is not present

mastakillahBlitzar avatar Mar 12 '21 00:03 mastakillahBlitzar

@mastakillahBlitzar ViewModelBase is third party GalaSoft.MvvmLight. If you don't wanna install 3party, you can add ViewModelBase class

public class ViewModelBase : INotifyPropertyChanged
{
    public event PropertyChangedEventHandler PropertyChanged;
    public void OnPropertyChanged([CallerMemberName] string propertyName = null)
    {
        if (PropertyChanged != null)
        {
            PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
        }
    }
}

tructran91 avatar Feb 28 '24 09:02 tructran91