How to change window icon and UI language runtime ?

Stimulsoft Reports.NET discussion
Post Reply
so29
Posts: 72
Joined: Mon Nov 02, 2009 1:29 pm

How to change window icon and UI language runtime ?

Post by so29 »

hi

How icon Print preview window has changed

Code: Select all

    Stimulsoft.Report.Render.StiPreviewForm previewForm = new Stimulsoft.Report.Render.StiPreviewForm();
            previewForm.Icon ???
How do I complete the code ??

And how the code has changed UI language

Does the Stimul code to be there?

Code: Select all

  previewForm.UIlanguage =Spanish ;

Thank you.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

How to change window icon and UI language runtime ?

Post by Jan »

Hello,
How icon Print preview window has changed

Code: Select all

    Stimulsoft.Report.Render.StiPreviewForm previewForm = new Stimulsoft.Report.Render.StiPreviewForm();
            previewForm.Icon ???
How do I complete the code ??
Please use following code:

Stimulsoft.Report.StiOptions.Viewer.Windows.ViewerIcon = myicon;
And how the code has changed UI language
Here is it:

Code: Select all

Stimulsoft.Report.StiConfig.LoadLocalization("es.xml");
es.xml file you can find in attachment.

Thank you.

Attachments
362.es.xml
(170.51 KiB) Downloaded 333 times
so29
Posts: 72
Joined: Mon Nov 02, 2009 1:29 pm

How to change window icon and UI language runtime ?

Post by so29 »

hi

Thank you Jan
HowieD
Posts: 27
Joined: Fri Sep 17, 2010 8:29 am

Re: How to change window icon and UI language runtime ?

Post by HowieD »

Hello,

unfortunately the code doesn't work when calling then ShowWithRibbonGUI Methdod.
What can be done to Show a custom Icon there?

Best Regards
H. Dederichs
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to change window icon and UI language runtime ?

Post by Alex K. »

Hello,

The issue is fixed. The fix will be available in the next prerelease build.

Thank you.
Post Reply