New __ARCHITECTURE NOTES.txt incl. MVVM comments
This commit is contained in:
parent
ff4b2d2ecc
commit
d1779726e6
4 changed files with 17 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ namespace LibationWinForms
|
|||
{
|
||||
public abstract class AsyncNotifyPropertyChanged : SynchronizeInvoker, INotifyPropertyChanged
|
||||
{
|
||||
// see also notes in Libation/Source/__ARCHITECTURE NOTES.txt :: MVVM
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
// per standard INotifyPropertyChanged pattern:
|
||||
|
|
|
|||
|
|
@ -231,6 +231,7 @@ namespace LibationWinForms
|
|||
{
|
||||
var entry = new GridEntry(libraryBook);
|
||||
entry.Committed += reapplyFilter;
|
||||
// see also notes in Libation/Source/__ARCHITECTURE NOTES.txt :: MVVM
|
||||
entry.LibraryBookUpdated += (sender, _) => _dataGridView.InvalidateRow(_dataGridView.GetRowIdOfBoundItem((GridEntry)sender));
|
||||
return entry;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue