예제 #1
0
        public void UpdateProperties()
        {
            NotifyPropertyChanged("Type");
            NotifyPropertyChanged("ActionTrackType");
            NotifyPropertyChanged("IsTrack");
            NotifyPropertyChanged("IsAction");
            NotifyPropertyChanged("DisplayName");
            NotifyPropertyChanged("UndoableTargetId");

            WaveformWrapper?.UpdateProperties();
        }
예제 #2
0
        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();
            }
        }