public void Reset(int excludeIndex) { soundsBranch.Reset(); wordsBranch.Reset(); synthesisBranch.Reset(); analysisBranch.Reset(); switch (excludeIndex) { case 0: soundsBranch.Show(); break; case 1: wordsBranch.Show(); break; case 2: synthesisBranch.Show(); break; case 3: analysisBranch.Show(); break; } }