Esempio n. 1
0
        private void sideBar1_ItemDoubleClick(SbItemEventArgs e)
        {
            int      freindID = (int)e.Item.Tag;
            Frm_chat f        = new Frm_chat(this, this.userID, freindID);

            f.Show();
        }
Esempio n. 2
0
 public Frm_info(Frm_chat f, int id, bool isEnable)
 {
     InitializeComponent();
     this.parent_chat = f;
     this.isEnable    = isEnable;
     this.ilFace      = f.ilFace;
     this.id          = id;
     this.db          = f.db;
 }
Esempio n. 3
0
        private void treeViewMembers_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            int id = (int)e.Node.Tag;

            if (id == hostId)
            {
                return;
            }
            Frm_chat f = new Frm_chat(this, hostId, id);

            f.Show();
        }
Esempio n. 4
0
        private void treeView1_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            int freindID = (int)e.Node.Tag;

            if (freindID < 10000)
            {
                return;
            }
            Frm_chat f = new Frm_chat(this, this.userID, freindID);

            f.Show();
        }
Esempio n. 5
0
        private void treeViewGroup_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
        {
            int id = (int)e.Node.Tag;

            if (id < 10000)
            {
                Frm_groupChat f = new Frm_groupChat(this, id);
                f.Show();
            }
            else if (id < 100000 && id != userID)
            {
                Frm_chat f = new Frm_chat(this, userID, id);
                f.Show();
            }
        }