Form-like Control Not Visible

I am trying to make a custom control that function similar to a Form, it displays and things can be added to it.

The problem I'm having is that the Created property is false so that my program exits its main loop prematurely.

Could I have any information on how the created property is set so that I might be able to make my control visible


Answer this question

Form-like Control Not Visible

  • Wraith Daquell

    I'm curious as to the reason you're not just deriving from Form and adding whatever specialization you need.

    Anyway, if you're looking to keep the message pump going, you can derive from ApplicationContext and pass an instance to Application.Run.  Call Application.ExitThread when you want the app to end.

  • Form-like Control Not Visible