// IMAGES private void btn_Images_MouseClick(object sender, MouseEventArgs 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; Sprites.Create_Sprites(System.Reflection.Assembly.GetEntryAssembly().Location.Remove(loc_a) + @"sprites\"); } }