개정판 522be0fa
dev issue #000 : edit project
Change-Id: Ibd6ede2eace08c031703144b2a987013a403f0a9
DTI_PID/SPPIDConverter_DialogBarWrapper/SPPIDConverterDialogBarWrapper.cs | ||
---|---|---|
153 | 153 |
DialogBar dlgBar = application.DialogBars.Add(DialogBarName, DockingFlagsConstants.igDockableOnLeft, DockingLocationConstants.igDockOnLeft, |
154 | 154 |
DialogBarStyleConstants.igDialogBarStyleShowCaption | DialogBarStyleConstants.igDialogBarStyleStretchToFitHorizontal | DialogBarStyleConstants.igDialogBarStyleStretchToFitVertical | DialogBarStyleConstants.igDialogBarStyleNoBorder , 0, 0); |
155 | 155 |
//DialogbarControl dialogBarControl_UserControl = dlgBar.Controls.AddManaged(wrapperDllPath, "SPPIDConverter_AutoModeling.MainControl", 733, 900); |
156 |
DialogbarControl dialogBarControl_UserControl = dlgBar.Controls.AddManaged(wrapperDllPath, "SPPIDConverter_AutoModeling.MainControl2", 733, 900);
|
|
156 |
DialogbarControl dialogBarControl_UserControl = dlgBar.Controls.AddManaged(wrapperDllPath, "SPPIDConverter_AutoModeling.MainControl2", 0, 0);
|
|
157 | 157 |
|
158 |
dynamic userControl = dialogBarControl_UserControl.ControlDispatch; |
|
159 |
Control control = userControl as Control; |
|
160 | 158 |
|
161 |
control.Dock = DockStyle.Fill; |
|
162 |
control.Parent.Dock = DockStyle.Fill; |
|
163 |
control.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top; |
|
164 |
control.Parent.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top; |
|
159 |
//dynamic userControl = dialogBarControl_UserControl.ControlDispatch; |
|
160 |
//Control control = userControl as Control; |
|
161 |
|
|
162 |
//control.Dock = DockStyle.Fill; |
|
163 |
//control.Parent.Dock = DockStyle.Fill; |
|
164 |
//control.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top; |
|
165 |
//control.Parent.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top; |
|
165 | 166 |
} |
166 | 167 |
} |
167 | 168 |
catch (Exception ex) |
내보내기 Unified diff