Select the hidden PictureBox (name: pictureboxSplashScreenHidden).Ģ. If you wish to use a custom image, you can replace the image in the hidden PictureBox via the designer:ġ. It is recommended to use the Append option if you are using an existing Load event, although you are encouraged to move any initialization scripts into the new formSplashScreen_Load event script block. When you add the control set, PowerShell Studio will prompt about replacing the form’s Load event: Like the form template, the control set comes with the preset splash screen image contained within a hidden PictureBox control. We included a control set so you can add a splash screen to your existing forms. Note: The splash screen image is stored within a hidden PictureBox control, which allows you to distribute the script without having an external dependency. Place any initialization scripts after the line invoking the Show-SplashScreen function. Show-SplashScreen Place initialization script here: $paramShowSplashScreen = $pictureboxSplashScreenHidden.Image PassThru #Update the splash screen text $splashForm.Text = 'Loading Modules.' #> $paramShowSplashScreen = Use the -PassTru parameter to update the splash screen text:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |