public NormalChunkController(NSFController nsfcontroller,NormalChunk normalchunk) : base(nsfcontroller,normalchunk) { this.normalchunk = normalchunk; Node.Text = "Normal Chunk"; Node.ImageKey = "normalchunk"; Node.SelectedImageKey = "normalchunk"; }
private void Menu_Add_NormalChunk() { NormalChunk chunk = new NormalChunk(); nsf.Chunks.Add(chunk); NormalChunkController controller = new NormalChunkController(this,chunk); AddNode(controller); }