Click here to Skip to main content
15,886,137 members
Home / Discussions / C#
   

C#

 
QuestionRun with the windows Pin
Knowledgestudent5-Mar-08 9:09
Knowledgestudent5-Mar-08 9:09 
GeneralRe: Run with the windows Pin
Pete O'Hanlon5-Mar-08 9:40
mvePete O'Hanlon5-Mar-08 9:40 
QuestionRe: Run with the windows Pin
Knowledgestudent5-Mar-08 11:19
Knowledgestudent5-Mar-08 11:19 
GeneralRe: Run with the windows Pin
Ravi Bhavnani5-Mar-08 18:47
professionalRavi Bhavnani5-Mar-08 18:47 
QuestionRe: Run with the windows Pin
Knowledgestudent9-Mar-08 11:13
Knowledgestudent9-Mar-08 11:13 
QuestionSystemParametersInfo SPI_SETWORKAREA Pin
chrsarly045-Mar-08 8:48
chrsarly045-Mar-08 8:48 
GeneralApplication Issue with Access and ReportViewer Pin
rwinte5-Mar-08 8:40
rwinte5-Mar-08 8:40 
GeneralMVP Pattern Pin
Quang Tran Minh5-Mar-08 6:29
Quang Tran Minh5-Mar-08 6:29 
Hi everyone,
I am developing for my company a project management system using C# / .NET and MVP pattern. Now I encouter the following design problem:

- I have a project selector GUI containing the list of all available projects where the user can choose one or several project(s) like this:

---------
Please choose one or several projects:
Project 1
Project 2
Project 3
....
Project n

[Open button]
----------

- After choosing one or several projects, a tab appears displaying all project names and the project structure in tree form of the currently tabed-active project is displayed. The project tree consists of working packages and workitems while working packages can in turns contain work items or working items itself (composit pattern), something like this

Project 1
---Kick off phase
---Specification analyze
---- Analyze A
-----Analyze B
---Implementation
.....

The user can click on the item in the project tree have the detailed information displayed, e.g. detailed information of the current project when the root node (Project 1 above) is selected or of working package when a working package node is selected and of work item when a work item is selected.

My question is: how to model all that stuffs in MVP pattern. I guess it would make sence to have a MVP triad like ProjectStructureView - ProjectStructurePresenter - ProjectStructureModel. But should I have each MVP triad for each kind of project item in the tree (project, package, workitem) ?
The fact is, all the displayed information for the current project has only to do with project.
So the other question is: what should be stored in for example ProjectStructureModel?

Your answer would be really appreciated!

Regards.
GeneralRe: MVP Pattern Pin
led mike5-Mar-08 6:38
led mike5-Mar-08 6:38 
GeneralRe: MVP Pattern [modified] Pin
papadimitriou5-Mar-08 8:47
papadimitriou5-Mar-08 8:47 
GeneralRe: MVP Pattern Pin
led mike5-Mar-08 8:56
led mike5-Mar-08 8:56 
GeneralRe: MVP Pattern Pin
Quang Tran Minh5-Mar-08 11:11
Quang Tran Minh5-Mar-08 11:11 
GeneralRe: MVP Pattern Pin
led mike5-Mar-08 11:18
led mike5-Mar-08 11:18 
QuestionAvoid duplicates in adding records in MySQL db Pin
baranils5-Mar-08 5:56
baranils5-Mar-08 5:56 
GeneralRe: Avoid duplicates in adding records in MySQL db Pin
led mike5-Mar-08 6:02
led mike5-Mar-08 6:02 
GeneralRe: Avoid duplicates in adding records in MySQL db Pin
baranils5-Mar-08 6:31
baranils5-Mar-08 6:31 
GeneralRe: Avoid duplicates in adding records in MySQL db Pin
led mike5-Mar-08 6:42
led mike5-Mar-08 6:42 
GeneralRe: Avoid duplicates in adding records in MySQL db Pin
#realJSOP6-Mar-08 6:11
mve#realJSOP6-Mar-08 6:11 
QuestionHow to read a file from Ftp Pin
kibromg5-Mar-08 5:14
kibromg5-Mar-08 5:14 
AnswerRe: How to read a file from Ftp Pin
Anthony Mushrow5-Mar-08 5:59
professionalAnthony Mushrow5-Mar-08 5:59 
GeneralRe: How to read a file from Ftp Pin
kibromg6-Mar-08 1:49
kibromg6-Mar-08 1:49 
GeneralRe: How to read a file from Ftp Pin
Anthony Mushrow6-Mar-08 6:59
professionalAnthony Mushrow6-Mar-08 6:59 
QuestionHow to make control reflect changes was maded on his datasource Pin
El'Cachubrey5-Mar-08 4:54
El'Cachubrey5-Mar-08 4:54 
AnswerRe: How to make control reflect changes was maded on his datasource Pin
led mike5-Mar-08 4:59
led mike5-Mar-08 4:59 
QuestionEfficient Xml reading? Pin
Lutosław5-Mar-08 4:28
Lutosław5-Mar-08 4:28 

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.