public void AddNew() { List <UserdataEntry> entrylist = new List <UserdataEntry>(entries); entrylist.Add(UserdataEntry.Init()); entries = entrylist.ToArray(); numOfEntries = entries.Length; }
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; }