Hi,
I need assistance in removing X(close) button from windows forms. I used WPF to create XAML file and added to powershell script and used system.windows.forms to generate GUI. I could get all functionality but i ran in problem to remove close button.
Failed attempts:
> $window.controlbox = $false.
>In wpf used windowstyle='toolwindow' but still getting close button.
When i google i could get C# code but i couldnt replicate that in powershell.
Can anyone help me with this code.