public SoundChunkController(NSFController nsfcontroller,SoundChunk soundchunk) : base(nsfcontroller,soundchunk) { this.soundchunk = soundchunk; Node.Text = "Sound Chunk"; Node.ImageKey = "soundchunk"; Node.SelectedImageKey = "soundchunk"; }
private void Menu_Add_SoundChunk() { SoundChunk chunk = new SoundChunk(); nsf.Chunks.Add(chunk); SoundChunkController controller = new SoundChunkController(this,chunk); AddNode(controller); }