//修改属性 /*private void mustate(string GID,string groupname,string sign) * { * foreach (ListViewItem item in this.lv_group.Items) * { * if (item.Text == GID) * { * item.SubItems[1].Text = groupname; * item.SubItems[4].Text = sign; * } * } * } * private void state(string UID,string username,string sign) * { * * }*/ //关闭窗口 private void list_FormClosed(object sender, FormClosedEventArgs e) { try { string sendmsg = "logout#" + UID; Bw.Write(sendmsg); Bw.Flush(); iswork = false; Br.Close(); Bw.Close(); } catch { } Application.Exit(); }
public void Close() { Br.Close(); Bw.Close(); Client.Close(); }
public void Close() { Br.Close(); Bw.Close(); }