public Frm_chat(Frm_groupChat f, int hostID, int friendID) { InitializeComponent(); this.parent_groupchat = f; this.hostID = hostID; this.friendID = friendID; this.ilFace = f.ilFace; this.db = f.db; }
public Frm_groupManage(Frm_groupChat f, int groupid, bool isenable) { InitializeComponent(); this.parent_groupchat = f; this.ilFace = f.ilFace; this.ilFaceThums = f.ilFacethums; this.groupid = groupid; this.hostid = f.hostId; this.db = f.db; setEnable(isenable); }
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(); } }