Exemplo n.º 1
0
        protected override void OnFormClosing(FormClosingEventArgs e)
        {
            base.OnFormClosing(e);

            if (HostServer != null)
            {
                NetworkController.NetworkHandler.Send(HostServer, "E" + "N" + "D\n");
                HostServer.setFailStatus(true);
                HostServer.callBack = null;
            }
        }