Hi,
I have two windows applications.
A - have used Style using Style file (.isl)
Calling as follows in main form load event;
Infragistics.Win.AppStyling.StyleManager.Load(Application.StartupPath + @"\Styles\appstyle.isl");
B - which is NOT using app styling.
Application A is build as a Class Library and called from application B by clicking menu item.
How I call application A from application B:
Private Sub ClickOnReportManager() Dim frm As New ALReports.WinUI.View.ReportManagerFrm() frm.Show() End Sub
My issue is, after running application A, that Style is applying automatically to application B. which is not applicable for application B.
Its (Application B) forms looked weird after that.
Please let me know how to stop this behavior in application B.
Thanks in advance.
Regards,
Kumara
Hi Kumara,
AppStyling applies isl to all the forms and there is no way to apply isl to a specific form. What you could do is to use StyleLibraryName and limit isl to the controls. You can find more information in the following post.
http://es.infragistics.com/community/forums/p/83798/418616.aspx#418616
Regarding StyleLibraryName, you can find information on our documentation.
http://help.infragistics.com/Doc/Winforms/2016.1/CLR4.0/?page=Styling_Guide_Loading_Multiple_Style_Libraries.html
Best regards,Yuki Mita