public static void SetActiveProfile(Profile profile) { if (ActiveProfile != null) { ActiveProfile.DeActivate(); } profile.Activate(); ActiveProfile = profile; }
public static void SetActiveProfile(Profile profile) { if (ActiveProfile != null) { ActiveProfile.DeActivate(); } profile.Activate(); ActiveProfile = profile; }