|
-
Jun 6th, 2003, 03:22 AM
#1
Thread Starter
Lively Member
Where can I define Variables that all forms can use ?
I have some variables for authorisations that must be consulted by all forms
Where do I have to put these declaration and what is the correct syntax
for the moment I define it like that :
Public Class Form_Main
Inherits System.Windows.Forms.Form
Public Shared Key_Num_Dossier As Integer
Public Shared Key_Utilisateur As Integer
But I need to call it from other form like : Form_Main.Key_Num_Dossier
Can I define it outside a form ? and where (other vb.file?) ?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|