我试图提出一个清单,审视一下这样的情况:
Edited: 清单调查有一位定制头目,选定栏目以另一个颜色为突出,栏目可以重新编号,可以定制,图象中可以发现任何其他东西。
使用VB进行这种控制是现实的。 NET? 如果是这样,你会建议从哪里开始? 任何帮助都会受到高度赞赏。
我试图提出一个清单,审视一下这样的情况:
Edited: 清单调查有一位定制头目,选定栏目以另一个颜色为突出,栏目可以重新编号,可以定制,图象中可以发现任何其他东西。
使用VB进行这种控制是现实的。 NET? 如果是这样,你会建议从哪里开始? 任何帮助都会受到高度赞赏。
你们所展示的形象比一份名单更像一个数据单,如果你愿意花钱的话,那么你可以使用的许多第三方产品,如部件。
Edited Answer:
Just use a DataGridView . I m pretty sure all the elements can be styled the way you want.
如果需要一个网页,那么你只能用html和cs建立一个桌子。
Should be possible... but is definitely not easy (at least for me).
I m doing around with a custom listview (added some functionality and new properties) by myself but have no experience with custom drawing. What i know is, that you have to do a complete custom drawing for a result like in the picture. I tried custom drawing once because i wanted alternating line background colors, custom grid-lines and -color and also a custom highlight color but gave up for now because i had proplems with displaying checkboxes (the display style of them) in the lines and deceided that i use the default style for now in my app. I got the alternating background for the rows working due to a different approach (firing custom event using a modified ListViewItemCollection) but still want to have a custom grid one day.
迄今为止,我从未使用过《数据Grid》的意见,因此,我可以就此说任何话,但我认为,应该能够扩大名单,以完成你想要做的事情(取决于必要的功能)。
A good starting point should be to just inherit a listview, set it to OwnerDraw and play around with the related events (OnDrawColumnHeader, OnDrawSubItem, OnDrawItem).
You can also take a look at "ObjectListView", an Open-Source Project with a VERY extended Listview. I wasn t able to get it running because i use VB-Net Express.
I was wondering when I write Shared ReadOnly Variable As DataType = New DataType() Or alternatively Shared ReadOnly Variable As New DataType() Is it lazy loaded or as the instance initializes? ...
I would like to write a little application in VB.NET that will detect a baby s cry. How would I get started with such an application?
I have many fields in the page and the last field is a dropdown with list of values. When I select an item in a dropdown and press Enter, it doesn t do the "Ok". Instead I have to manually click on Ok ...
I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...
On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...
I have a relatively simple question regarding the best way to call the DataGridView.Rows.Add function when it is inherited into the current control. Which is the best way to make the call to the ...
I m trying to create something like a tooltip suddenly hoovering over the mouse pointer when specific words in the richt text box is hovered over. How can this be done?
Can I use two command object with one open connection in one procedure at VB.NET?