Ejemplo n.º 1
0
        void recentListBox1_ChatRecordClicked(string unitID, bool isGroup)
        {
            ChatRecordForm form = null;

            if (isGroup)
            {
                GGGroup group = this.globalUserCache.GetGroup(unitID);
                form = new ChatRecordForm(GlobalResourceManager.RemotingService, GlobalResourceManager.ChatMessageRecordPersister, group.GetIDName(), this.globalUserCache.CurrentUser.GetIDName(), this.globalUserCache);
                form.Show();
            }
            else
            {
                GGUser friend = this.globalUserCache.GetUser(unitID);
                form = new ChatRecordForm(GlobalResourceManager.RemotingService, GlobalResourceManager.ChatMessageRecordPersister, this.globalUserCache.CurrentUser.GetIDName(), friend.GetIDName());
            }
            form.Show();
        }
Ejemplo n.º 2
0
        void groupListBox_ChatRecordClicked(IGroup group)
        {
            ChatRecordForm form = new ChatRecordForm(GlobalResourceManager.RemotingService, GlobalResourceManager.ChatMessageRecordPersister, group.GetIDName(), this.globalUserCache.CurrentUser.GetIDName(), this.globalUserCache);

            form.Show();
        }
Ejemplo n.º 3
0
        void friendListBox1_ChatRecordClicked(IUser friend)
        {
            ChatRecordForm form = new ChatRecordForm(GlobalResourceManager.RemotingService, GlobalResourceManager.ChatMessageRecordPersister, this.globalUserCache.CurrentUser.GetIDName(), friend.GetIDName());

            form.Show();
        }
Ejemplo n.º 4
0
 void recentListBox1_ChatRecordClicked(string unitID ,bool isGroup)
 {
     ChatRecordForm form = null;
     if (isGroup)
     {
         GGGroup group = this.globalUserCache.GetGroup(unitID);
         form = new ChatRecordForm(GlobalResourceManager.RemotingService, GlobalResourceManager.ChatMessageRecordPersister, group.GetIDName(), this.globalUserCache.CurrentUser.GetIDName(), this.globalUserCache);
         form.Show();
     }
     else
     {
         GGUser friend = this.globalUserCache.GetUser(unitID);
         form = new ChatRecordForm(GlobalResourceManager.RemotingService, GlobalResourceManager.ChatMessageRecordPersister, this.globalUserCache.CurrentUser.GetIDName(), friend.GetIDName());
     }
     form.Show();
 }
Ejemplo n.º 5
0
 void groupListBox_ChatRecordClicked(IGroup group)
 {
     ChatRecordForm form = new ChatRecordForm(GlobalResourceManager.RemotingService, GlobalResourceManager.ChatMessageRecordPersister, group.GetIDName(), this.globalUserCache.CurrentUser.GetIDName(), this.globalUserCache);
     form.Show();
 }
Ejemplo n.º 6
0
 void friendListBox1_ChatRecordClicked(IUser friend)
 {
     ChatRecordForm form = new ChatRecordForm(GlobalResourceManager.RemotingService, GlobalResourceManager.ChatMessageRecordPersister, this.globalUserCache.CurrentUser.GetIDName(), friend.GetIDName());
     form.Show();
 }
Ejemplo n.º 7
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            ChatRecordForm form = new ChatRecordForm(GlobalResourceManager.RemotingService, GlobalResourceManager.ChatMessageRecordPersister, this.currentGroup.GetIDName(), this.mine.GetIDName(), this.globalUserCache);

            form.Show();
        }