Click here to Skip to main content
15,892,480 members
Home / Discussions / C#
   

C#

 
GeneralDirectX C# - creating a button Pin
2hdass5-Mar-08 10:12
2hdass5-Mar-08 10:12 
GeneralManage SQLServer C# Pin
half-life5-Mar-08 9:56
half-life5-Mar-08 9:56 
GeneralRe: Manage SQLServer C# Pin
Christian Graus5-Mar-08 10:08
protectorChristian Graus5-Mar-08 10:08 
GeneralRe: Manage SQLServer C# Pin
half-life5-Mar-08 10:14
half-life5-Mar-08 10:14 
GeneralRe: Manage SQLServer C# Pin
Christian Graus5-Mar-08 11:00
protectorChristian Graus5-Mar-08 11:00 
GeneralRe: Manage SQLServer C# Pin
half-life5-Mar-08 11:04
half-life5-Mar-08 11:04 
GeneralRe: Manage SQLServer C# Pin
Tobias Schoenig5-Mar-08 21:25
Tobias Schoenig5-Mar-08 21:25 
GeneralPlaying a file using MCI Pin
Johan Martensson5-Mar-08 9:40
Johan Martensson5-Mar-08 9:40 
GeneralHelp needed regarding MSI Pin
robustm5-Mar-08 9:34
robustm5-Mar-08 9:34 
GeneralRe: Help needed regarding MSI Pin
Christian Graus5-Mar-08 10:13
protectorChristian Graus5-Mar-08 10:13 
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 

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.