Click here to Skip to main content
15,888,984 members
Home / Discussions / C#
   

C#

 
SuggestionRe: Using IList.Contains<> to search nested members? Pin
Matt T Heffron21-Aug-12 15:11
professionalMatt T Heffron21-Aug-12 15:11 
GeneralRe: Using IList.Contains to search nested members? Pin
JoeRip21-Aug-12 15:15
JoeRip21-Aug-12 15:15 
GeneralRe: Using IList.Contains to search nested members? Pin
Matt T Heffron21-Aug-12 15:27
professionalMatt T Heffron21-Aug-12 15:27 
AnswerRe: Using IList.Contains<> to search nested members? Pin
BobJanova22-Aug-12 0:41
BobJanova22-Aug-12 0:41 
Questionplz help with ghe following.... Pin
joy madalane21-Aug-12 12:59
joy madalane21-Aug-12 12:59 
AnswerRe: plz help with ghe following.... Pin
Wes Aday21-Aug-12 15:49
professionalWes Aday21-Aug-12 15:49 
JokeRe: plz help with ghe following.... Pin
Mycroft Holmes21-Aug-12 20:07
professionalMycroft Holmes21-Aug-12 20:07 
AnswerRe: plz help with ghe following.... Pin
OriginalGriff21-Aug-12 21:09
mveOriginalGriff21-Aug-12 21:09 
As with any task, the first thing to do is break it down into chunks, and then concentrate on each chunk at a time.
Fortunately, this is already done.

You have a form. Add a TabControl. The first page handle person details,. so name it appropriately, and set the TabPage Text to "People" or similar.
Now look at what it needs to contain:
1) A combo box.
2) Details about the person - this will depend on the data you have stored,. so that is up to you.
3) A second combo will select the type - employee or client.
...
And so forth.

Just take it in stages, it is only complicated if you try to do it all at once.

The only thing I would say is that you should be prepared to make some wrong decisions - we all do - so don't be fixated on what you have created so far, be prepared to bin it and start again with the benefit of hindsight. (But back it up first, so you can change your mind).

Personally, I would create a Person class, and a UserControl to display the Person detail, and add one of those to the panel instead of a pile of separate controls, but that assumes that your course has reached that point.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

GeneralRe: plz help with ghe following.... Pin
joy madalane21-Aug-12 21:27
joy madalane21-Aug-12 21:27 
GeneralRe: plz help with ghe following.... Pin
OriginalGriff21-Aug-12 21:47
mveOriginalGriff21-Aug-12 21:47 
QuestionDifferent object depending on variable value Pin
suzyb21-Aug-12 3:50
suzyb21-Aug-12 3:50 
AnswerRe: Different object depending on variable value Pin
OriginalGriff21-Aug-12 4:06
mveOriginalGriff21-Aug-12 4:06 
GeneralRe: Different object depending on variable value Pin
Pete O'Hanlon21-Aug-12 4:31
mvePete O'Hanlon21-Aug-12 4:31 
AnswerRe: Different object depending on variable value Pin
Pete O'Hanlon21-Aug-12 4:40
mvePete O'Hanlon21-Aug-12 4:40 
AnswerRe: Different object depending on variable value Pin
Eddy Vluggen21-Aug-12 4:53
professionalEddy Vluggen21-Aug-12 4:53 
GeneralRe: Different object depending on variable value Pin
suzyb21-Aug-12 5:40
suzyb21-Aug-12 5:40 
GeneralRe: Different object depending on variable value Pin
Eddy Vluggen21-Aug-12 5:46
professionalEddy Vluggen21-Aug-12 5:46 
AnswerRe: Different object depending on variable value Pin
jschell22-Aug-12 8:50
jschell22-Aug-12 8:50 
QuestionAutomatically optimize all tables in a MySQL database Pin
Alagiri.periyasamy@merrillcorp.com21-Aug-12 1:46
Alagiri.periyasamy@merrillcorp.com21-Aug-12 1:46 
AnswerRe: Automatically optimize all tables in a MySQL database Pin
Eddy Vluggen21-Aug-12 1:51
professionalEddy Vluggen21-Aug-12 1:51 
GeneralRe: Automatically optimize all tables in a MySQL database Pin
Alagiri.periyasamy@merrillcorp.com21-Aug-12 2:05
Alagiri.periyasamy@merrillcorp.com21-Aug-12 2:05 
AnswerRe: Automatically optimize all tables in a MySQL database Pin
Eddy Vluggen21-Aug-12 2:17
professionalEddy Vluggen21-Aug-12 2:17 
QuestionLinq - Conditions for two categories in parallel Pin
Ronenb21-Aug-12 1:18
Ronenb21-Aug-12 1:18 
AnswerRe: Linq - Conditions for two categories in parallel Pin
Wayne Gaylard21-Aug-12 3:21
professionalWayne Gaylard21-Aug-12 3:21 
AnswerMessage Removed Pin
21-Aug-12 3:40
professionalN_tro_P21-Aug-12 3:40 

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.