Files
GotecHaftmittel/.svn/pristine/7b/7bbaa99616cded0aa13352967b1ff8c0791f0381.svn-base
2025-10-31 12:50:24 +01:00

61 lines
1.4 KiB
Plaintext

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Windows;
namespace Haftmittel
{
public class Obrazek : INotifyPropertyChanged
{
private bool _jest = false;
private List<Historia> _hist;
private string opis = string.Empty;
public bool Widoczny
{
get { return _jest; }
set
{
_jest = value;
OnPropertyChanged("Widoczny");
}
}
public string Opis
{
get { return opis; }
set
{
opis = value;
OnPropertyChanged("Opis");
}
}
public List<Historia> HistoriaObrazka
{
get { return _hist;}
set
{
_hist = value;
OnPropertyChanged("HistoriaObrazka");
}
}
#region Obsługa INotifyPropertyChanged
public event PropertyChangedEventHandler PropertyChanged;
protected void OnPropertyChanged(string name)
{
PropertyChangedEventHandler handler = PropertyChanged;
if (handler != null)
{
handler(this, new PropertyChangedEventArgs(name));
}
}
#endregion
}
}