Click here to Skip to main content
15,921,577 members
Home / Discussions / C#
   

C#

 
AnswerRe: can i capture the double click event of a CELL in a windows datagrd? Pin
Heath Stewart16-Jun-04 8:59
protectorHeath Stewart16-Jun-04 8:59 
GeneralRe: can i capture the double click event of a CELL in a windows datagrd? Pin
robmays16-Jun-04 9:27
robmays16-Jun-04 9:27 
GeneralRe: can i capture the double click event of a CELL in a windows datagrd? Pin
robmays16-Jun-04 10:59
robmays16-Jun-04 10:59 
GeneralDesign Question Pin
matthias s.16-Jun-04 5:35
matthias s.16-Jun-04 5:35 
GeneralRe: Design Question Pin
Colin Angus Mackay16-Jun-04 5:42
Colin Angus Mackay16-Jun-04 5:42 
GeneralRe: Design Question Pin
matthias s.16-Jun-04 5:49
matthias s.16-Jun-04 5:49 
GeneralRe: Design Question Pin
Colin Angus Mackay16-Jun-04 6:07
Colin Angus Mackay16-Jun-04 6:07 
GeneralRe: Design Question Pin
matthias s.16-Jun-04 6:22
matthias s.16-Jun-04 6:22 
Colin Angus Mackay wrote:
Yes, your suggestion seems reasonable. But, I find that object relations often closely map to the relationships in the database, so if your data model is heirarchical then it would follow that so will your class model be.

Yes, for sure. But I'm more concerned about how to deal with the commands and the access to them. I imagine the db-design for the command type of things somewhat like this:

Database-Tables:
Commands (contains a record for each command, e.g. "View all projects"
UserGroups (self explanatory)
Users (self explanatory)
UserGroups_Commands (a table matchings those two. one column for the commandid and one for the usergroupid)

But how do I deal with it in the application? How to build the menus? Some commands might not be available through the menu. For example I have a Treeview in the application that allows to navigate the projects. For users which belong to groupA, all projects might be navigated. For those of groupB only a subset.

Any ideas?

Matthias


If eell I ,nust draw to your atenttion to het fakt that I can splel perfrectly well - i;ts my typeying that sukcs.
(Lounge/David Wulff)

www.emvoid.de

GeneralRe: Design Question Pin
Steven Campbell16-Jun-04 6:18
Steven Campbell16-Jun-04 6:18 
GeneralRe: Design Question Pin
Serge Lobko-Lobanovsky16-Jun-04 6:26
Serge Lobko-Lobanovsky16-Jun-04 6:26 
GeneralRe: Design Question Pin
Colin Angus Mackay16-Jun-04 6:31
Colin Angus Mackay16-Jun-04 6:31 
Generalpreserving same type information Pin
avneeshb16-Jun-04 5:19
avneeshb16-Jun-04 5:19 
GeneralRe: preserving same type information Pin
Serge Lobko-Lobanovsky16-Jun-04 6:54
Serge Lobko-Lobanovsky16-Jun-04 6:54 
GeneralRe: preserving same type information Pin
avneeshb16-Jun-04 8:50
avneeshb16-Jun-04 8:50 
GeneralProject references! Pin
goldoche16-Jun-04 5:15
goldoche16-Jun-04 5:15 
GeneralRe: Project references! Pin
goldoche16-Jun-04 5:37
goldoche16-Jun-04 5:37 
GeneralCustom control Pin
liko16-Jun-04 5:15
liko16-Jun-04 5:15 
GeneralRe: Custom control Pin
Stefan Troschuetz16-Jun-04 5:24
Stefan Troschuetz16-Jun-04 5:24 
GeneralRe: Custom control Pin
liko16-Jun-04 23:24
liko16-Jun-04 23:24 
GeneralRe: Custom control Pin
Stefan Troschuetz16-Jun-04 23:42
Stefan Troschuetz16-Jun-04 23:42 
GeneralRe: Custom control Pin
liko17-Jun-04 4:55
liko17-Jun-04 4:55 
GeneralRe: Design Question Pin
Colin Angus Mackay16-Jun-04 5:15
Colin Angus Mackay16-Jun-04 5:15 
GeneralRe: Design Question Pin
Dave Kreskowiak16-Jun-04 5:27
mveDave Kreskowiak16-Jun-04 5:27 
GeneralFlicker Free RichTextBox Pin
Peter Vertes16-Jun-04 4:32
Peter Vertes16-Jun-04 4:32 
GeneralRe: Flicker Free RichTextBox Pin
Stefan Troschuetz16-Jun-04 5:04
Stefan Troschuetz16-Jun-04 5:04 

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.