private void bunifuImageButton1_Click(object sender, EventArgs e) { if (Me.currentroomadmin == Me.username) { SocketMain.SendData(Encoding.ASCII.GetBytes("RemoveRoom|" + Me.currentroom.ToString()), SocketMain.ns); } SocketMain.EndSession(); //Application.Exit(); }
private void bunifuImageButton1_Click(object sender, EventArgs e) { SocketMain.EndSession(); }