dotnet / dotnet/dotnet-api-docs

How disable botton close, upper in form

Aperta
#993 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area-WinForms dotnet-api/prod Pri2 untriaged
Lingua principale
C#
Stelle
949
Fork
1.7k
Merge medio
3g 27m
PR unite (30g)
49

Descrizione

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**

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.