I want to display username in main window.

Posted by Nuwan under C# on 4/28/2012 | Points: 10 | Views : 1305 | Status : [Member] | Replies : 2
Dear All,

I have Windows Application in c#.net,
It have user login form & Main form. I want I entered User Name Display In main form.
How i do that, Please help me.

Rathnayake


Responses

Posted by: Vuyiswamb on: 4/28/2012 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
After the user has logged in you need to store the username in the Glogal Variable , in a web application we use a session , but in a windows app you can use a Global variable and display the value.

Thank you for posting at Dotnetfunda
[Administrator]

Nuwan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nuwan on: 4/30/2012 [Member] Starter | Points: 25

Up
0
Down
Can you give me a example.

Rathnayake

Nuwan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response