Esempio n. 1
0
 /// <summary>
 /// 好友信息框中点击 聊天
 /// </summary>
 /// <param name="user"></param>
 void _friendInfo_StartChat(WXUser user)
 {
     _chat2friend.Visible = true;
     _chat2friend.BringToFront();
     _chat2friend.MeUser     = _me;
     _chat2friend.FriendUser = user;
 }
Esempio n. 2
0
 /// <summary>
 /// 好友信息框中点击 聊天
 /// </summary>
 /// <param name="user"></param>
 void _friendInfo_StartChat(BaseContact user)
 {
     _chat2friend.Visible = true;
     _chat2friend.BringToFront();
     _chat2friend.MeUser     = RobotManager.Instance.Default.getMyAccount();
     _chat2friend.FriendUser = user;
 }
Esempio n. 3
0
 /// <summary>
 /// 好友信息框中点击 聊天
 /// </summary>
 /// <param name="user"></param>
 void _friendInfo_StartChat(WXUser user)
 {
     if (_chat2friend != null)
     {
         _chat2friend.Visible = true;
         _chat2friend.BringToFront();
         _chat2friend.MeUser     = _me;
         _chat2friend.FriendUser = user;
         chart_main.Controls.Add(_chat2friend);
         _chat2friend.Show();
     }
 }