You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
616 B
28 lines
616 B
// DataBinding Baby !!
|
|
|
|
// Applcation se basant sur le site wtatennis.com
|
|
|
|
// class : Player, Place (Birth Places), Manager, IPersistanceManager
|
|
// enum : Hand (lfet-handed or right-handed)
|
|
|
|
// Player.cs
|
|
|
|
public string FirstName
|
|
{
|
|
get => firstName;
|
|
set
|
|
{
|
|
if(value == firstName) return;
|
|
firstName = value;
|
|
OnPropertyChanged();
|
|
}
|
|
}
|
|
|
|
private string firstName;
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
public void OnPropertyChanged([CallerMemberName] string propertyName = null)
|
|
{
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
} |