Пример #1
0
        public void AddNew()
        {
            List <UserdataEntry> entrylist = new List <UserdataEntry>(entries);

            entrylist.Add(UserdataEntry.Init());
            entries      = entrylist.ToArray();
            numOfEntries = entries.Length;
        }
Пример #2
0
        public static UserdataEntry Init()
        {
            UserdataEntry ude = new UserdataEntry();

            ude.Name     = "New Blog";
            ude.Username = "******";
            ude.Password = "";
            ude.URL      = "http://yourblog.com/";
            return(ude);
        }
Пример #3
0
 public static UserdataEntry Init()
 {
     UserdataEntry ude = new UserdataEntry();
     ude.Name = "New Blog";
     ude.Username = "******";
     ude.Password = "";
     ude.URL = "http://yourblog.com/";
     return ude;
 }