private void cancelButton_Click(object sender, EventArgs e) { if (DoctorClient != null) { DoctorClient.Disconnect(); } this.Dispose(); }
private void CancelLoginButton_Click(object sender, EventArgs e) { DoctorClient.Disconnect(); this.Dispose(); }