|
-
Apr 4th, 2017, 06:53 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] UserControl
How to prevent executing code in Initialize event more than one time
I want to execute the code on first time run only. If closing app or changing from UserControl to parent Form while in design mode I do not want the code executed again. I tried Ambient.UserMode but that causes error
Last edited by Ordinary Guy; Apr 4th, 2017 at 07:16 PM.
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
|