/// <summary> /// /// </summary> public void CreateDefaultProfile() { Profile defaultProfile = new Profile(); defaultProfile.Name = "Default"; defaultProfile.Construct(); Profiles.Add(defaultProfile); }
void CreateNewProfile() { StreamDeck.Profile profile = new StreamDeck.Profile(); profile.Construct(); iModel.Profiles.Add(profile); profile.Name = "Profile " + iModel.Profiles.Count.ToString(); PopulateProfiles(); iComboBoxProfiles.SelectedItem = profile.Name; }