From 06799119fb83cb6b75721c5cf60f4051e50976a7 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Wed, 2 Feb 2022 09:46:47 +0300 Subject: Add Interface namespace --- src/Interface/RibbonController.cs | 97 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 src/Interface/RibbonController.cs (limited to 'src/Interface/RibbonController.cs') diff --git a/src/Interface/RibbonController.cs b/src/Interface/RibbonController.cs new file mode 100644 index 0000000..cd7058d --- /dev/null +++ b/src/Interface/RibbonController.cs @@ -0,0 +1,97 @@ +using ExcelDna.Integration.CustomUI; +using RehauSku.PriceListTools; +using System; +using System.Runtime.InteropServices; +using System.Windows.Forms; + +namespace RehauSku.Interface +{ + [ComVisible(true)] + public class RibbonController : ExcelRibbon + { + public override string GetCustomUI(string RibbonID) + { + return @" + + + + + +