Explanation of "StiConfig" class

Stimulsoft Reports.NET discussion
Post Reply
User avatar
Fabio Pagano
Posts: 355
Joined: Mon Apr 16, 2007 12:38 pm
Location: Bari (Italy)

Explanation of "StiConfig" class

Post by Fabio Pagano »

If i use, for example, "Sticonfig.LoadLocalization", to what does it apply?

To current report, to all reports, is it saved somewhere?

In other words i would like to know how StiConfig works.

Thanks.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Explanation of "StiConfig" class

Post by Edward »

StiConfig class stores its settings in
Documents and Settings\"User Account Name"\Local Settings\Application Data\Stimulsoft\Stimulsoft.Report.config
file.
This file stores information about available services and localization of the Preview and the Designer.

LoadLocalization - it is static method and applies to the internal properties of the StiLocalization class which controls localization of all elements in the Stimulsoft Reports.Net.

This method applies to the designers and previews for the Application domen, so one application supports only one language at the same time. After closing of this application settings of the StiConfig class are stored in the Stimulsoft.Report.settings file in the same location as Stimulsoft.Report.config. So in the next opening of any Application for this "User Account" the same language will be used.

Thank you.

Post Reply