public WavebankChunkController(NSFController nsfcontroller,WavebankChunk wavebankchunk) : base(nsfcontroller,wavebankchunk) { this.wavebankchunk = wavebankchunk; Node.Text = "Wavebank Chunk"; Node.ImageKey = "wavebankchunk"; Node.SelectedImageKey = "wavebankchunk"; }
private void Menu_Add_WavebankChunk() { WavebankChunk chunk = new WavebankChunk(); nsf.Chunks.Add(chunk); WavebankChunkController controller = new WavebankChunkController(this,chunk); AddNode(controller); }