Results 1 to 26 of 26

Thread: [RESOLVED] UserControl

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2017
    Posts
    500

    Resolved [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
  •  



Click Here to Expand Forum to Full Width