Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
968 | Sep 6,2002 04:11 PM UTC | Sep 7,2002 06:28 AM UTC | WinForms | 1 |
![]() |
Tags: FAQ |
'VB declaration within the class Form1
Public Shared UserName As String
....
'whereever you need to use it
Form1.UserName = "somename"
....
If name = Form1.UserName Then
....
//declaration in C#
public static string UserName;
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.