diff options
Diffstat (limited to 'Source/Ribbon')
-rw-r--r-- | Source/Ribbon/RibbonController.cs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/Ribbon/RibbonController.cs b/Source/Ribbon/RibbonController.cs index 7fa2ac8..94d3b0d 100644 --- a/Source/Ribbon/RibbonController.cs +++ b/Source/Ribbon/RibbonController.cs @@ -10,14 +10,18 @@ namespace RehauSku.Ribbon { public override string GetCustomUI(string RibbonID) { + return @" <customUI xmlns='http://schemas.microsoft.com/office/2006/01/customui'> <ribbon> <tabs> - <tab id='tab1' label='REHAU'> - <group id='group1' label='Прайс-лист'> - <button id='button1' label='Экспорт' onAction='OnButtonPressed'/> - </group > + <tab id='rau' label='REHAU'> + <group id='priceList' label='Прайс-лист'> + <button id='exportToPrice' label='Экспорт' size='large' imageMso='PivotExportToExcel' onAction='OnButtonPressed'/> + </group> + <group id='rausettings' label='Настройки'> + <button id='set' label='Настройки' size='large' imageMso='CurrentViewSettings' onAction='OnButtonPressed'/> + </group> </tab> </tabs> </ribbon> |