Results 1 to 4 of 4

Thread: [2.0] problems with setting Parent & displaying icons

Threaded View

  1. #1

    Thread Starter
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    [2.0] problems with setting Parent & displaying icons

    two questions:

    firstly, I'm adding a form to a panel to a panel using the following code:
    VB Code:
    1. Form frm = new Form2();
    2. frm.TopLevel = false;
    3. frm.Parent = panel1;
    4. frm.Show();
    but Form2 is never activated and the non-client area is never drawn as active either. is there an easy solution?

    secondly, I've added images to my toolbar buttons, which display in the designer, but not when i run the code...

    the attached image shows both problems - and I'm very much noobing it with C# at the moment, so be easy on me!

    Attached Images Attached Images  

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