摘要:代码如下: 1 Public Class NumericTextBox 2 Inherits System.Windows.Forms.TextBox 3 4 #Region " Windows Form Designer generated code " 5 6 Public Sub New() 7 MyBase.New() 8 9 'This call is required by the Windows Form Designer.10 InitializeComponent()11 12 'Add any initialization af...
阅读全文
文章分类 - VB/VBA
摘要:VB.NET设计旋转文本控件代码如下: 1 Public Class TextRotator 2 Inherits System.Windows.Forms.Control 3 4 Private msngRotationAngle As Single = 0 5 6 Public Property RotationAngle() As Single 7 Get 8 Return msngRotationAngle 9 End Get10 Set(ByVal Value As Single)11 If (msngRotationA...
阅读全文
摘要:VB.NET多线程编程技术 介绍 传统的Visual Basic开发人员已经建立了同步应用程序,在这些程序中事务按顺序执行。尽管由于多个事务多多少少地同时运行使多线程应用程序效率更高,但是使用先前版本的Visual Basic很难建立这类程序。 多线程程序是可行的,因为操作系统是多任务的,它有模拟同
阅读全文