SetParent 和ToolStrip 的问题

在C#中使用SetParent加载子窗体,如果子窗体包含ToolStrip控件,
上面的ToolStripButton的Click事件不触发!?解决中!


/********************************************************/

此问题已经得到解决

//
    // The ToolStrip and MenuStrip classes are extended to allow customization of the user interface
    //
    // The following new boolean properties are exposed in the designer:
    //
    // ClickThrough - Allow the first click to activate the control, even when the containing form is not active
    // SupressHighlighting - Suppress the mouseover highlighting of the control when the containing form is not active
    //
    // The ideas behind this were borrowed from two items found on the Internet:
    //
    // Rick Brewster shows how to implement ClickThrough on his blog at:
    //   http://blogs.msdn.com/rickbrew/
    //
    // JasonD suggests the method to suppress the highlighting on at forum at:
    //   http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=118385&SiteID=1
    //
posted @ 2007-12-22 15:47  wucz  阅读(1493)  评论(4编辑  收藏  举报