Created
August 31, 2016 15:26
-
-
Save hasokeric/f102fec2a2fc7e4dd46fa9c6ade01a0a to your computer and use it in GitHub Desktop.
UD01 Hide tree and menu.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment