public Frm_addGroup(Frm_main f, int hostid) { InitializeComponent(); this.parent = f; this.hostid = f.userID; this.db = f.db; }
public Frm_leaveGroup(Frm_main f, int hostid, int groupid) { InitializeComponent(); this.parent = f; this.hostid = hostid; this.groupid = groupid; this.db = f.db; }
public Frm_addFriend(Frm_main f) { InitializeComponent(); this.parent = f; this.hostID = f.userID; this.ilFace = f.ilFace; this.db = f.db; }
//获取父窗口的资源 public Frm_chat(Frm_main f, int hostID, int friendID) { InitializeComponent(); this.parent = f; this.hostID = hostID; this.friendID = friendID; this.ilFace = f.ilFace; this.db = f.db; }
public Frm_Record(Frm_main f) { InitializeComponent(); this.parent = f; ilFace = f.ilFacethums; this.hostID = f.userID; this.db = f.db; treeView1.ImageList = ilFace; }
public Frm_info(Frm_main f, int id, bool isEnable) { InitializeComponent(); this.parent_main = f; this.isEnable = isEnable; this.ilFace = f.ilFace; this.id = id; this.db = f.db; }
//点击登陆按钮 private void btnLogin_Click(object sender, EventArgs e) { if (checkLogin()) { if (login()) { Frm_main f = new Frm_main(this); this.Hide(); f.Show(); } } }
public Frm_systemMessage(Frm_main f, int id, string message, int fromuserid) { InitializeComponent(); this.parent = f; this.db = f.db; this.messageid = id; txtMessageGet.Text = message; this.fromuserid = fromuserid; this.hostid = f.userID; this.hostNickeName = f.userNickName; this.ilFace = f.ilFace; }
public Frm_groupChat(Frm_main f, int groupid) { InitializeComponent(); this.parent_main = f; this.ilFace = f.ilFace; this.ilFacethums = f.ilFacethums; //lvGroupMembers.SmallImageList = ilFacethums; treeViewMembers.ImageList = ilFacethums; this.GroupId = groupid; this.hostnickname = f.userNickName; this.hostId = f.userID; this.db = f.db; this.memberIds = new List <int>(); }
public Frm_groupManage(Frm_main f, int groupid, bool isenable) { InitializeComponent(); this.parent_main = f; this.ilFace = f.ilFace; this.ilFaceThums = f.ilFacethums; this.groupid = groupid; this.hostid = f.userID; this.db = f.db; //txtGroupId.Text = this.groupid.ToString(); //txtGroupId.Enabled = false; //txtGroupHostNickName.ReadOnly = true; setEnable(isenable); }