public void addCustomData( ) { DM.Dialogs.CustomDataDialogue cdd = new DM.Dialogs.CustomDataDialogue(); if (cdd.ShowDialog( ) == true) { ACustomDataValue value = cdd.Value; Event.addCustomDataValue(value); //SaveToDB ( ); RaisePropertyChanged("CustomData"); } }
public void editCustomData(object obj) { if (obj is ACustomDataValue value) { DM.Dialogs.CustomDataDialogue cdd = new DM.Dialogs.CustomDataDialogue(value); if (cdd.ShowDialog( ) == true) { //!*! GetFileDetails( ).IO.Update <ACustomDataValue>(value); //SaveToDB ( ); RaisePropertyChanged("CustomData"); } } }