-
我的开关- 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
-
我都说了我是个学生了嘛,只不过想找个原代码而已,为什么要我上传这么多的代码呢...
我都说了我是个学生了嘛,只不过想找个原代码而已,为什么要我上传这么多的代码呢-I can say that I am a student is just simply wanted to find a source it, why should I upload the code so much?
- 2022-07-09 12:38:34下载
- 积分:1
-
attributes in the pages left to join a pushpin button familiar with the Microsof...
在属性页的左边加入一个图钉按纽,熟悉Microsoft Developer Stdio的朋友一定很熟悉(16KB)-attributes in the pages left to join a pushpin button familiar with the Microsoft Developer Stdio friends must be very familiar with (16KB)
- 2023-08-30 00:55:04下载
- 积分:1
-
在mfc下制作一个gif按钮,有源码,已经在VC调试通过
在mfc下制作一个gif按钮,有源码,已经在VC调试通过-The mfc produced under a gif button, there is source code, has been adopted in the VC debugger
- 2022-03-02 01:29:53下载
- 积分:1
-
Look under the U.S., reliable reliable method method method method method of Fra...
看看美国、法国和法国的可靠方法
- 2022-02-20 18:09: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
-
derived from CButton CImageButtonWithStyle category, such can be achieved on the...
从CButton派生出类CImageButtonWithStyle,该类可以实现在按钮上显示图形包括icon,bitmap等-derived from CButton CImageButtonWithStyle category, such can be achieved on the button to display graphics including icon, bitmap, etc.
- 2022-01-25 17:56:59下载
- 积分:1
-
非常好的操作元器件的画图源程序。可移植性强
非常好的操作元器件的画图源程序。可移植性强-Very good source operating components of the drawing. Portability strong
- 2022-02-02 03:51:11下载
- 积分:1
-
单选按钮(RadioButton)控件为用户提供由两个或多个互斥选项组成的选项集,用户可从单选按钮组中选择一个且只能选择一个。...
单选按钮(RadioButton)控件为用户提供由两个或多个互斥选项组成的选项集,用户可从单选按钮组中选择一个且只能选择一个。-radio buttons (RadioButton) controls to provide users with two or more mutually exclusive options set of options, users can group from the radio button to choose one which can only choose one.
- 2022-04-30 18:50:10下载
- 积分:1
-
一个可以用来可以作为仪表开关的控件(旋转开关)
一个可以用来可以作为仪表开关的控件(旋转开关)- May use for to be allowed to control as the meter switch (turn
switch)
- 2023-06-19 23:50:03下载
- 积分:1