Unanswered Internal Frame

  • 2006年3月16日 下午 02:28
     
     

    Hi,

    Is there a way to work with internalframes with Csharp ???

    Any sample ??

    Thanks

所有回覆

  • 2006年3月16日 下午 03:33
    版主
     
     

    If you are talking about Java internal frames then yes, see the following thread:

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=293194&SiteID=1

     

  • 2006年3月16日 下午 04:54
     
     

    Ok,

    And how can I make to disable the minimize, maximize and close button, from the internal frame that appears in the mainmenu ?

     

    Thanks

  • 2006年3月17日 下午 04:17
    版主
     
     

    For Minimize/Maximize it should be easy:

       form.MinimizeBox = false;
       form.MaximizeBox = false;

    but I don't know an easy way to disable Close.

    But I'm wondering what an internal frame with no Min/Max/Close buttons is good for. This looks like you need an UserControl which you place in the Form and set its Dock property to DockStyle.Fill.