question

BiswajeetKumar-6788 avatar image
0 Votes"
BiswajeetKumar-6788 asked IanXue-MSFT answered

Windows form with PowerShell Rounded corners

Hey pros,

I am working on some UI using PowerShell form. I am wondering, Is there a way to make the corners of the form little rounded?
I usually start my form like this :

 Add-Type -AssemblyName System.Windows.Forms
 $Form = New-Object system.Windows.Forms.Form
 $Form.ClientSize = '550,240'
 $Form.FormBorderStyle = 'Fixed3d'
 $Form.text = "Pre-Requisite Check "
 $Form.BackColor = 'White'
 $Form.TopMost = $true
 $Form.ShowDialog()

Thanks.

windows-server-powershellwindows-forms
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

IanXue-MSFT avatar image
1 Vote"
IanXue-MSFT answered

Hi,

This could be helpful

https://stackoverflow.com/questions/66327195/can-i-have-rounded-corners-on-my-form-in-powershell

Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.