DesktopApplicationUIBase.AddApplication Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a hosted application or any Windows Forms control to a panel.
public:
abstract System::Object ^ AddApplication(System::String ^ panelName, System::Object ^ app, System::String ^ initializationXml, bool closeButton);
public abstract object AddApplication (string panelName, object app, string initializationXml, bool closeButton);
abstract member AddApplication : string * obj * string * bool -> obj
Public MustOverride Function AddApplication (panelName As String, app As Object, initializationXml As String, closeButton As Boolean) As Object
Parameters
- panelName
- String
Specifies the panel name.
- app
- Object
Specifies the hosted application.
- initializationXml
- String
Specifies the initialization XML.
- closeButton
- Boolean
True
if the close button is present, otherwise false
.
Returns
Returns panel instance