Click here to Skip to main content
15,891,372 members
Home / Discussions / C#
   

C#

 
AnswerRe: Close wrod corrctly, it's possile? Pin
Not Active21-May-11 16:00
mentorNot Active21-May-11 16:00 
AnswerRe: Close wrod corrctly, it's possile? Pin
GenJerDan21-May-11 17:01
GenJerDan21-May-11 17:01 
GeneralRe: Close wrod corrctly, it's possile? Pin
abbd22-May-11 5:56
abbd22-May-11 5:56 
GeneralRe: Close wrod corrctly, it's possile? Pin
GenJerDan22-May-11 7:41
GenJerDan22-May-11 7:41 
GeneralRe: Close wrod corrctly, it's possile? Pin
abbd22-May-11 10:13
abbd22-May-11 10:13 
GeneralRe: Close wrod corrctly, it's possile? [modified] Pin
GenJerDan23-May-11 3:20
GenJerDan23-May-11 3:20 
QuestionDynamically generate link labels (open to alternatives if necessary) Pin
Matt U.21-May-11 8:18
Matt U.21-May-11 8:18 
AnswerRe: Dynamically generate link labels (open to alternatives if necessary) Pin
Luc Pattyn21-May-11 8:50
sitebuilderLuc Pattyn21-May-11 8:50 
Hi,

I would say LinkLabels work exactly the same as regular Labels; you can add them through Visual Designer, or by executing some code (All Visual Designer ever does is generating such code, typically in a file with a name ending on Designer.cs).

However, if your data is structured, you should not be using individual labels or linklabels. Consider using a DataGridView instead. It is a more complex control, however it knows about rows and columns (pretty much like a table in a database), you can make it hold any number of rows automatically, have it scroll when its content grows beyond its borders. And you can make it load its data automatically through "data binding".

Some more features that may interest you:
- choose how the data looks in each column, or even in individual cells;
- react to a cell being clicked;
- get the rows sorted based on the column header you click.

Mind you, if you have never used it, it may take some reading up to get acquainted.
I have one example on-line, in my article CP Vanity[^]. It is not the simplest example one could come up with, however it could give you an idea of what is possible.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: Dynamically generate link labels (open to alternatives if necessary) Pin
Matt U.21-May-11 8:59
Matt U.21-May-11 8:59 
AnswerRe: Dynamically generate link labels (open to alternatives if necessary) Pin
Luc Pattyn21-May-11 9:10
sitebuilderLuc Pattyn21-May-11 9:10 
GeneralRe: Dynamically generate link labels (open to alternatives if necessary) Pin
Matt U.21-May-11 10:28
Matt U.21-May-11 10:28 
AnswerRe: Dynamically generate link labels (open to alternatives if necessary) Pin
Luc Pattyn21-May-11 10:34
sitebuilderLuc Pattyn21-May-11 10:34 
Questionget the unicode of a character in c# Pin
prasadbuddhika20-May-11 22:44
prasadbuddhika20-May-11 22:44 
AnswerRe: get the unicode of a character in c# Pin
Daniel Scott20-May-11 23:05
Daniel Scott20-May-11 23:05 
GeneralRe: get the unicode of a character in c# Pin
prasadbuddhika20-May-11 23:22
prasadbuddhika20-May-11 23:22 
QuestionNotImplementedExpression System.Collections.ListDictionaryInternal --> Error in Print-Preview in XP Pin
Pfotenhauer20-May-11 22:33
Pfotenhauer20-May-11 22:33 
AnswerRe: NotImplementedExpression System.Collections.ListDictionaryInternal --> Error in Print-Preview in XP Pin
phil.o21-May-11 0:36
professionalphil.o21-May-11 0:36 
AnswerRe: NotImplementedExpression System.Collections.ListDictionaryInternal --> Error in Print-Preview in XP Pin
Pfotenhauer21-May-11 1:20
Pfotenhauer21-May-11 1:20 
AnswerRe: NotImplementedExpression System.Collections.ListDictionaryInternal --> Error in Print-Preview in XP Pin
Luc Pattyn21-May-11 2:19
sitebuilderLuc Pattyn21-May-11 2:19 
AnswerRe: NotImplementedExpression System.Collections.ListDictionaryInternal --> Error in Print-Preview in XP Pin
Pfotenhauer21-May-11 5:26
Pfotenhauer21-May-11 5:26 
AnswerRe: NotImplementedExpression System.Collections.ListDictionaryInternal --> Error in Print-Preview in XP Pin
Luc Pattyn21-May-11 5:39
sitebuilderLuc Pattyn21-May-11 5:39 
QuestionProblem with Process.Start("WINWORD.EXE", selectedFile); [modified] Pin
_Q12_20-May-11 6:51
_Q12_20-May-11 6:51 
AnswerRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
Dave Kreskowiak20-May-11 7:02
mveDave Kreskowiak20-May-11 7:02 
GeneralRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
_Q12_20-May-11 7:25
_Q12_20-May-11 7:25 
AnswerRe: Problem with Process.Start("WINWORD.EXE", selectedFile); Pin
Luc Pattyn20-May-11 7:37
sitebuilderLuc Pattyn20-May-11 7:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.