Description: The motivation behind the custom bitmap control was to allow different bitmap images to be displayed for each of the button states. This includes disabled, normal, mouse over, and button pressed. In addition to the button graphics, it was important to include button text and control the alignment of the text with regards to the button image. It follows an XP style look and feel with some embellishments that are unique to it. Platform: |
Size: 10240 |
Author:王小文 |
Hits:
Description: 漂亮的按钮控件,以小动物的形式显示.能使你的程序界面看上去更形象生动.具有与众不同的亮点-Beautiful button control to the form of small animal show. The program interface allows you to look more vivid image. Has a distinct bright spot Platform: |
Size: 10240 |
Author:汤云杰 |
Hits:
Description: 数据库文件为ImageDatabase,其中表名为:Image,里面已有5组图像信息的数据,包括图像序号,图像名称
图像宽度,图像高度和像素深度。
ConnectionDemo文件夹里面是C#源程序
双击第二个生成好的solution文件,然后可以打开项目文件,点击“解决方案资源管理器”的“Form1.cs”文件可以
看到winform界面。
实现了以下几个功能:
1)."连接数据库测试",即c#和数据库连接,如果连接成功,则会显示“连接数据库成功”的显示框。
2)“向数据库中加入数据”,在左边的图像信息数据库几个文本框中输入数据以后,然后点击“向数据库中加入数据”
按钮,则会向数据库中添加数据,你可以打开数据库ImageDatabase的表Image,查看你加的数据是否写入到数据库中
从而可以验证程序的正确性。
3)“查询插入的数据信息”可以显示你刚添加的数据信息,并以Messagebox形式显示出来,这里实现的只是显示数据库中
-1 I establish the database file for the ImageDatabase, wherein the table name : Image, which already has 5 sets of image data, including image sequence, image nameImage width, height and depth of image pixels.The 2.ConnectionDemo folder there is a C# source ( my computer is used in the 2008 version, do not know in 2005 whether can also be used, if there are any problems contact me again! )3 double-click the second generated a good solution file, then you can open the project file, click on" the solution explorer" "Form1.cs" files can beSee the WinForm interface.4 here I carry out the following functions:1)." To connect to the database test", namely c# and the database connection, if the connection is successful, it will display" to connect to the database successfully" display box.2)" to the database by adding data", in the left image information database for text data, then click on" add data to the database"Button, will be adding to the database data, you can open the database table Platform: |
Size: 1451008 |
Author:ssaye |
Hits:
Description: winform C#事件主要是用Click事件(当BUTTON获得焦点,按Enter时也会触发)
注意:如果在按钮上单击了鼠标左键,然后把鼠标移动到其他位置,再释放鼠标,将不会引发Click事件
可以在按钮中添加自定义事件
-Usage and usage BUTTON in DELPHI similar attributes to note are as follows
The BackColor background color
DialogResult click the returned DialogResult value (None, OK, Cancel, Abort, Retry, Ignore, Yes, No)
FlatStyle set the button style
Image Add Image (Note the picture ImageIndex)
AlignImage picture in a display position of the buttons
The TextAlign text display position in the button
Tag button to add object Platform: |
Size: 61440 |
Author:张胜 |
Hits: