예제 #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);
            }
        }