private void OnClosed(object sender, FormClosedEventArgs e) { _client.Close(); }
private void OnTerminate(object sender, EventArgs e) { _removeTimer.Change(Timeout.Infinite, Timeout.Infinite); _client.Close(); this.Close(); }
private void OnClosed(object sender, FormClosedEventArgs e) { _client.Close(); }
private void OnTerminate(object sender, EventArgs e) { _removeTimer.Change(Timeout.Infinite, Timeout.Infinite); _client.Close(); this.Close(); }