Quick Start Guide

Integration Into a .NET Desktop Application

How to Integrate List & Label in Four Easy Steps

Icon 1

Add NuGet Package
Add the List & Label NuGet package to the existing .NET desktop application:

NuGet Package Manager

Icon 2

Create the List & Label Object
Add the combit.Reporting namespace to the desired code file and create the List & Label object:

// adding the combit reporting namespace
using combit.Reporting;
...
// creating the List & Label object
using(ListLabel LL = new ListLabel())
{
    // do something with LL
}

Icon 2

Define the Data Source
Define the desired data source for List & Label based on a data provider, for example: access to a Microsoft SQL server database:

// adding the combit dataproviders namespace
using combit.Reporting.DataProviders;
...
// create suitable dataprovider - e.g. for accessing a Microsoft SQL Server database 
SqlConnection connection = new SqlConnection(Properties.Settings.Default.ConnectionString);
SqlConnectionDataProvider sqlProvider = new SqlConnectionDataProvider(connection);
...
// attach the created dataprovider to the List & Label object
LL.DataSource = sqlProvider;

Icon 2

Start the Designer
Directly invoke the Design() method of the List & Label object in order to launch the integrated designer. Afterwards, you can print the created project directly with the Print() method, or export it:

// open the designer for creating new projects or editing existing projects
LL.Design();

// print object from Designer
LL.Print()

Tutorials

For a detailed .NET tutorial, see the .NET Help. You’ll also find information about licensing and deployment.

You can also watch our tutorial on YouTube: How to integrate List & Label into a .NET WPF desktop application.

 

combit software logo
phone white    mail icon    person icon
Left Menu Icon