Files
MainSoftware/GuiWPF/ViewModelBase.cs
HuskyTeufel af01e537cf committed
2021-05-05 13:06:56 +02:00

38 lines
802 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace GuiWPF
{
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();
}
}
}
}
}