Esempio n. 1
0
 internal bool AddIconset(Iconset iconset)
 {
     iconset.CreateTime = DateTime.Now;
     m_iconSets.Add(iconset);
     SaveIconset(iconset);
     return true;
 }
Esempio n. 2
0
 private void AddIconCore(IconBase icon, Iconset iconSet)
 {
     DateTime now = DateTime.Now;
     icon.CreateTime = now;
     iconSet.ModifiedTime = now;
     iconSet.AddIcon(icon);
     SaveIconset(iconSet);
 }
Esempio n. 3
0
 private void SaveIconset(Iconset set)
 {
     var fileName = Path.Combine(m_appData, set.Name + FILEEXTEND);
     File.WriteAllText(fileName, JsonConvert.SerializeObject(set));
 }