private void createProfile(string profileName) { ClockSettings clock = new ClockSettings(); clock.ProfileName = profileName; clock.writeProfile(@settings.ProfilePath, clock); this.PaintListView(@settings.ProfilePath); loadProfile(clock.ProfileName + ".json"); }