개정판 b8e2644e
dev issue #000 : edit project
Change-Id: I741a0ee6d248635e17e22abaf10851717c070b82
DTI_PID/SPPIDConverter_DialogBarWrapper/SPPIDConverterWrapper.cs | ||
---|---|---|
132 | 132 |
//string wrapperDllPath = ID2.GetValue("Path").ToString() + @"Converter\SPPIDConverter_Wrapper.dll"; |
133 | 133 |
//string wrapperDllPath = System.Reflection.Assembly.GetExecutingAssembly().Location; |
134 | 134 |
string wrapperDllPath = @"Z:\HanKyouHo\Source\DTIPID\DTI_PID\SPPIDConverterDll\SPPIDConverter_Wrapper.dll"; |
135 |
string autoModelingDllPath = @"Z:\HanKyouHo\Source\DTIPID\DTI_PID\SPPIDConverterDll\SPPIDConverter_AutoModeling.dll";
|
|
135 |
string autoModelingDllPath = @"Z:\HanKyouHo\Source\DTIPID\DTI_PID\SPPIDConverterDll\SPPIDConverter.dll"; |
|
136 | 136 |
|
137 | 137 |
#region Set ToolBar and Menu |
138 | 138 |
ToolBars toolBars = application.ToolBars; |
... | ... | |
147 | 147 |
{ |
148 | 148 |
foreach (ToolbarControl item in toolBars["Main"].Controls) |
149 | 149 |
{ |
150 |
if (item.DLLName.Contains("SPPIDConverter_"))
|
|
150 |
if (item.DLLName.Contains("SPPIDConverter")) |
|
151 | 151 |
{ |
152 | 152 |
item.Delete(); |
153 | 153 |
find = true; |
... | ... | |
218 | 218 |
DialogBar dlgBar = application.DialogBars.Add(DialogBarName, DockingFlagsConstants.igDockableOnLeft, DockingLocationConstants.igDockOnLeft, |
219 | 219 |
DialogBarStyleConstants.igDialogBarStyleShowCaption | DialogBarStyleConstants.igDialogBarStyleStretchToFitHorizontal | DialogBarStyleConstants.igDialogBarStyleStretchToFitVertical | DialogBarStyleConstants.igDialogBarStyleNoBorder, 0, 0); |
220 | 220 |
//DialogbarControl dialogBarControl_UserControl = dlgBar.Controls.AddManaged(wrapperDllPath, "SPPIDConverter_AutoModeling.MainControl", 733, 900); |
221 |
DialogbarControl dialogBarControl_UserControl = dlgBar.Controls.AddManaged(autoModelingDllPath, "Converter.AutoModeling.SPPID.MainWrapper", 0, 0);
|
|
221 |
DialogbarControl dialogBarControl_UserControl = dlgBar.Controls.AddManaged(autoModelingDllPath, "Converter.SPPID.MainWrapper", 0, 0); |
|
222 | 222 |
dynamic userControl = dialogBarControl_UserControl.ControlDispatch; |
223 | 223 |
userControl.ShowDialog(); |
224 | 224 |
//Control control = userControl as Control; |
내보내기 Unified diff