コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
ファイル: DesignerForm.cs プロジェクト: outrera/game-creator
        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);
        }
コード例 #4
0
 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);
 }
コード例 #5
0
 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);
 }
コード例 #6
0
 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);
 }