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: String
root folder to be searched for config files
currentBar
Type: XElement
current menu element, where sub-menus and buttons are added
currentStrip
Type: ToolStripMenuItem
current context menu tool-strip element, where sub-menus and buttons are added
Folderpath
Type: String
for sub menus path of current folder is passed (recursively)