Splash Form Position
By default, the start position of splash forms is specified as follows:
- SplashScreens are displayed centered against the screen;
- WaitForms are centered against their parent forms. The Splash Screen Manager tries to automatically locate the parent form.
- Splash images invoked via the static SplashScreenManager.ShowImage method are displayed in the same manner as WaitForms;
You can override the default start position as follows:
- To specify the manual start position for a splash form that is the Splash Screen Manager’s Active Splash Form (see SplashScreenManager.ActiveSplashFormTypeInfo), set the SplashScreenManager.SplashFormStartPosition property to Manual and specify the start point via the SplashScreenManager.SplashFormLocation property.
To specify the manual start position for a splash form that is not the Splash Screen Manager’s Active Splash Form, use the last two parameters provided by the SplashScreenManager.ShowForm and SplashScreenManager.ShowImage method overloads:
public static void ShowForm(Form parentForm, Type splashFormType, bool useFadeIn, bool useFadeOut, SplashFormStartPosition startPos, Point loc) public static void ShowImage(Image image, bool useFadeIn, bool useFadeOut, SplashFormStartPosition startPos, Point loc)