AifTabControl.ShowApplication Method

Definition

Overloads

ShowApplication(Object, Boolean)

Shows the hosted application in a new tab.

ShowApplication(Object, String, Image, Boolean)

Shows the hosted application in a new tab.

ShowApplication(Object, Boolean)

Shows the hosted application in a new tab.

public:
 System::Windows::Forms::TabPage ^ ShowApplication(System::Object ^ application, bool closeButton);
public System.Windows.Forms.TabPage ShowApplication (object application, bool closeButton);
member this.ShowApplication : obj * bool -> System.Windows.Forms.TabPage
Public Function ShowApplication (application As Object, closeButton As Boolean) As TabPage

Parameters

application
Object

Specifies the application to show

closeButton
Boolean

True to provide a close button to close dynamic application, false otherwise

Returns

New Tab

Applies to

ShowApplication(Object, String, Image, Boolean)

Shows the hosted application in a new tab.

public:
 System::Windows::Forms::TabPage ^ ShowApplication(System::Object ^ application, System::String ^ text, System::Drawing::Image ^ icon, bool closeButton);
public System.Windows.Forms.TabPage ShowApplication (object application, string text, System.Drawing.Image icon, bool closeButton);
member this.ShowApplication : obj * string * System.Drawing.Image * bool -> System.Windows.Forms.TabPage
Public Function ShowApplication (application As Object, text As String, icon As Image, closeButton As Boolean) As TabPage

Parameters

application
Object

Specifies the control or hosted application to be shown

text
String

Specifies the text for the tab

icon
Image

Specifies the image icon for the tab

closeButton
Boolean

True to provide a close button to close dynamic application, false otherwise

Returns

TabPage

Remarks

The tag of the TabPage will be set with the hosted application and can be used to find the application when we know the tabPage.

Applies to