Add a Custom Startup Image in WinUI

Note

This article was originally posted to the AIMMS Tech Blog.

When you deploy your application, AIMMS uses a standard splash screen at startup as shown below. You have the option to customize this startup image for WinUI apps.

../../_images/aimms-default-splash-screen.png

To use a custom startup image, create a BMP file with the same name as the .aimms project file, and save it in the project folder.

Please note that you must use the bitmap (BMP) format, as AIMMS will only look for this extension (and not other image file formats).

Example

A custom startup image is used in the Gate Assignment example project:

../../_images/GateAssignment.bmp

The name of the .aimms file of the gate assignment project is Gate Assignment.aimms. By saving the picture from the example as Gate Assignment.bmp in the same folder as the Gate Assignment.aimms file, AIMMS displays the new splash screen.