• Overview of the control
  • Notes
  • Describing a ".NET 2.0 control (WinForm)
  • Limitations
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview of the control
The ".NET 2.0 control (WinForm)" is used to easily manage the .NET controls in WinForm format (from .NET 2.0).

To use this control, we strongly advise you to see the Microsoft documentation.

To create a ".NET 2.0 control (WinForm)":
  1. In the window editor, click(or select "Insert .. Control .. NET 2.0 control (WinForm")On the "创建" pane, in the "其他控件" group, click ".Net".
  2. Click the position where the control must be created in the window. The control appears in creation mode.
To display the characteristics of the control, select "Description" from the popup menu of the control.

Note: WinDev also proposes to use the .Net controls using the WPF format. See .Net control (WPF) for more details.


Describing a ".NET 2.0 control (WinForm)

To define the characteristics of the control:
  1. Display the description window of the control.
  2. In the "General" tab, select the assembly used and the associated class. The "Add some .NET assemblies into the project" button is used to include the necessary assemblies. You can use:
    • A custom .Net assembly
    • A .Net assembly supplied with the .Net framework.
Then, the control can be handled by programming. See Programming a ".NET 2.0 control (WinForm)" for more details.


The limitations of the ".NET 2.0 control (WinForm)" are as follows:
  • The .Net framework version 2.0 (or later) must be installed on the computer. This framework is included in Vista and it can be downloaded for Windows XP (from the Microsoft site).
    The first use of a control that requires this framework (Carousel control, Cube control, ".NET 3.0, 4.0, ... control (WPF)") loads this framework, which may cause delay (out of our control).
  • The application cannot be started from the network.
  • The DDW feature is disabled for all the windows containing a ".NET 2.0 control (WinForm)".
  • This control does not operate under TSE.
  • This control uses the wdxxxnet.dll library. This library cannot be renamed when creating the executable.