public void Duplicate() { SoundResourceView res = new SoundResourceView(Program.SoundIncremental); Program.Sounds.Add(Program.SoundIncremental, res); Program.IDE.AddResource(Node.Parent, res, "sound" + Program.SoundIncremental++.ToString(), Node.Index + 1, true, false, true); }
public void Insert() { SoundResourceView res = new SoundResourceView(Program.SoundIncremental); Program.Sounds.Add(Program.SoundIncremental, res); Program.IDE.AddResource(Node, res, "sound" + Program.SoundIncremental++.ToString(), -1, true, false, true); }
private void CreateSound() { SoundResourceView res = new SoundResourceView(Program.SoundIncremental); Program.Sounds.Add(Program.SoundIncremental, res); AddResource(Sounds.Node, res, "sound" + Program.SoundIncremental++.ToString(), -1, true, false, true); }