摘要: 首先在窗体构造方法里加入: InitializeComponent(); this.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.pMouseWheel); 然后编写一个鼠标事件: private void pMouseW 阅读全文
posted @ 2020-03-09 09:52 小大大小 阅读(3498) 评论(0) 推荐(0) 编辑
摘要: C#中对Excel文件执行写数据操作: 先编写一个函数 private static string CPath(string path) { var index = path.LastIndexOf("/"); var temp = path.Substring(0, index); if (!Di 阅读全文
posted @ 2020-03-09 09:36 小大大小 阅读(512) 评论(0) 推荐(0) 编辑