コード例 #1
0
        public void updateProfileSM(ProfileSM _profileSM)
        {
            int newIndex = ProfileSM.IndexOf(selectedProfileSM);

            ProfileSM.Remove(selectedProfileSM);

            ProfileSM.Insert(newIndex, _profileSM);
        }
コード例 #2
0
 public void removeProfileSM()
 {
     ProfileSM.Remove(selectedProfileSM);
     if (ProfileSM.Count == 0)
     {
         EmptyList = true;
     }
 }