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; }