combit List & Label 24 - .NET Online Web Help
Design(String,LlProject,String,Boolean) Method
Example 


combit.ListLabel24 Namespace > ListLabel Class > Design Method : Design(String,LlProject,String,Boolean) Method

Window title for the Designer.

Project type. See LlProject. Can also be set via the AutoProjectType Property.

File name of the project or default for the file selection dialog. Can also be set via the AutoProjectFile Property.

Use false to suppress the file selection dialog. Can also be set via the AutoShowSelectFile Property.

This key method handles databound report design. Assign a DataSource to the component and call this method to start the Designer.

Syntax
'Declaration
 
Public Overloads Sub Design( _
   ByVal designerTitle As String, _
   ByVal projectType As LlProject, _
   ByVal projectFile As String, _
   ByVal showFileSelect As Boolean _
) 

Parameters

designerTitle

Window title for the Designer.

projectType

Project type. See LlProject. Can also be set via the AutoProjectType Property.

projectFile

File name of the project or default for the file selection dialog. Can also be set via the AutoProjectFile Property.

showFileSelect

Use false to suppress the file selection dialog. Can also be set via the AutoShowSelectFile Property.

Example
SqlConnection conn = new SqlConnection(Properties.Settings.Default.ConnectionString); 
SqlConnectionDataProvider provider = new SqlConnectionDataProvider(conn); 
LL.DataSource = provider; 
LL.Design();
Dim conn As New SqlConnection(Properties.Settings.[Default].ConnectionString)
Dim provider As New SqlConnectionDataProvider(conn)
LL.DataSource = provider
LL.Design()
Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

ListLabel Class
ListLabel Members
Overload List