public static void LoadTempProfile(int device, string name, bool launchprogram, ControlService control) { Config.LoadProfile(device, launchprogram, control, appdatapath + @"\Profiles\" + name + ".xml"); tempprofilename[device] = name; }
public static void LoadProfile(int device, bool launchprogram, ControlService control) { Config.LoadProfile(device, launchprogram, control); tempprofilename[device] = string.Empty; }