Καλώς ορίσατε στο dotNETZone.gr - Σύνδεση | Εγγραφή | Βοήθεια

C# and .NET Tips and Tricks

Quests in programming in .NET

Αύγουστος 2009 - Δημοσιεύσεις

NHibernate, PropertyChanged event and WPF
A typical implementation of an entity that supports the INotifyPropertyChanged interface for WPF Binding is for example as follows: public class Detail:INotifyPropertyChanged { private long _iD; public virtual long ID { get { return _iD; } set { _iD = value ; if (PropertyChanged != null ) PropertyChanged( this , new PropertyChangedEventArgs("ID"));} } private string _line1; public virtual string Line1 { get { return _line1; } set { _line1 = value ; if (PropertyChanged != null ) PropertyChanged( this

Διαβάστε περισσότερα »

Posted: Παρασκευή, 28 Αυγούστου 2009 4:30 μμ από iwannis | 0 σχόλια
Δημοσίευση στην κατηγορία: ,