Hi Guys,
I found this small code to create a simple black windows to cover my screen.
I would really like to close it on a simple left mouse click.Code:Public Class BS Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.StartPosition = FormStartPosition.CenterScreen Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None Me.WindowState = FormWindowState.Maximized Me.BackColor = Color.Black System.Windows.Forms.Cursor.Hide() End Sub End Class
I tried to work this out with a couple of google suggestions, but I have no experience in vb so im consulting for help here.
Thanks in advance.




Reply With Quote