示例#1
0
        /// <summary>
        ///
        /// </summary>
        public void CreateDefaultProfile()
        {
            Profile defaultProfile = new Profile();

            defaultProfile.Name = "Default";
            defaultProfile.Construct();
            Profiles.Add(defaultProfile);
        }
示例#2
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;
 }