Click here to Skip to main content
16,020,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all!
I want to load the first form once during the application (ex : config data form). How do I do that? Please help me
thanks and best regards

[Update]

thanks shakil0304003!
but it's not my needing solution
I want that
When I run one application the first time, one form (ex: config data form) is loaded, and when I run application again, this form is not loaded.
Do u see?
How do I do that?
[/Update]
Posted
Updated 4-Nov-10 23:11pm
v2

You should use a persistent flag to keep track of your appllication first execution.
See, for instance Using Settings in C#[^], Persisting Application Settings in the .NET Framework[^].
:)
 
Share this answer
 
Have a look here[^] or here[^].


Please vote and Accept Answer if it Helped.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900