dotnet / dotnet/dotnet-api-docs
How disable botton close, upper in form
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
Protected Overrides ReadOnly Property CreateParams() As CreateParams
Get
Dim param As CreateParams = MyBase.CreateParams
param.ClassStyle = param.ClassStyle Or &H200
Return param
End Get
End Property
https://www.codeproject.com/Questions/354393/Disable-Close-Button-X-in-the-Vb-Net
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 98d29e6f-becd-2cea-62cb-716db82dfd7b
* Version Independent ID: 28bb9b67-3995-ecd2-0a27-de6d8c61da57
* Content: [Form.ControlBox Property (System.Windows.Forms)](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.form.controlbox?redirectedfrom=MSDN&view=netframework-4.7.2#System_Windows_Forms_Form_ControlBox)
* Content Source: [xml/System.Windows.Forms/Form.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Windows.Forms/Form.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Contributor guide
Assessment
This issue has not been assessed yet.