basic ui created

This commit is contained in:
2021-02-04 23:40:08 +01:00
parent bf57e3a983
commit 47310b17dc
4 changed files with 225 additions and 17 deletions

View File

@@ -1,13 +1,44 @@
using System;
using System.ComponentModel;
namespace Massmailer.Shared.Model
{
public class MassmailerRecipient
public class MassmailerRecipient : INotifyPropertyChanged
{
public string Address { get; set; }
private string address;
private bool isSent;
private DateTime sentDate;
public bool IsSent { get; set; }
public string Address
{
get { return this.address; }
set
{
this.address = value;
this.PropertyChanged(this, new PropertyChangedEventArgs(nameof(this.Address)));
}
}
public DateTime SentDate { get; set; }
public bool IsSent
{
get { return this.isSent; }
set
{
this.isSent = value;
this.PropertyChanged(this, new PropertyChangedEventArgs(nameof(this.IsSent)));
}
}
public DateTime SentDate
{
get { return this.sentDate; }
set
{
this.sentDate = value;
this.PropertyChanged(this, new PropertyChangedEventArgs(nameof(this.SentDate)));
}
}
public event PropertyChangedEventHandler PropertyChanged;
}
}