示例#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);
        }
 public static UserdataEntry Init()
 {
     UserdataEntry ude = new UserdataEntry();
     ude.Name = "New Blog";
     ude.Username = "******";
     ude.Password = "";
     ude.URL = "http://yourblog.com/";
     return ude;
 }