Click here to Skip to main content
15,896,118 members
Home / Discussions / C#
   

C#

 
Questionhow to use *msg in C# ? Pin
fu017-May-04 15:31
fu017-May-04 15:31 
AnswerRe: how to use *msg in C# ? Pin
Heath Stewart18-May-04 3:54
protectorHeath Stewart18-May-04 3:54 
GeneralDataTable - DataGrid Pin
moonboy17-May-04 14:33
moonboy17-May-04 14:33 
GeneralRe: DataTable - DataGrid Pin
Jay Shankar17-May-04 16:07
Jay Shankar17-May-04 16:07 
GeneralRe: DataTable - DataGrid Pin
Moon Boy17-May-04 18:20
Moon Boy17-May-04 18:20 
GeneralRe: DataTable - DataGrid Pin
Jay Shankar17-May-04 20:34
Jay Shankar17-May-04 20:34 
GeneralRe: DataTable - DataGrid Pin
Heath Stewart18-May-04 3:55
protectorHeath Stewart18-May-04 3:55 
GeneralA strange question I think Pin
Christer Claesson17-May-04 12:16
Christer Claesson17-May-04 12:16 
I have this project in school, doing a project and while the code is the small part(main thing is learning use RUP and so on) it is still kinda tricky. Not codewise but design wise.

Right now we have one Project class, one Resource class, one Employee class, one "main" class and a "storage manager".(The program will be quite bigger eventually but this is the gist of it).

The program can handle several projects and several employees. And we added a resource class "between" employee and project, ie a resource can only have one project and one employee and it keeps the information needed. Like how many hours the employee should work on the project and so on.

At first we had no relation between these three classes, instead we had a database way of thinking and used a "foreign key" a employee id and project id in resource. But instead it was recommended to us that a good object oriented design should have associations instead.

So I've have been thinking of adding knowledge of project and employee to the resource class and both the employee and project should know about the resource. Will this be good or just too "cluttered".

Another problem we faced was that if that many objects are bound to each other we will have trouble sending them back and forth to our server.(Or will we?)

Any tips of design patterns or just general tips about how we can do?
(Not asking you too do school work for me here Wink | ;) , we are actually recommended seeking information on the Internet)
GeneralRe: A strange question I think Pin
Colin Angus Mackay17-May-04 12:57
Colin Angus Mackay17-May-04 12:57 
GeneralRe: A strange question I think Pin
Christer Claesson17-May-04 13:07
Christer Claesson17-May-04 13:07 
GeneralRe: A strange question I think Pin
Colin Angus Mackay18-May-04 0:42
Colin Angus Mackay18-May-04 0:42 
GeneralMailto via code with attachment option Pin
myNameIsRon17-May-04 10:26
myNameIsRon17-May-04 10:26 
GeneralRe: Mailto via code with attachment option Pin
Heath Stewart17-May-04 10:52
protectorHeath Stewart17-May-04 10:52 
Generalregd Datagrid Pin
karteek17-May-04 8:39
karteek17-May-04 8:39 
GeneralRe: regd Datagrid Pin
Heath Stewart17-May-04 8:53
protectorHeath Stewart17-May-04 8:53 
GeneralRe: regd Datagrid Pin
Jay Shankar17-May-04 23:11
Jay Shankar17-May-04 23:11 
GeneralRe: regd Datagrid Pin
karteek17-May-04 23:19
karteek17-May-04 23:19 
GeneralRe: regd Datagrid Pin
Jay Shankar17-May-04 23:38
Jay Shankar17-May-04 23:38 
Generalmanaging the edit of a dataGrid Pin
HappyPaws17-May-04 8:36
HappyPaws17-May-04 8:36 
GeneralRe: managing the edit of a dataGrid Pin
Heath Stewart17-May-04 8:51
protectorHeath Stewart17-May-04 8:51 
GeneralDirectShow filters Pin
ro_angel_bv17-May-04 8:36
ro_angel_bv17-May-04 8:36 
Generalinterface members as internal Pin
Mike Hodnick17-May-04 7:50
Mike Hodnick17-May-04 7:50 
GeneralRe: interface members as internal Pin
Heath Stewart17-May-04 8:03
protectorHeath Stewart17-May-04 8:03 
GeneralRe: interface members as internal Pin
Mike Hodnick17-May-04 9:26
Mike Hodnick17-May-04 9:26 
GeneralBitmap file Pin
Saleh Alshadheli17-May-04 6:45
Saleh Alshadheli17-May-04 6:45 

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.