摘要: 适用于 .NET 5.0 Preview 4 .NET Core 3.1 3.0 2.2 2.1 2.0 .NET Framework 4.8 4.7.2 4.7.1 4.7 4.6.2 4.6.1 4.6 4.5.2 4.5.1 4.5 4.0 3.5 3.0 2.0 1.1 .NET Stand 阅读全文
posted @ 2020-06-08 11:26 上帝视角 阅读(135) 评论(0) 推荐(0) 编辑
摘要: private Stream GetThumbnailImage(string imgPath, int widht = 50, int height = 50) { try { if (string.IsNullOrEmpty(imgPath)) { //imgPath = ConfigSetti 阅读全文
posted @ 2020-05-21 10:24 上帝视角 阅读(656) 评论(0) 推荐(0) 编辑
摘要: CAD环境下DWG转PDF Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click Dim f As FileInfo = New FileInfo("E:\j9-FwfeplGMIpixSq 阅读全文
posted @ 2020-05-13 15:59 上帝视角 阅读(1226) 评论(3) 推荐(0) 编辑
摘要: private void button1_Click(object sender, EventArgs e) { string dpath = @"E:\j9-FwfeplGMIpixSqiD9d.dxf"; string ppath = @"E:\j9-FwfeplGMIpixSqiD9d.pdf 阅读全文
posted @ 2020-05-08 14:42 上帝视角 阅读(725) 评论(0) 推荐(0) 编辑
摘要: Public Sub Dwg2Pdf(ByVal files As List(Of FileInfo)) If files.Count = 0 Then Return End If Dim doc As AcadDocument = Nothing Dim destPath As String = 阅读全文
posted @ 2020-05-08 12:03 上帝视角 阅读(697) 评论(3) 推荐(0) 编辑
摘要: Shared Function AllHttpRequest(ByVal url As String, ByVal verb As String, ByVal postVars As String) As ResultDto Dim resultDto As ResultDto = New Resu 阅读全文
posted @ 2020-04-30 11:39 上帝视角 阅读(703) 评论(1) 推荐(0) 编辑
摘要: Imports System.Reflection Imports NPOI.SS.UserModel Imports NPOI.XSSF.UserModel Imports NPOI.HSSF.UserModel Imports System.IO Imports System.Windows.F 阅读全文
posted @ 2020-04-13 17:19 上帝视角 阅读(1025) 评论(0) 推荐(0) 编辑
摘要: '绑定不同按钮 Private Sub dataView__CellPainting(sender As Object, e As DataGridViewCellPaintingEventArgs) Handles dataView.CellPainting If e.ColumnIndex >= 阅读全文
posted @ 2020-04-10 15:48 上帝视角 阅读(404) 评论(0) 推荐(0) 编辑
摘要: 粘贴excel信息 Function pasteExcel(ByVal DGV As DataGridView) Try ' 当前单元格是否选择的判断 If DGV.CurrentCell Is Nothing Then Return (0) End If If DGV.Rows.Count = 1 阅读全文
posted @ 2020-03-23 17:33 上帝视角 阅读(211) 评论(0) 推荐(0) 编辑
摘要: Private Sub ExcelInputSeleteListFrm_KeyDown(sender As Object, e As KeyEventArgs) Handles MyBase.KeyDown If e.Control And e.KeyCode = Keys.V Then paste 阅读全文
posted @ 2020-03-23 17:31 上帝视角 阅读(267) 评论(0) 推荐(0) 编辑