Ver código fonte

SAVE 글자크기 UP / USB PORT DETECT시 PROGRAM KILL

YJ 6 anos atrás
pai
commit
7bcf884cf7

+ 6 - 3
Basic_Terminal/Func/Serial.cs

@@ -196,10 +196,13 @@ namespace RF_TRIO_PLL_ZIG
196 196
                 main_form.Invoke(new BoolSet(main_form.TX_Light_ON));
197 197
                 main_form.TX_RX_Light = true;
198 198
             }
199
-            catch { MessageBox.Show("Port Open Failed!!!"); }
200
-            
201
-
199
+            catch
200
+            {
201
+                System.Diagnostics.Process.GetCurrentProcess().Kill();
202
+                MessageBox.Show("Port Open Failed!!!");
203
+            }
202 204
         }
205
+       
203 206
         public void FileDownloadClass_Set(object filedownload)
204 207
         {
205 208
             this.fileDownload = (Update_Serial)filedownload;

+ 1 - 1
Basic_Terminal/Wnd/Main_Form.Designer.cs

@@ -2403,7 +2403,7 @@
2403 2403
             // 
2404 2404
             // button_Save
2405 2405
             // 
2406
-            this.button_Save.Font = new System.Drawing.Font("굴림", 15F, System.Drawing.FontStyle.Bold);
2406
+            this.button_Save.Font = new System.Drawing.Font("굴림", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(20)));
2407 2407
             this.button_Save.Location = new System.Drawing.Point(12, 306);
2408 2408
             this.button_Save.Name = "button_Save";
2409 2409
             this.button_Save.Size = new System.Drawing.Size(225, 87);