Beispiel #1
0
 public override void Init(Dao.SuperDao dao)
 {
     if (dao != null)
     {
         base.Init(dao);
         chattingwith = dao as Contact;
         lvChatting.SetContact(chattingwith);
         this.lbChattingFriend.Text = chattingwith.Name;
         this.lbChattingFriend.Tag = chattingwith.Account;
     }
     lvChatting.Clear();
 }
 public void SetContact(Contact contact)
 {
     _contact = contact;
 }