public SpeechChunkController(NSFController nsfcontroller,SpeechChunk speechchunk) : base(nsfcontroller,speechchunk) { this.speechchunk = speechchunk; Node.Text = "Speech Chunk"; Node.ImageKey = "speechchunk"; Node.SelectedImageKey = "speechchunk"; }
private void Menu_Add_SpeechChunk() { SpeechChunk chunk = new SpeechChunk(); nsf.Chunks.Add(chunk); SpeechChunkController controller = new SpeechChunkController(this,chunk); AddNode(controller); }