소스 검색

FIX: client loopt niet meer vast

Bart Reedijk 10 년 전
부모
커밋
7e0b6c4ba5
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Proftaak Remote Healthcare/FietsClientV2/TCPConnection.cs

+ 2 - 1
Proftaak Remote Healthcare/FietsClientV2/TCPConnection.cs

@@ -72,10 +72,11 @@ namespace FietsClient
                                 }
                                 else if (response_parts[2] == "0" && response_parts[1] == "1")
                                 {
-                                    PatientForm patientForm = new PatientForm(this);
+                                    
                                     Form activeForm = Form.ActiveForm;
                                     activeForm.Invoke((MethodInvoker)delegate ()
                                     {
+                                        PatientForm patientForm = new PatientForm(this);
                                         activeForm.Hide();
                                         patientForm.Show();
                                     });