摘要: 官网地址:https://packagecontrol.io/installation INSTALLATION Simple The simplest method of installation is through the Sublime Text console. The console i 阅读全文
posted @ 2016-09-23 10:19 刘岩Tony 阅读(1434) 评论(0) 推荐(0) 编辑
摘要: AppDomain appDomain = AppDomain.CurrentDomain; Configuration config = ConfigurationManager.OpenExeConfiguration(Path.Combine(appDomain.BaseDirectory, "XXX.dll")); ... 阅读全文
posted @ 2016-06-02 17:15 刘岩Tony 阅读(1047) 评论(0) 推荐(0) 编辑
摘要: Is there a way to share data between a VSTO add in and an Excel DNA add in? Or can the Excel DNA add in be loaded into the VSTO's app domain? The Exce 阅读全文
posted @ 2016-05-26 21:28 刘岩Tony 阅读(854) 评论(0) 推荐(2) 编辑
摘要: 1.通过NuGet添加程序集的相关引用 Install-Package System.Data.SQLite 2.安装类似SQL的插件 地址:http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki 注意:1.现在支持 阅读全文
posted @ 2016-04-26 15:19 刘岩Tony 阅读(942) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Globalization; using System.IO; using System.Security.Cryptography; using System.Text; namespace Utils { /// /// 密码加密解密操作相关类 /// public class PassWordHel... 阅读全文
posted @ 2016-03-30 17:20 刘岩Tony 阅读(973) 评论(0) 推荐(1) 编辑
摘要: 如何通过使用Excel DNA给Excel添加一个自定义的函数? 1.在类库项目上新建一个类文件,我们姑且叫他MyUdf.cs 2.在这个类中添加一个静态的方法,具体写法如下:注意:一定要是静态的方法   3.特性解释: 4.在Excel单元格输入=Say(),就会发现惊喜 阅读全文
posted @ 2016-03-14 10:31 刘岩Tony 阅读(3518) 评论(0) 推荐(0) 编辑
摘要: 这是第一篇关于Excel DNA的学习笔记,至于为什么会使用Excel DNA,以及它与VSTO的对比不做阐述,在使用之前应该是查阅了相关的文档以及资料进行过对比,所以才选择了Excel DNA。 我们使用的是vs2013,虽然现在是2016年3月,vs2015已经出了,但是项目组里用的是vs201 阅读全文
posted @ 2016-03-14 10:13 刘岩Tony 阅读(8542) 评论(6) 推荐(4) 编辑
摘要: 单例模式的引入在讲解什么是单例模式之前,我们先引入这样一个问题,在Winform开发的过程中,实现点击一个按钮弹出一个窗体,那么怎样控制点击按钮后弹出额窗体只有一个,如果窗体已经弹出,就不再弹出新的窗体。解决方案有如下三种(先做简单的介绍,之后逐一进行详细讲解)方案一:使用ShowDialog()方... 阅读全文
posted @ 2015-07-03 11:30 刘岩Tony 阅读(3425) 评论(7) 推荐(1) 编辑