Ejemplo n.º 1
0
        private void tlsExit_Click(object sender, EventArgs e)
        {
            if (!tlsStartSimulator.Enabled)
            {
                this._socketServer.StopSendMessage();
            }

            if (!this.tlsStartViewRealtimeData.Enabled)
            {
                this._socketClient.StopReceiveMessage();
            }

            this._socketClient = null;
            this._socketServer = null;
            this._tableTrackingPoints.Dispose();

            //GC.Collect();
            this.Close();
        }
Ejemplo n.º 2
0
        private void tlsExit_Click(object sender, EventArgs e)
        {
            if (!tlsStartSimulator.Enabled)
            {
                this._socketServer.StopSendMessage();
            }

            if (!this.tlsStartViewRealtimeData.Enabled)
            {
                this._socketClient.StopReceiveMessage();
            }

            this._socketClient = null;
            this._socketServer = null;
            this._tableTrackingPoints.Dispose();

            //GC.Collect();
            this.Close();
        }