Files
MainSoftware/GuiWPF_ViewModel/ViewModelBase.cs
2021-02-27 13:19:42 +01:00

38 lines
812 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace GuiWPF_ViewModel
{
public class ViewModelBase : NotificationObject
{
private bool valIsBusy;
private string valBusyMessage;
public bool IsBusy
{
get => valIsBusy;
set
{
if(valIsBusy != value)
{
valIsBusy = value;
OnPropertyChanged();
}
}
}
public string BusyMessage
{
get => valBusyMessage;
set
{
if(valBusyMessage != value)
{
valBusyMessage = value;
OnPropertyChanged();
}
}
}
}
}