From 50ae69bea4a7582524a17751c2cbbb8ae7ead0f3 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Sun, 5 Dec 2021 16:55:36 +0300 Subject: Add button and DataWriter class --- Source/DataWriter/RibbonController.cs | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Source/DataWriter/RibbonController.cs (limited to 'Source/DataWriter/RibbonController.cs') diff --git a/Source/DataWriter/RibbonController.cs b/Source/DataWriter/RibbonController.cs new file mode 100644 index 0000000..a9eedb5 --- /dev/null +++ b/Source/DataWriter/RibbonController.cs @@ -0,0 +1,26 @@ +using System.Runtime.InteropServices; +using System.Windows.Forms; +using ExcelDna.Integration.CustomUI; + +namespace Ribbon +{ + [ComVisible(true)] + public class RibbonController : ExcelRibbon + { + public override string GetCustomUI(string RibbonID) + { + return @" + + + + + +