public void OnUnReadPropertyChanged(TOBEntityBase obj) { if (UnReadPropertyChanged != null) { UnReadPropertyChanged(obj); } }
public TweetActionArgs(TOBEntityBase _status, TOBEntityEnum TweetType) { statuslist = _status; this.TweetType = TweetType; }
public void ShowUserProfile(TOBEntityBase tobEntityBase) { try { if (tobEntityBase is Status) { Status status = tobEntityBase as Status; SetUserProfile(status.UserProfile); } else if (tobEntityBase is DirectMessage) { DirectMessage directMessage = tobEntityBase as DirectMessage; SetUserProfile(directMessage.UserProfile); } } catch (Exception ex) { MessageBox.Show(ex.Message); } }