public void UpdateProperties() { NotifyPropertyChanged("Type"); NotifyPropertyChanged("ActionTrackType"); NotifyPropertyChanged("IsTrack"); NotifyPropertyChanged("IsAction"); NotifyPropertyChanged("DisplayName"); NotifyPropertyChanged("UndoableTargetId"); WaveformWrapper?.UpdateProperties(); }
private void Apply() { try { WaveformWrapper.UndoableEditLoop(LoopEnabled, (int)LoopStartMs, (int)LoopEndMs); } #if !DEBUG catch (Exception ex) { MessageBox.Show($"An error occured while processing the ApplyCommand command.\n\nDetails:{ex.Message}", $"ApplyCommand failed", MessageBoxButton.OK, MessageBoxImage.Error); } #endif finally { Close(); } }