개정판 b427ebf9
issue #504: 프로젝트 설정 기능 - Debug 모드일때 테스트 버튼을 보이도록 수정
Change-Id: I1940daebe7e995636a339d3e74994ea3a3f94133
DTI_PID/SPPIDConverter/ConverterDocking.cs | ||
---|---|---|
45 | 45 |
sb.AppendLine(ex.StackTrace); |
46 | 46 |
MessageBox.Show(sb.ToString()); |
47 | 47 |
} |
48 |
|
|
49 |
#if DEBUG |
|
50 |
simpleButton1.Visible = true; |
|
51 |
|
|
52 |
|
|
53 |
#endif |
|
54 | 48 |
} |
55 | 49 |
|
56 | 50 |
private void btnConverter_Click(object sender, EventArgs e) |
... | ... | |
434 | 428 |
[DllImport("user32.dll", SetLastError = true)] |
435 | 429 |
static extern int GetWindowThreadProcessId(IntPtr hWnd, out int processId); |
436 | 430 |
|
431 |
private void ConverterDocking_Load(object sender, EventArgs e) |
|
432 |
{ |
|
433 |
#if DEBUG |
|
434 |
this.layoutControlItem2.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always; |
|
435 |
#else |
|
436 |
this.layoutControlItem2.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; |
|
437 |
#endif |
|
438 |
|
|
439 |
} |
|
437 | 440 |
} |
438 | 441 |
} |
내보내기 Unified diff