hasokeric
8/31/2016 - 3:26 PM

UD01 Hide tree and menu.

UD01 Hide tree and menu.

// 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;
}