csharp UD01隐藏树和菜单。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了csharp UD01隐藏树和菜单。相关的知识,希望对你有一定的参考价值。

// Hides the tree and the menu bar.
// Leaves you with a nice blank slate.

private void UD01Form_Load(object sender, EventArgs args) {
    // Hide tree view
    EpiTreeViewPanel tvp = (EpiTreeViewPanel)csm.GetNativeControlReference("ff47e708-60d7-4586-9708-91a5d57fb7a6");
    tvp.Parent.Parent.Visible = false;

    // Hide tool bars
    //Get a Handle on the Main Tool Manager for the Form
    if (UD01Form.MainToolManager!=null)
        UD01Form.MainToolManager.Visible = false;
}

以上是关于csharp UD01隐藏树和菜单。的主要内容,如果未能解决你的问题,请参考以下文章