// ROOMS private void btn_Rooms_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; Rooms.Convert_Rooms_From_Path(System.Reflection.Assembly.GetEntryAssembly().Location.Remove(loc_a) + "rooms\\"); } }