Esempio n. 1
0
        public ExternalCommandResult Execute(Application excelApp, ref string errorMessage, ref Range errorRange)
        {
            var s = new CppDocExtracter();

            return(AddinManagerDebuger.DebugInAddinManager(s.ExtractCppDoc,
                                                           excelApp, ref errorMessage, ref errorRange));
        }
Esempio n. 2
0
        /// <summary> 提取C++文档信息 </summary>
        private void btn_ExtractCppDoc_Click(object sender, RibbonControlEventArgs e)
        {
            Application app = Globals.ThisAddIn.Application;
            //

            var ps = new CppDoc.CppDocExtracter();

            AddinManagerDebuger.ExecuteInRibbon(ps.ExtractCppDoc
                                                , app, ref _errorMessage, ref _errorRange);
        }