Hello,
I am trying to get http://es.infragistics.com/samples/windows-forms/dock-manager/window-styles this code to work.
However
Infragistics.StyleLibrary.GetStyleLibrary style = new Infragistics.StyleLibrary.GetStyleLibrary();
this line of code is giving me errors and even after adding every Infragistics dll from 15.1(.20151.2132) it still gives me errors.
Error CS0234 The type or namespace name 'StyleLibrary' does not exist in the namespace 'Infragistics' (are you missing an assembly reference?) comes up twice.
Any suggestions on how to get the example code to work?
Hello Jasper,
This GetStyleLibrary class is specific to our samples browser and is not included in the product.
If you'd like to get this code running, I would recommend installing our Windows Forms samples browser. You can get it either from My Keys and Downloads, or from the Platform Installer. You can even open and run the sample from the installation folder.
Alternatively, since all it's doing is loading the "IG.isl" file, you can either load that file yourself, or simply comment out the lines that use it. You can find the IG.isl file in a path similar to this, depending on your OS and chosen installation path.C:\Users\Public\Documents\Infragistics\2015.2\Windows Forms\AppStylist for Windows Forms\Styles This API page might be helpful.http://help.infragistics.com/Help/Doc/WinForms/2015.2/CLR4.0/html/Infragistics4.Win.v15.2~Infragistics.Win.AppStyling.StyleManager~Load(String).html
Elizabeth AlbertLocalization Engineer
Hello Elizabeth,
I commented out those lines and then getting MissingManifestResourceException on the treeServerExplorer (and commenting that out on the listviewToolBox1)
Running the custom tool on Resources.resx doesn't change a thing. (Which is suggested as solution on these type of errors...)