-
我的开关- Windows 表单控件l
翻译 maninwest@Codeforge 作者:JoelDz@CodeProject该控件是基于 Android 操作系统的 Switch View ,来自 lAPI 级别14。这个控件可以像传统开关一样开和关。背景我不是专业的编程人员。使用这个简单的编程语言我可以创建控件来解决特定需要。 在这里将为你展示使用 Visual Basic .NET 创建用户控件是多么简单。你可以下载项目查看设计和代码。使用代码MySwitch 类有一个重载的构造函数。你可以查看每个负载并初始化需要的属性。首先需要导入命名空间 JDS。 Imports JDS
Dim msSwitch As New MySwitch()这里,我使用默认构造函数,创建一个新的 MySwitch 类实例。这个实例会使用默认的类值。这个控件可以显示每个状态的文本或图像,这是使用ButtonStyle 属性实现的。msSwitch.ButtonStyle = ButtonStyles.Image " To display an image for each state.
msSwitch.ButtonStyle = ButtonStyles.Text " To display text for each state.可以通过属性ActivatedText,DeactivatedText和ActivatedImage,DeactivatedText 确定每个状态的文本和图像。如你所见,根据 ButtonStyle 属性值。每个状态都有伴随的文本或图像。
- 2022-02-03 12:38:42下载
- 积分:1
-
用VC++编写的用以显示aimde分形图的小程序
用VC++编写的用以显示aimde分形图的小程序-with VC++ for the show aimde Fractal small procedures
- 2022-06-02 07:49:09下载
- 积分:1
-
目前已有若干版本的子程序库公开发表,它们各有特色。本程序库中的开平方算法为快速逼近算法,它能达到牛顿迭代法同样的精度,而速度加快二十倍左右,超过双字节定点除法的
目前已有若干版本的子程序库公开发表,它们各有特色。本程序库中的开平方算法为快速逼近算法,它能达到牛顿迭代法同样的精度,而速度加快二十倍左右,超过双字节定点除法的速度。 -there are several versions of the subroutine library published their own characteristics. The library opened in the square approximation algorithm for rapid algorithm, it will reach Newton iteration of the same precision and speed about 20 times, more than double byte sentinel division speed.
- 2022-03-18 14:06:31下载
- 积分:1
-
按钮的颜色可以改变的按钮
按钮的颜色可以改变的按钮-The button which can change its color
- 2022-02-03 03:27:08下载
- 积分:1
-
位图转换成图标的程序
位图转换成图标的程序 -bitmap conversion process icon
- 2022-03-18 10:40:47下载
- 积分:1
-
使你对按钮控件的使用有更深入的了解,以便应用于实际当中...
使你对按钮控件的使用有更深入的了解,以便应用于实际当中-This code may be freely distributable in any application. Ifyou make any changes to the source, please let me know so thatI might make a better version of the class.
- 2022-04-16 23:48:54下载
- 积分:1
-
Will be a straight line two endpoints fixed, the use of controls to achieve twis...
将一条直线两个端点固定,利用控件实现曲折变化,在中心点上以每次5°方式扭转,形成曲折线。-Will be a straight line two endpoints fixed, the use of controls to achieve twists and turns in the center of history for each 5 ° approach to reverse to form a winding line.
- 2022-03-31 05:17:44下载
- 积分:1
-
图形按钮 ImageButton
图形按钮 ImageButton
图形按钮 ImageButton
图形按钮 ImageButton-ImageButton graphic button graphic button ImageButton button ImageButton Graphics
- 2022-08-24 19:56:02下载
- 积分:1
-
本程序讲述如何在对话框中实现3D文本效果, 程序1 3D文本.
本程序讲述如何在对话框中实现3D文本效果, 程序1 3D文本.
-the procedures in the dialog on how to achieve 3D text effects, a process 3D text.
- 2022-04-24 13:02:31下载
- 积分:1
-
本源码是基于Visual C++的,是一种Hot按钮,这种按钮有它独特的一面...
本源码是基于Visual C++的,是一种Hot按钮,这种按钮有它独特的一面-this source is based on Visual C, and it is a Hot button, the button has its unique side
- 2022-02-13 21:54:39下载
- 积分:1