Working with Forms and Assemblies in Repository of Foresight Analytics Platform

Fore forms created in repository can be started from the developed code. To enable this feature, add links to the following assemblies in the project:

Assemblies required to start all the forms and assemblies:

Execute the following method before starting forms in the code:

Execute this method once before some form is started for the first time.

Starting Fore Forms

To start a Fore form, execute the following method for the respective repository object: Open, or OpenWithParam:

IMetabaseObjectDescriptor ForeForm = Mb.ItemById["TestForm"];
ForeForm.Open(ForeForm.Params.CreateEmptyValues());

See also:

Working with C#