Click here to Skip to main content
15,917,320 members
Home / Discussions / C#
   

C#

 
AnswerRe: Convert string to property name? Pin
N a v a n e e t h5-Dec-09 19:39
N a v a n e e t h5-Dec-09 19:39 
GeneralRe: Convert string to property name? Pin
BDJones6-Dec-09 5:12
BDJones6-Dec-09 5:12 
AnswerRe: Convert string to property name? Pin
PIEBALDconsult5-Dec-09 21:20
mvePIEBALDconsult5-Dec-09 21:20 
GeneralRe: Convert string to property name? Pin
BDJones6-Dec-09 5:15
BDJones6-Dec-09 5:15 
QuestionSimple Example of using Enum Type why we use them? Pin
Rameez Raja5-Dec-09 18:24
Rameez Raja5-Dec-09 18:24 
AnswerRe: Simple Example of using Enum Type why we use them? Pin
PIEBALDconsult5-Dec-09 18:32
mvePIEBALDconsult5-Dec-09 18:32 
Questioninserting words into tablelayout Pin
someone295-Dec-09 15:53
someone295-Dec-09 15:53 
AnswerRe: inserting words into tablelayout Pin
Luc Pattyn5-Dec-09 16:21
sitebuilderLuc Pattyn5-Dec-09 16:21 
Hi,

please use PRE tags to show code.
and show real code, something that might be acceptable to a compiler.
your code is filled with minor mistakes.

also don't create new Random() instances all the time, use one Random() over and over.

Add a Click handler to each Label, so you can change its color; you can reuse the handler for all Labels, and use its sender to identify which Label got clicked.

From what you show and ask, I expect you are pretty new to C#, and would benefit from studying a C# book to properly learn the basics.

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


QuestionWhy does ReSharper implement Equals like this? Pin
CaptainSeeSharp5-Dec-09 15:16
CaptainSeeSharp5-Dec-09 15:16 
AnswerRe: Why does ReSharper implement Equals like this? Pin
N a v a n e e t h5-Dec-09 16:52
N a v a n e e t h5-Dec-09 16:52 
QuestionAdd a dynamic number of labels to form or panel Pin
bolikej5-Dec-09 12:54
bolikej5-Dec-09 12:54 
AnswerRe: Add a dynamic number of labels to form or panel Pin
Luc Pattyn5-Dec-09 13:00
sitebuilderLuc Pattyn5-Dec-09 13:00 
QuestionStopping remote services with WMI 'RPC not available' Pin
Jacob Dixon5-Dec-09 9:05
Jacob Dixon5-Dec-09 9:05 
AnswerRe: Stopping remote services with WMI 'RPC not available' Pin
Jacob Dixon5-Dec-09 9:15
Jacob Dixon5-Dec-09 9:15 
Questionmove the object Pin
machisiou5-Dec-09 5:48
machisiou5-Dec-09 5:48 
AnswerRe: move the object Pin
Luc Pattyn5-Dec-09 6:01
sitebuilderLuc Pattyn5-Dec-09 6:01 
QuestionClass Diagram Code Generation Pin
Randal Vance Cunanan5-Dec-09 5:39
Randal Vance Cunanan5-Dec-09 5:39 
AnswerRe: Class Diagram Code Generation Pin
Tony Richards5-Dec-09 5:59
Tony Richards5-Dec-09 5:59 
GeneralRe: Class Diagram Code Generation Pin
Randal Vance Cunanan5-Dec-09 6:03
Randal Vance Cunanan5-Dec-09 6:03 
GeneralRe: Class Diagram Code Generation Pin
0x3c05-Dec-09 6:38
0x3c05-Dec-09 6:38 
GeneralRe: Class Diagram Code Generation Pin
Randal Vance Cunanan5-Dec-09 11:58
Randal Vance Cunanan5-Dec-09 11:58 
GeneralRe: Class Diagram Code Generation Pin
Rozis5-Dec-09 13:18
Rozis5-Dec-09 13:18 
GeneralRe: Class Diagram Code Generation Pin
Randal Vance Cunanan5-Dec-09 16:21
Randal Vance Cunanan5-Dec-09 16:21 
GeneralRe: Class Diagram Code Generation Pin
0x3c05-Dec-09 19:55
0x3c05-Dec-09 19:55 
GeneralRe: Class Diagram Code Generation Pin
Randal Vance Cunanan5-Dec-09 19:57
Randal Vance Cunanan5-Dec-09 19:57 

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.