Method CreateFormFiles
- Namespace
- Alternet.FormDesigner.WinForms
- Assembly
- Alternet.FormDesigner.v10.dll
CreateFormFiles(FormDesignerDataSource, CreateFormFilesOptions, IServiceProvider)
Generates a code for the form files, related to the specified source, and saves their content to the file.
public static void CreateFormFiles(FormDesignerDataSource source, FormFilesUtility.CreateFormFilesOptions options = null, IServiceProvider serviceProvider = null)
Parameters
source
FormDesignerDataSourceSource of the form, which files are being created.
options
FormFilesUtility.CreateFormFilesOptionsOptions for the file creation.
serviceProvider
IServiceProviderIServiceProvider provides a custom support for the file creation.