From cae867821b3ea6da076dfea2ad2027f497ae92c6 Mon Sep 17 00:00:00 2001 From: Michael DiFilippo Date: Wed, 13 Oct 2021 17:31:37 -0400 Subject: [PATCH] Update Program.cs Fix-sample --- Applications/INGear/INGear/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/INGear/INGear/Program.cs b/Applications/INGear/INGear/Program.cs index 5ab7a72..77c8bde 100644 --- a/Applications/INGear/INGear/Program.cs +++ b/Applications/INGear/INGear/Program.cs @@ -21,8 +21,8 @@ static void Main() // load the style library from the embedded resource System.Reflection.Assembly assm = System.Reflection.Assembly.GetExecutingAssembly(); 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()); }