Child Panel Bounds out of the Parent Panel

Answered Child Panel Bounds out of the Parent Panel

  • Thursday, March 22, 2012 6:42 AM
     
     

    In Windows Application i took Parent panel ,in that i took child panel but the child panel was outside of the parent panel i want that the child panel was inside the parent panel 

    Its urgent Give me reply

    Thanks In Advance


    varalakshmi D

All Replies

  • Tuesday, March 27, 2012 2:50 AM
    Moderator
     
     Answered
    Hi Varapadma,
    Could you please give more details about your questions? 
    If you create the two panels in the designer, just simply move and resize the child panel to make it inside the parent panel.
    If you create the two panels programmatically, you can set the bounds of the child panel by setting Panel.Bounds Property or by calling Panel .SetBounds Method.
    If you still have any doubt and concern about this issue, please let us know. If I misunderstood you, please kindly elaborate your question.
    Best Regards,


    Bob Wu [MSFT]
    MSDN Community Support | Feedback to us