JABOSL
Programmer
- Jan 25, 2006
- 35
Where do I declare a global variable? I need it to be seen in both classes. I thought it was after imports... and before Public Class Form1 but I can't get any syntax to work there.
Imports System.Threading
Public Class Form1
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Class
Public Class SessionClass
End Class
Imports System.Threading
Public Class Form1
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Class
Public Class SessionClass
End Class