개정판 fa48eb85
issue #1000 컨트롤 angle 수정/ Textcontrol 텍스트 선택 수정
Change-Id: I56b5c6295adb7409774045545f30f16a920be96c
KCOM/App.xaml.cs | ||
---|---|---|
20 | 20 |
using System.Runtime.InteropServices; |
21 | 21 |
using KCOM.Views; |
22 | 22 |
using System.Threading.Tasks; |
23 |
using System.Windows.Input; |
|
23 | 24 |
|
24 | 25 |
[assembly: log4net.Config.XmlConfigurator(Watch = true)] |
25 | 26 |
namespace KCOM |
... | ... | |
211 | 212 |
|
212 | 213 |
await SplashScreenAsnyc(); |
213 | 214 |
base.OnStartup(e); |
215 |
|
|
216 |
System.Windows.Input.Keyboard.AddKeyDownHandler(this.MainWindow, KeyDownEvent); |
|
217 |
|
|
214 | 218 |
} |
215 | 219 |
catch (Exception ex) |
216 | 220 |
{ |
... | ... | |
222 | 226 |
} |
223 | 227 |
} |
224 | 228 |
|
229 |
private void KeyDownEvent(object sender, KeyEventArgs e) |
|
230 |
{ |
|
231 |
if (e.Key == Key.Escape || e.Key == Key.Delete) |
|
232 |
{ |
|
233 |
System.Diagnostics.Debug.WriteLine("app key Event"); |
|
234 |
Common.ViewerDataModel.Instance.SystemMain.KeyEventDownAction(sender, e); |
|
235 |
} |
|
236 |
} |
|
237 |
|
|
225 | 238 |
private async Task<bool> SplashScreenAsnyc() |
226 | 239 |
{ |
227 | 240 |
int value = 100 / ISplashMessage.SplashMessageCnt; |
내보내기 Unified diff