readAllFiles(String, ref XElement, ref ToolStripMenuItem, String) Method
reads all files contained in rootPath and its sub-folders (recursively) and adds them recursively to the DBConfig menu ribbon structure and the context menu for the AdHocSQL Dialog simultaneously. For folders contained in specialConfigStoreFolders, apply further structuring by splitting names on camel-case or specialConfigStoreSeparator
Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)
Syntax
private static void readAllFiles( string rootPath, ref XElement currentBar, ref ToolStripMenuItem currentStrip, string Folderpath )
Parameters
- rootPath
- Type: Stringroot folder to be searched for config files
- currentBar
- Type: XElementcurrent menu element, where sub-menus and buttons are added
- currentStrip
- Type: ToolStripMenuItemcurrent context menu tool-strip element, where sub-menus and buttons are added
- Folderpath
- Type: Stringfor sub menus path of current folder is passed (recursively)