개정판 0db80f26
dev issue #000 : fix hot key
Change-Id: I156a7e72e61e2a58248fb40a823db9f7a4a31a54
DTI_PID/SPPIDConverter/ConverterDocking.cs | ||
---|---|---|
57 | 57 |
if (!addEvent) |
58 | 58 |
{ |
59 | 59 |
application.EventObject.BeforeApplicationExit += ApplicationEvents_ApplicationExit; |
60 |
RegisterHotKey(this.Handle, 0, (int)KeyModifier.Shift, Keys.A.GetHashCode()); |
|
61 | 60 |
addEvent = true; |
62 | 61 |
} |
62 |
RegisterHotKey(this.Handle, 0, (int)KeyModifier.Shift, Keys.A.GetHashCode()); |
|
63 | 63 |
} |
64 | 64 |
catch (Exception ex) |
65 | 65 |
{ |
... | ... | |
71 | 71 |
} |
72 | 72 |
private void ApplicationEvents_ApplicationExit(out bool cancel) |
73 | 73 |
{ |
74 |
UnregisterHotKey(this.Handle, 0); |
|
75 | 74 |
cancel = false; |
76 | 75 |
} |
77 |
|
|
78 | 76 |
/// <summary> |
79 | 77 |
/// 선택한 도면들을 읽어서 SPPID로 변환한다. |
80 | 78 |
/// </summary> |
... | ... | |
402 | 400 |
#endif |
403 | 401 |
|
404 | 402 |
} |
403 |
|
|
404 |
|
|
405 | 405 |
} |
406 | 406 |
} |
내보내기 Unified diff