C# Class ExcelDna.Integration.CustomUI.ExcelCommandBarUtil

显示文件 Open project: system-tradingtech/DataTools

Public Methods

Method Description
GetCommandBars ( ) : CommandBars
LoadCommandBars ( string xmlCustomUI ) : void
LoadCommandBars ( string xmlCustomUI, GetImageDelegate getImage ) : void
UnloadCommandBars ( ) : void

Private Methods

Method Description
AddCommandBarControls ( Application excelApp, XmlNodeList xmlNodes, GetImageDelegate getImage ) : void
AddControl ( CommandBarControls parentControls, XmlNode xmlNode, GetImageDelegate getImage ) : void
AddControls ( CommandBarControls parentControls, XmlNodeList xmlNodes, GetImageDelegate getImage ) : void
ApplyControlAttribute ( CommandBarControl control, string attribute, string value, GetImageDelegate getImage ) : void
ApplyControlAttributes ( CommandBarControl control, XmlNode xmlNode, GetImageDelegate getImage ) : void
LoadCommandBars ( XmlNode xmlCustomUI, GetImageDelegate getImage ) : void
ReadControlBeforeAttribute ( XmlNode xmlNode ) : object
RemoveCommandBarControls ( Application excelApp, XmlNodeList xmlNodes ) : void
RemoveControl ( CommandBarControls parentControls, XmlNode xmlNode ) : void
RemoveControls ( CommandBarControls parentControls, XmlNodeList xmlNodes ) : void

Method Details

GetCommandBars() public static method

public static GetCommandBars ( ) : CommandBars
return CommandBars

LoadCommandBars() public static method

public static LoadCommandBars ( string xmlCustomUI ) : void
xmlCustomUI string
return void

LoadCommandBars() public static method

public static LoadCommandBars ( string xmlCustomUI, GetImageDelegate getImage ) : void
xmlCustomUI string
getImage GetImageDelegate
return void

UnloadCommandBars() public static method

public static UnloadCommandBars ( ) : void
return void