Click here to Skip to main content
15,890,186 members
Home / Discussions / C#
   

C#

 
QuestionNeed Help with Assignment board logic. Pin
Aspylacide27-Jun-16 15:38
Aspylacide27-Jun-16 15:38 
Hello,

What I need is a table with two columns.

1 column gives an assignment such as "Baker" or "Miller".
column #2 is where a user can enter a name anytime, on the fly.

The logic will assign person X to the "Baker" or "Miller" role.

The issue here is that the Person class has many more attributes. And I'll need to make this so if someone is assigned the "Miller" role, then it can assign the "Miller" to the proper "environment" class. E.g. "Bob" is a "Miller" and should work in a "Bakery".

So far, I have a People class, a Jobs class, and an Environment class. I was thinking of having the Jobs class inherit the people class to use their functions, and the environment class inherit from the jobs class... But now I'm thinking this won't work at all and am a bit confused.

Any thoughts would be GREATLY appreciated.
AnswerRe: Need Help with Assignment board logic. Pin
Gerry Schmitz27-Jun-16 19:52
mveGerry Schmitz27-Jun-16 19:52 
AnswerRe: Need Help with Assignment board logic. Pin
Nathan Minier28-Jun-16 1:49
professionalNathan Minier28-Jun-16 1:49 
AnswerRe: Need Help with Assignment board logic. Pin
BillWoodruff28-Jun-16 4:39
professionalBillWoodruff28-Jun-16 4:39 
GeneralRe: Need Help with Assignment board logic. Pin
Aspylacide28-Jun-16 13:34
Aspylacide28-Jun-16 13:34 
AnswerRe: Need Help with Assignment board logic. Pin
Aspylacide28-Jun-16 14:02
Aspylacide28-Jun-16 14:02 
SuggestionRe: Need Help with Assignment board logic. Pin
Aspylacide29-Jun-16 12:25
Aspylacide29-Jun-16 12:25 
Questionc# project Pin
Member 1260671027-Jun-16 11:21
Member 1260671027-Jun-16 11:21 
AnswerRe: c# project Pin
OriginalGriff27-Jun-16 19:44
mveOriginalGriff27-Jun-16 19:44 
QuestionCreate update for your program in C# Pin
Bilal PC27-Jun-16 9:32
Bilal PC27-Jun-16 9:32 
AnswerRe: Create update for your program in C# Pin
Dave Kreskowiak27-Jun-16 10:00
mveDave Kreskowiak27-Jun-16 10:00 
GeneralThis question is removed Pin
lokeshnj27-Jun-16 4:32
lokeshnj27-Jun-16 4:32 
AnswerRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Eddy Vluggen27-Jun-16 7:29
professionalEddy Vluggen27-Jun-16 7:29 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Jim_Snyder30-Jun-16 4:18
professionalJim_Snyder30-Jun-16 4:18 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Eddy Vluggen30-Jun-16 4:21
professionalEddy Vluggen30-Jun-16 4:21 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Jim_Snyder30-Jun-16 4:27
professionalJim_Snyder30-Jun-16 4:27 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Eddy Vluggen30-Jun-16 7:58
professionalEddy Vluggen30-Jun-16 7:58 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Jim_Snyder1-Jul-16 3:13
professionalJim_Snyder1-Jul-16 3:13 
GeneralRe: I have requirement to compare two list or any container which is feasible for the requirement in C#.net Pin
Jim_Snyder30-Jun-16 4:33
professionalJim_Snyder30-Jun-16 4:33 
Questionhow to fire up the message receive handler on runtime? Pin
Member 1255232425-Jun-16 23:46
Member 1255232425-Jun-16 23:46 
AnswerRe: how to fire up the message receive handler on runtime? Pin
OriginalGriff26-Jun-16 1:13
mveOriginalGriff26-Jun-16 1:13 
QuestionCommand Binding Pin
Member 1245711024-Jun-16 3:46
Member 1245711024-Jun-16 3:46 
AnswerRe: Command Binding Pin
Gerry Schmitz24-Jun-16 4:21
mveGerry Schmitz24-Jun-16 4:21 
AnswerRe: Command Binding Pin
Bernhard Hiller26-Jun-16 21:11
Bernhard Hiller26-Jun-16 21:11 
AnswerRe: Command Binding Pin
Pete O'Hanlon26-Jun-16 22:00
mvePete O'Hanlon26-Jun-16 22:00 

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.