Compartir a través de


IApplicationUI.AddApplication(String, Object, String, Boolean) Method

Definition

Adds a hosted application or any Windows Forms control to a Desktop panel.

public:
 System::Object ^ AddApplication(System::String ^ panelName, System::Object ^ app, System::String ^ initializationXml, bool closeButton);
public object AddApplication (string panelName, object app, string initializationXml, bool closeButton);
abstract member AddApplication : string * obj * string * bool -> obj
Public 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 instance.

initializationXml
String

Specifies the initialization XML that defines how to initialize the window.

closeButton
Boolean

True if close button is present, otherwise false.

Returns

Applies to