ryuuichie

Disabled exit button - Code

Apr 11th, 2013
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.30 KB | None | 0 0
  1. Protected Overrides ReadOnly Property CreateParams() As CreateParams
  2.         Get
  3.             Dim cp As CreateParams = MyBase.CreateParams
  4.             Const CS_NOCLOSE As Integer = &H200
  5.             cp.ClassStyle = cp.ClassStyle Or CS_NOCLOSE
  6.             Return cp
  7.         End Get
  8.     End Property
Advertisement
Add Comment
Please, Sign In to add comment