コード例 #1
0
 // SOUNDS
 private void btn_Sounds_Click(object sender, EventArgs e)
 {
     if (running == false)
     {
         running = true;
         var loc_a = System.Reflection.Assembly.GetEntryAssembly().Location.LastIndexOf("\\") + "\\".Length;
         var loc_b = System.Reflection.Assembly.GetEntryAssembly().Location.Length - loc_a;
         Sounds.Convert_Sounds_From_Path(System.Reflection.Assembly.GetEntryAssembly().Location.Remove(loc_a) + "sounds\\");
     }
 }