示例#1
0
 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;
 }