Created
March 23, 2015 18:55
-
-
Save hasokeric/4c6f5a6cc20c17762f80 to your computer and use it in GitHub Desktop.
Epicor Change UD Panel Titles
This file contains hidden or 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
/** | |
* Change Epicor Panel Default titles | |
* | |
* @type Custom Function | |
* @return void | |
*/ | |
public void ChangePanelTitles() | |
{ | |
// Initialize Variables for Title Changing | |
Infragistics.Win.UltraWinDock.DockableWindow dockWindow; | |
Infragistics.Win.UltraWinDock.DockableControlPane dockPane; | |
// Change Tree Panel Title | |
EpiTreeViewPanel etvp = ((EpiTreeViewPanel)csm.GetNativeControlReference("f6d8e002-fab0-47bd-ae72-d441adb5f2e8")); | |
dockWindow = (Infragistics.Win.UltraWinDock.DockableWindow) etvp.Parent; | |
dockPane = (Infragistics.Win.UltraWinDock.DockableControlPane) dockWindow.Pane; | |
dockPane.Text = "Records"; | |
dockPane.Close(); | |
// Change Main Panel Title | |
Epicor.Mfg.UI.App.UD08Entry.MainPanel mpanel = ((Epicor.Mfg.UI.App.UD08Entry.MainPanel)csm.GetNativeControlReference("1dff11bc-3024-4d17-acfc-b7af287e274b")); | |
dockWindow = (Infragistics.Win.UltraWinDock.DockableWindow) mpanel.Parent; | |
dockPane = (Infragistics.Win.UltraWinDock.DockableControlPane) dockWindow.Pane; | |
dockPane.Text = "Skid Designer"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment