Disable Close Button in Forms
Again, credits go to me!
What you need:
1. Windows Forms Application
2. Basic understanding of Forms
First off, you need to enter the "Events" category of Form1. Then from there, continue on to find "FormClosing"
Next, double-click it to enter this code-
Code:
Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
e.Cancel = True
End Sub
One line of code, sweet and simple for you sadists that want to torture fools out there in running your program. Enjoy!