Results 1 to 1 of 1

Thread: [02/03][resolved] form reset but no context menu

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2005
    Posts
    490

    Resolved [02/03][resolved] form reset but no context menu

    hi, i reset my form using the following code, but once the form is reset i cannot get my customized context menu loaded again.

    please help

    reset_button_click

    Code:
            Controls.Clear()
            InitializeComponent()
            example_Load(Me, Nothing)

    the above code is a part of the child form.
    the child form is loaded from the main form's menuitem click event.
    i am guessing since i am only reloading the child form the main form isn't reloaded hence the event handler isn't reloaded which causes the context menu to be added to the child form.
    how do i go about it?

    cheers
    Last edited by indiewolf; Nov 12th, 2007 at 05:02 AM. Reason: resolved
    visual basic.net (2008)

    .net framework 3.5


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