上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页
摘要: 1.Invoke 在主线程中会出现 1 秒钟的阻塞,因为 Invoke 是同步的,而不是创建新线程。 2.BeginInvoke BeginInvoke 会在新线程中执行,并且不会对主线程产生租塞,同时它可以获取自己的返回值,使用EndInvoke实现。 Delegate.BeginInvoke 方 阅读全文
posted @ 2018-11-16 17:00 Kyle0418 阅读(243) 评论(0) 推荐(0) 编辑
摘要: If you want to preview pdf in the winform, you need to make sure Adobe PDF Reader is installed on your computer. Then you can add control "Adobe PDF R 阅读全文
posted @ 2018-11-16 16:36 Kyle0418 阅读(245) 评论(0) 推荐(1) 编辑
摘要: Here is a simple demo by using delegate. Class SurroundingClass Public Delegate Sub Entrust() Private Shared Sub Main(ByVal args As String()) Dim call 阅读全文
posted @ 2018-11-16 11:28 Kyle0418 阅读(1915) 评论(0) 推荐(0) 编辑
摘要: Code Converter C# to VB and VB to C# CodeTranslator: Code Translation From VB.NET <-> C# <-> TypeScript <-> Java 阅读全文
posted @ 2018-11-15 22:07 Kyle0418 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 1.Control.Invoke Invoke 会导致线程的阻塞,但是是顺序执行的, 2.Control.BeginInvoke BeginInvoke 同样会导致线程的阻塞,在执行完主线程(UI线程)后才会执行, 若想要在线程执行结束之前执行 BeginInvoke,可以使用 EndInvoke, 阅读全文
posted @ 2018-11-15 15:03 Kyle0418 阅读(205) 评论(1) 推荐(0) 编辑
摘要: 1.System.Windows.Forms.Timer 直接从 Toolbox 中拖拽 Timer 控件到 Form 上,设置其属性及 Tick 事件, System.Windows.Forms.Timer 中的频率不准确,且和 UI 处于同一线程,易造成假死,但较为方便。 2.System.Ti 阅读全文
posted @ 2018-11-15 13:22 Kyle0418 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Result: Pen的属性主要有: Color(颜色),DashCap(短划线终点形状),DashStyle(虚线样式),EndCap(线尾形状), StartCap(线头形状),Width(粗细)等。 Result: 下面简单实现一下Brush的使用, Result: 下面实现对坐标轴的变换,默 阅读全文
posted @ 2018-11-15 10:50 Kyle0418 阅读(615) 评论(0) 推荐(0) 编辑
摘要: The button "Insert" on the PC's keyboard can switch the input mode, insert and overtype. Here implement the mode "overtype" in MaskedTextBox. When usi 阅读全文
posted @ 2018-11-14 16:35 Kyle0418 阅读(162) 评论(0) 推荐(0) 编辑
摘要: A,a 字母与数字 # 数字"0-9",空格,"+-" 9 数字"0-9",空格 0 数字"0-9"(空格也可以?) L,? 字母(有区别,未找出) &,C 任意字符(有区别,未找出) . 小数点占位符 , 千分位占位符 : 时间分隔符 / 日期分隔符 $ 货币符号 < 后续字符转为小写 > 后续字 阅读全文
posted @ 2018-11-14 10:52 Kyle0418 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Here is a demo, private void Form1_Load(object sender, EventArgs e) { chart1.Titles.Add("New Title"); chart1.ChartAreas[0].Axes[0].MajorGrid.Enabled = 阅读全文
posted @ 2018-11-13 17:18 Kyle0418 阅读(171) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 19 下一页