示例#1
0
 public void RemovePost(object sender, NewsItem item)
 {
     News.Feed.Remove(item);
 }
示例#2
0
 public void AddNewPost(object sender, NewsItem item)
 {
     News.Feed.Add(item);
 }
示例#3
0
 public void RemovePost(NewsItem Post)
 {
     News.UserPosts.Remove(Post);
     News.InvokeRemove(this, Post);
 }
示例#4
0
 public void AddPost(NewsItem Post)
 {
     News.UserPosts.Add(Post);
     News.InvokeAdd(this, Post);
 }
示例#5
0
 public void InvokeRemove(User sender, NewsItem item)
 {
     RemoveNewsItem(sender, item);
 }
示例#6
0
 public void InvokeAdd(User sender, NewsItem item)
 {
     AddNewItem(sender, item);
 }