Index: src/Deltares.DSoilModel.Application/Properties/Resources.Designer.cs =================================================================== diff -u -r6 -r404 --- src/Deltares.DSoilModel.Application/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 6) +++ src/Deltares.DSoilModel.Application/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 404) @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.17929 +// Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -69,15 +69,5 @@ return ((System.Drawing.Bitmap)(obj)); } } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap GenericSplashScreen { - get { - object obj = ResourceManager.GetObject("GenericSplashScreen", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } } } Index: src/Deltares.DSoilModel.Application/Program.cs =================================================================== diff -u -r6 -r404 --- src/Deltares.DSoilModel.Application/Program.cs (.../Program.cs) (revision 6) +++ src/Deltares.DSoilModel.Application/Program.cs (.../Program.cs) (revision 404) @@ -17,15 +17,20 @@ [STAThread] private static void Main() { + const string splashResourceName = "Deltares.DSoilModel.Application.Resources.DSoilModel_splash_screen.png"; + const string aboutResourceName = "Deltares.DSoilModel.Application.Resources.DSoilModel_about.png"; + System.Windows.Forms.Application.EnableVisualStyles(); System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false); BonusSkins.Register(); - var mainForm = new MainForm(); + var splashImage = new Bitmap(typeof(Program).Assembly.GetManifestResourceStream(splashResourceName)); + var aboutImage = new Bitmap(typeof(Program).Assembly.GetManifestResourceStream(aboutResourceName)); - mainForm.SplashDialog.SetAssemblyInfo(typeof(Program)); - mainForm.SplashDialog.Splash = new Bitmap(typeof(Program).Assembly.GetManifestResourceStream("Deltares.DSoilModel.Application.Resources.GenericSplashScreen.jpg")); + var mainForm = new MainForm(typeof(Program), splashImage, false, new SplashDialogWti()); + mainForm.AboutDialog = new AboutDialogWti(aboutImage); + mainForm.Register(new GeometryPlugin()); mainForm.Register(new GeotechnicsPlugin()); mainForm.Register(new DSoilModelPlugin()); Index: src/Deltares.DSoilModel.Application/Resources/GenericProgressScreen.jpg =================================================================== diff -u -r6 -r404 Binary files differ Index: src/Deltares.DSoilModel.Application/Resources/DSoilModel_splash_screen.png =================================================================== diff -u Binary files differ Index: src/Deltares.DSoilModel.Application/Deltares.DSoilModel.Application.csproj =================================================================== diff -u -r301 -r404 --- src/Deltares.DSoilModel.Application/Deltares.DSoilModel.Application.csproj (.../Deltares.DSoilModel.Application.csproj) (revision 301) +++ src/Deltares.DSoilModel.Application/Deltares.DSoilModel.Application.csproj (.../Deltares.DSoilModel.Application.csproj) (revision 404) @@ -151,12 +151,12 @@ PreserveNewest + + PreserveNewest - - Index: src/Deltares.DSoilModel.Application/Resources/GenericSplashScreen.jpg =================================================================== diff -u -r6 -r404 Binary files differ Index: src/Deltares.DSoilModel.Application/Properties/Resources.resx =================================================================== diff -u -r6 -r404 --- src/Deltares.DSoilModel.Application/Properties/Resources.resx (.../Resources.resx) (revision 6) +++ src/Deltares.DSoilModel.Application/Properties/Resources.resx (.../Resources.resx) (revision 404) @@ -121,7 +121,4 @@ ..\Resources\GenericProgressScreen.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\GenericSplashScreen.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - \ No newline at end of file Index: src/Deltares.DSoilModel.Application/Resources/DSoilModel_about.png =================================================================== diff -u Binary files differ