Example #1
0
 public bool ExDeleteSoundAllNum()
 {
     try
     {
         for (int i = 0; i < count; i++)
         {
             sound.DeleteSound(i.ToString());
         }
         count = 1;
     }
     catch (Exception e)
     {
         MessageBox.Show(e.Message);
         return(false);
     }
     return(true);
 }
Example #2
0
 /// <summary>
 /// リソース開放
 /// </summary>
 protected override void DisposeResource()
 {
     sound.DeleteSound(name);
     base.DisposeResource();
 }