Skip to content
Robin edited this page Jan 7, 2016 · 3 revisions

WikiUsing DarkUI

To begin using DarkUI within a WinForms project simply reference it within Visual Studio.

References

DarkUI consists of the following namespaces. Reference these within the files you'd like to use the various controls and components.

using DarkUI.Collections;
using DarkUI.Config;
using DarkUI.Controls;
using DarkUI.Docking;
using DarkUI.Forms;
using DarkUI.Renderers;

Using DarkUI controls

Once the DarkUI library is referenced your toolbox should have a section called 'DarkUI Components'. Within this section you'll find all of the controls and components the library offers.

Toolbox

If you don't see this section you might need to select them manually. To do this right-click anywhere within the Tools window and select 'Choose Items...'

Choose items

On the 'Choose Toolbox Items' form click the 'Browse...' button and select the 'DarkUI.dll' file.

Browse

This should add all of the DarkUI components to the list view. Accept these changes to make them show up in the toolbox.

Components

As with any WinForms control library just drag these on to a form or user control and you'll be able to use the visual designer to modify the look and feel of your application.

Clone this wiki locally