개정판 1b09fe17
dev issue #000 : 소스 정리
Change-Id: I2dce01ac9544266cf00ae7d416a04318ec680507
DTI_PID/SPPIDConverter/ConverterDocking.cs | ||
---|---|---|
69 | 69 |
MessageBox.Show(sb.ToString()); |
70 | 70 |
} |
71 | 71 |
} |
72 |
private void ApplicationEvents_ApplicationExit(out bool cancel) |
|
73 |
{ |
|
74 |
UnregisterHotKey(this.Handle, 0); |
|
75 |
cancel = false; |
|
76 |
} |
|
72 | 77 |
|
73 | 78 |
/// <summary> |
74 | 79 |
/// 선택한 도면들을 읽어서 SPPID로 변환한다. |
... | ... | |
223 | 228 |
MessageBox.Show(Msg.SelectLine, Msg.Warning, MessageBoxButtons.OK, MessageBoxIcon.Warning); |
224 | 229 |
} |
225 | 230 |
|
226 |
#region TEST
|
|
231 |
#region Hot Key
|
|
227 | 232 |
[System.Runtime.InteropServices.DllImport("user32.dll")] |
228 | 233 |
private static extern bool RegisterHotKey(IntPtr hWnd, int id, int fsModifiers, int vk); |
229 | 234 |
|
... | ... | |
251 | 256 |
} |
252 | 257 |
|
253 | 258 |
} |
259 |
#endregion |
|
254 | 260 |
|
255 |
private void ApplicationEvents_ApplicationExit(out bool cancel) |
|
256 |
{ |
|
257 |
UnregisterHotKey(this.Handle, 0); |
|
258 |
cancel = false; |
|
259 |
} |
|
261 |
#region TEST |
|
260 | 262 |
|
261 | 263 |
private void simpleButton1_Click(object sender, EventArgs e) |
262 | 264 |
{ |
263 |
|
|
264 |
return; |
|
265 |
|
|
266 | 265 |
Placement placement = new Placement(); |
267 | 266 |
if (application.ActiveSelectSet.Count > 0) |
268 | 267 |
{ |
내보내기 Unified diff