// BACKGROUNDS private void btn_Backgrounds_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; Backgrounds.Convert_Backgrounds_From_Path(System.Reflection.Assembly.GetEntryAssembly().Location.Remove(loc_a) + "backgrounds\\"); } }