Пример #1
0
 public NormalChunkController(NSFController nsfcontroller,NormalChunk normalchunk)
     : base(nsfcontroller,normalchunk)
 {
     this.normalchunk = normalchunk;
     Node.Text = "Normal Chunk";
     Node.ImageKey = "normalchunk";
     Node.SelectedImageKey = "normalchunk";
 }
Пример #2
0
 private void Menu_Add_NormalChunk()
 {
     NormalChunk chunk = new NormalChunk();
     nsf.Chunks.Add(chunk);
     NormalChunkController controller = new NormalChunkController(this,chunk);
     AddNode(controller);
 }