1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| public class Notifications : INotifyPropertyChanged
{
private ImageButton it_btLum1;
//Test définir ici tous les boutons utilisé par l'application
public ImageButton it_Lum1
{
get { return it_btLum1; }
set
{
it_btLum1 = value;
SendPropertyChanged("it_Lum1");
}
}
private void SendPropertyChanged(string property)
{
if (this.PropertyChanged != null)
this.PropertyChanged(this, new PropertyChangedEventArgs(property));
}
public event PropertyChangedEventHandler PropertyChanged;
} |
Partager