private void Remove_Execute(CwavKind obj) { Import_PostExecute(new ImportResults() { CWAV = CwavFile.Empty(), Target = obj, Loaded = true }); }
public CwavBlock() { Sounds = new SoundDictionary { { CwavKind.Cursor, CwavFile.Empty() }, { CwavKind.Launch, CwavFile.Empty() }, { CwavKind.Folder, CwavFile.Empty() }, { CwavKind.Close, CwavFile.Empty() }, { CwavKind.Frame0, CwavFile.Empty() }, { CwavKind.Frame1, CwavFile.Empty() }, { CwavKind.Frame2, CwavFile.Empty() }, { CwavKind.OpenLid, CwavFile.Empty() }, }; Scanned = new List <CwavFile>(7); foreach (var pair in Sounds) { pair.Value.PropertyChanged += SoundEffectOnPropertyChanged; } }