Configuring - Registration Tab - Applications
From Visual WebGui Wiki
Overview
This article is a part of articles on Configuring Visual WebGui application, Registration tab.
In the Registration tab is where you declare your Forms, Controls and Themes that will be used within your application.
Settings
| Applications | web.config |
|---|---|
| This is the place where you define your mainforms |
<WebGui> <Applications> <Application Code="Form1" Type="TestApp.Form1, TestApp" /> </Applications> </WebGui> |
General
Applications, in this sense, are the external entry points that you have to your applications, or more simply put, the forms in your application that can be accessed directly from any brower. Forms that do not appear in this list, are not available from the outside, and you will get a resource not found error trying to access them directly from a browser. Please note that this registration of your forms only applies to thoese forms that need to be accessable directly from the outside. Your other forms, like your dialog forms, do not need to be registered there, unless they also need to be directly accessible.
In addition to adding forms to this list, you can right click a form within your application and select "Set as start form". That will add the right clicked form to this list, as well as setting it as your start action when running your application within Visual Studio.
There are exceptions to this rule that a form will not be directly accessible from the outside, unless it has been registered or added to this list. See Dynamic Loading of forms for more information.
