diff --git a/MORT/Form1.cs b/MORT/Form1.cs index b7ebd84..3f9c30b 100644 --- a/MORT/Form1.cs +++ b/MORT/Form1.cs @@ -2524,12 +2524,14 @@ public void ProcessTrans(bool isSnap = false) //번역 시작 쓰 //이전과 같아서 그래픽만 갱신함. if (MySettingManager.NowSkin == SettingManager.Skin.layer && FormManager.Instace.MyLayerTransForm != null) { - BeginInvoke(new Action(FormManager.Instace.MyLayerTransForm.UpdatePaint)); + FormManager.Instace.MyLayerTransForm.UpdatePaint(); + //BeginInvoke(new Action(FormManager.Instace.MyLayerTransForm.UpdatePaint)); } if (MySettingManager.NowSkin == SettingManager.Skin.over && FormManager.Instace.MyOverTransForm != null) { - BeginInvoke(new Action(FormManager.Instace.MyOverTransForm.UpdatePaint)); + FormManager.Instace.MyOverTransForm.UpdatePaint(); + //BeginInvoke(new Action(FormManager.Instace.MyOverTransForm.UpdatePaint)); } if (isSnap) @@ -3970,20 +3972,6 @@ private void ShowDonationPopup() FormManager.Instace.ShowDonatePage(); - /* - if (DialogResult.OK == MessageBox.Show(new Form() { WindowState = FormWindowState.Maximized }, - " 후원 계좌\n하나은행 764-910283-44807 김무영\n\n 네이버 페이\nID : killkimno\n받는사람 : 김무영\n", "후원하기", MessageBoxButtons.OK)) - { - { - try - { - - } - catch { } - } - } - - */ FormManager.Instace.ReSettingSubMenuTopMost(); } diff --git a/MORT/MORT.csproj b/MORT/MORT.csproj index 542e3cb..2f41948 100644 --- a/MORT/MORT.csproj +++ b/MORT/MORT.csproj @@ -6,7 +6,7 @@ 8.0.30703 2.0 {3757B925-61EE-4BB0-9EA7-9D53BAF6D67E} - Exe + WinExe Properties MORT MORT @@ -51,9 +51,9 @@ full false bin\Release\ - DEBUG;TRACE + TRACE prompt - 3 + 2 true true true diff --git a/MORT/Properties/Settings.Designer.cs b/MORT/Properties/Settings.Designer.cs index 987e222..5062106 100644 --- a/MORT/Properties/Settings.Designer.cs +++ b/MORT/Properties/Settings.Designer.cs @@ -147,7 +147,7 @@ public string TOOLTIP_HSV { [global::System.Configuration.ApplicationScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("2021 04 17")] + [global::System.Configuration.DefaultSettingValueAttribute("2021 05 05")] public string MORT_RELEASE { get { return ((string)(this["MORT_RELEASE"])); diff --git a/MORT/Properties/Settings.settings b/MORT/Properties/Settings.settings index f6db8ac..d441891 100644 --- a/MORT/Properties/Settings.settings +++ b/MORT/Properties/Settings.settings @@ -63,7 +63,7 @@ OCR 영역을 빠르게 추가하고 싶을 땐 빠른 OCR 영역을 사용하 색 영역을 이용해 추출한 문장의 폰트색을 지정합니다. - 2021 04 15 + 2021 05 05 DB 번역문 검색시 OCR 추출 문장에 포함 된 번역문을 모두 가져옵니다. diff --git a/MORT/TransFormLayer.cs b/MORT/TransFormLayer.cs index 0ea4150..33638e1 100644 --- a/MORT/TransFormLayer.cs +++ b/MORT/TransFormLayer.cs @@ -397,11 +397,12 @@ public void UpdatePaint() // Update the window. - + if(this == null || this.IsDisposed || this.isDestroyFormFlag) { return; } + UpdateLayeredWindow( this.Handle, // Handle to the layered window screenDc, // Handle to the screen DC @@ -436,7 +437,7 @@ public void UpdatePaint() */ } - Util.ShowLog("end"); + //Util.ShowLog("end"); } diff --git a/MORT/app.config b/MORT/app.config index 0979fa2..e3e309d 100644 --- a/MORT/app.config +++ b/MORT/app.config @@ -97,7 +97,7 @@ OCR 영역을 빠르게 추가하고 싶을 땐 빠른 OCR 영역을 사용하 색 영역을 이용해 추출한 문장의 폰트색을 지정합니다. - 2021 04 15 + 2021 05 05 DB 번역문 검색시 OCR 추출 문장에 포함 된 번역문을 모두 가져옵니다.