개정판 e59ea3ff
Fix: Viewer 오류 부분 수정
Change-Id: Ife341ad7ba43942c1435e48a428ef5e837c894af
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
97 | 97 |
void ShowAutoCADFile(string FilePath) |
98 | 98 |
{ |
99 | 99 |
Controls.AutoCADViewer viewer = null; |
100 |
foreach (var control in this.radSplitContainerViewer.SplitPanels[0].Controls)
|
|
100 |
foreach (var control in this.radPageViewPageAutoCAD.Controls)
|
|
101 | 101 |
{ |
102 | 102 |
if (control is Controls.AutoCADViewer _viewer) |
103 | 103 |
{ |
... | ... | |
109 | 109 |
if (viewer == null) |
110 | 110 |
{ |
111 | 111 |
viewer = new Controls.AutoCADViewer() { Dock = DockStyle.Fill }; |
112 |
this.radSplitContainerViewer.SplitPanels[0].Controls.Add(viewer);
|
|
112 |
this.radPageViewPageAutoCAD.Controls.Add(viewer);
|
|
113 | 113 |
} |
114 | 114 |
else |
115 | 115 |
{ |
... | ... | |
122 | 122 |
void ShowPDFFile(string FilePath) |
123 | 123 |
{ |
124 | 124 |
Controls.PDFViewer viewer = null; |
125 |
foreach (var control in this.radSplitContainerViewer.SplitPanels[1].Controls)
|
|
125 |
foreach (var control in this.radPageViewPagePDF.Controls)
|
|
126 | 126 |
{ |
127 | 127 |
if (control is Controls.PDFViewer _viewer) |
128 | 128 |
{ |
... | ... | |
134 | 134 |
if (viewer == null) |
135 | 135 |
{ |
136 | 136 |
viewer = new Controls.PDFViewer() { Dock = DockStyle.Fill }; |
137 |
this.radSplitContainerViewer.SplitPanels[1].Controls.Add(viewer);
|
|
137 |
this.radPageViewPagePDF.Controls.Add(viewer);
|
|
138 | 138 |
} |
139 | 139 |
else |
140 | 140 |
{ |
내보내기 Unified diff