![]() ![]() This article provides an overview of a new feature introduced in PrimalScript 8.1.179 and PowerShell Studio 5.8.220 that allows you to add modules to the MSI file that installs your PowerShell application. Submit your suggestions or feature requests on the Wish List and Feature Requests forum or the Feature Requests page. Many of the new features included in the service builds are suggestions from users like you. You can view the complete service build log here. The Holy Splash Screens Batman! article covers the Show-SplashScreen function and how to use an image on disk. Use the Image property of the PictureBox to select your own custom splash screen image.Īrmed with this form template and control set, you are now a splash screen superstar! Please let us know what you think about the splash screen templates.įor more details on the PictureBox control, refer to the Spotlight on the PictureBox article. 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 |