Developing a control add-in
The first recipe covers the basics of developing a control add-in. We will walk through developing a web browser control that can be embedded in a NAV page, allowing a user to open web pages directly in NAV applications without switching to external software.
How to do it...
The current recipe covers the .NET library project in Visual Studio, while subsequent recipes Signing the control add-in assembly and Registering and embedding a control add-in will continue the discussion and demonstrate how to assign a strong name to the assembly and embed the control to the NAV user interface.
Run Visual Studio and start a new project. In the New Project dialog, select the Class Library template located under the Windows templates collection.
Type a name for the new project. Name it
NavBrowserControl
. Select a location for the project and choose to create a new solution:Click OK. A project containing one class named Class1 is created. In the Solution Explorer window, right...