Пример #1
0
 public void OnUnReadPropertyChanged(TOBEntityBase obj)
 {
     if (UnReadPropertyChanged != null)
     {
         UnReadPropertyChanged(obj);
     }
 }
Пример #2
0
 public TweetActionArgs(TOBEntityBase _status, TOBEntityEnum TweetType)
 {
     statuslist = _status;
     this.TweetType = TweetType;
 }
Пример #3
0
        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);
            }
        }