0

I have been building a winforms windowsui application.I have already created user controls that has controls.when i first click tile item form load event fires,but second click doesnt. what is the problem. thank you

DmitryG
  • 17,677
  • 1
  • 30
  • 53
Necip Baran
  • 13
  • 1
  • 3
  • 1
    Hi, welcome to SO! It is not quite clear to me how the Form.Load event is related to your UserControls. This event occurs only for Forms and only before a form is displayed for the **first time**. Why you are expected that this event will fire when the form is already displayed? Please clarify these points(with some additional details and sample code) to make us to be able to help you. – DmitryG Oct 28 '13 at 08:19

1 Answers1

0

I think you need to handle the View's ControlReleasing event and set the e.KeepControl parameter to false.

platon
  • 5,310
  • 1
  • 22
  • 24