随笔分类 -  WinForm

摘要:编写成右键事件: 1 private void 复制ToolStripMenuItem_Click(object sender, EventArgs e) 2 { 3 var cellText = this.dataGridView1.CurrentCell.Value == null ? "" : 阅读全文
posted @ 2020-05-12 09:24 智者见智 阅读(1470) 评论(0) 推荐(0) 编辑
摘要:1 /// <summary> 2 /// 导出数据到CSV文件 3 /// </summary> 4 /// <param name="fileName"></param> 5 /// <param name="table"></param> 6 private void ExportDataTo 阅读全文
posted @ 2020-05-12 09:19 智者见智 阅读(1471) 评论(0) 推荐(0) 编辑
摘要:效果图: 主要代码: Form1.cs using System; using System.Drawing; using System.IO; using System.Runtime.InteropServices; using System.Windows.Forms; namespace W 阅读全文
posted @ 2019-12-04 15:37 智者见智 阅读(1911) 评论(2) 推荐(0) 编辑
摘要:准备工作 1. 编写完成的WinForm程序 2. 安装部署项 VS2010中有一个自带的安装部署项目,叫:Visual Studio Installer ,通常称为:setup项目,是一个用于自定义安装部署的项目方案。但是在VS2017、VS2019中均不见了,安装程序组件中也没有。So,下载链接 阅读全文
posted @ 2019-10-15 15:18 智者见智 阅读(940) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示