Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Applications/INGear/INGear/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ static void Main()
// load the style library from the embedded resource
System.Reflection.Assembly assm = System.Reflection.Assembly.GetExecutingAssembly();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this code isn't required then just remove it

System.IO.Stream stream = assm.GetManifestResourceStream("Showcase.INGear.StyleLibraries.INGear.isl");
if (stream != null)
Infragistics.Win.AppStyling.StyleManager.Load(stream);
Infragistics.Win.AppStyling.StyleManager.Load(@"..\..\..\StyleLibraries\INGear.isl");


Application.Run(new MainForm());
}
Expand Down