Click here to Skip to main content
15,921,646 members
Home / Discussions / C#
   

C#

 
AnswerRe: Drawlines on different levels Pin
Dave Kreskowiak4-Jan-11 6:27
mveDave Kreskowiak4-Jan-11 6:27 
GeneralRe: Drawlines on different levels Pin
AlexB474-Jan-11 13:57
AlexB474-Jan-11 13:57 
AnswerRe: Drawlines on different levels [Edit] Pin
Paladin20004-Jan-11 9:44
Paladin20004-Jan-11 9:44 
GeneralRe: Drawlines on different levels Pin
Dave Kreskowiak4-Jan-11 10:24
mveDave Kreskowiak4-Jan-11 10:24 
GeneralRe: Drawlines on different levels Pin
Paladin20004-Jan-11 10:51
Paladin20004-Jan-11 10:51 
GeneralRe: Drawlines on different levels Pin
AlexB474-Jan-11 13:58
AlexB474-Jan-11 13:58 
Questionhelp with realization Pin
polycom1234-Jan-11 4:54
polycom1234-Jan-11 4:54 
AnswerRe: help with realization Pin
Luc Pattyn4-Jan-11 5:00
sitebuilderLuc Pattyn4-Jan-11 5:00 
OK. Lets have a generic list of some type (Button to start with) for the first panel, and similar for the second. Then hold an integer index variable into the list. Next, have the form preview your keyboard input, check for an arrow key, and modify the appropriate index variable (make sure to check for boundary values, so you don't exceed the range of the list).

The items in your list could better be instances of a little class, that holds the Button itself, the file name, and whatever else you may want it to hold.

And finally, you could make a custom Panel-derived class that does the above (scanning a folder, creating your objects, showing the buttons, holding the list, etc.), as you basically need the same thing twice.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] [My CP bug tracking] Nil Volentibus Arduum
Season's Greetings to all CPians.


modified on Tuesday, January 4, 2011 11:13 AM

GeneralRe: help with realization Pin
polycom1234-Jan-11 18:38
polycom1234-Jan-11 18:38 
Questionhow to pass parameters and values with function name in url? Pin
roebuck-code3-Jan-11 22:17
roebuck-code3-Jan-11 22:17 
AnswerRe: how to pass parameters and values with function name in url? PinPopular
Keith Barrow4-Jan-11 0:22
professionalKeith Barrow4-Jan-11 0:22 
GeneralRe: how to pass parameters and values with function name in url? Pin
Dalek Dave4-Jan-11 0:59
professionalDalek Dave4-Jan-11 0:59 
GeneralRe: how to pass parameters and values with function name in url? Pin
roebuck-code4-Jan-11 2:31
roebuck-code4-Jan-11 2:31 
GeneralRe: how to pass parameters and values with function name in url? Pin
Keith Barrow4-Jan-11 3:01
professionalKeith Barrow4-Jan-11 3:01 
GeneralRe: how to pass parameters and values with function name in url? Pin
fjdiewornncalwe4-Jan-11 3:28
professionalfjdiewornncalwe4-Jan-11 3:28 
AnswerRe: how to pass parameters and values with function name in url? Pin
Not Active4-Jan-11 2:34
mentorNot Active4-Jan-11 2:34 
GeneralRe: how to pass parameters and values with function name in url? Pin
roebuck-code4-Jan-11 3:16
roebuck-code4-Jan-11 3:16 
GeneralRe: how to pass parameters and values with function name in url? [modified] Pin
Manfred Rudolf Bihy4-Jan-11 4:21
professionalManfred Rudolf Bihy4-Jan-11 4:21 
GeneralRe: how to pass parameters and values with function name in url? Pin
roebuck-code4-Jan-11 19:57
roebuck-code4-Jan-11 19:57 
GeneralRe: how to pass parameters and values with function name in url? Pin
Manfred Rudolf Bihy5-Jan-11 1:49
professionalManfred Rudolf Bihy5-Jan-11 1:49 
GeneralRe: how to pass parameters and values with function name in url? Pin
roebuck-code5-Jan-11 2:49
roebuck-code5-Jan-11 2:49 
GeneralRe: how to pass parameters and values with function name in url? Pin
Manfred Rudolf Bihy5-Jan-11 3:05
professionalManfred Rudolf Bihy5-Jan-11 3:05 
GeneralRe: how to pass parameters and values with function name in url? [modified] Pin
roebuck-code5-Jan-11 21:55
roebuck-code5-Jan-11 21:55 
AnswerRe: how to pass parameters and values with function name in url? Pin
roebuck-code12-Feb-11 20:13
roebuck-code12-Feb-11 20:13 
QuestionFail to read simple string from the registry ( code attached ) Pin
Yanshof3-Jan-11 21:46
Yanshof3-Jan-11 21:46 

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.