Click here to Skip to main content
15,878,708 members
Home / Discussions / C#
   

C#

 
GeneralRe: Setting users access permissions on tabs in C# tabcontrol Pin
Mycroft Holmes12-Apr-12 4:33
professionalMycroft Holmes12-Apr-12 4:33 
AnswerRe: Setting users access permissions on tabs in C# tabcontrol Pin
Eddy Vluggen12-Apr-12 8:54
professionalEddy Vluggen12-Apr-12 8:54 
GeneralRe: Setting users access permissions on tabs in C# tabcontrol Pin
Mycroft Holmes12-Apr-12 12:36
professionalMycroft Holmes12-Apr-12 12:36 
GeneralRe: Setting users access permissions on tabs in C# tabcontrol Pin
Eddy Vluggen13-Apr-12 7:51
professionalEddy Vluggen13-Apr-12 7:51 
Questionweb config for spring frame work Pin
SFORavi11-Apr-12 16:55
SFORavi11-Apr-12 16:55 
QuestionA Question Of Structure Pin
Roger Wright11-Apr-12 9:54
professionalRoger Wright11-Apr-12 9:54 
AnswerRe: A Question Of Structure Pin
Wes Aday11-Apr-12 10:05
professionalWes Aday11-Apr-12 10:05 
GeneralRe: A Question Of Structure Pin
Alan Balkany12-Apr-12 4:34
Alan Balkany12-Apr-12 4:34 
You beat me to it; I was going to suggest that. The second suggestion I was going to make is separation of the GUI code and the process code.

I did a project where it seemed simplest at the time to put all the process code in the Form class. Predictably the Form class got cluttered (but adding #regions helped).

I later realized having the Form class just send messages to a process class would have simplified it.

Then I realized another benefit of separating the classes: Separating would have made adding a scripting capability much easier; just have the scripting class send messages to the process class (just like the GUI).

Lesson: Separating functionality promotes simplicity (except when you pay for it with increased complexity from the communications between the classes).
"Microsoft -- Adding unnecessary complexity to your work since 1987!"

GeneralRe: A Question Of Structure Pin
Jason McBurney12-Apr-12 14:14
Jason McBurney12-Apr-12 14:14 
GeneralRe: A Question Of Structure Pin
Roger Wright12-Apr-12 19:47
professionalRoger Wright12-Apr-12 19:47 
AnswerRe: A Question Of Structure Pin
Big Daddy Farang11-Apr-12 10:14
Big Daddy Farang11-Apr-12 10:14 
GeneralRe: A Question Of Structure Pin
Roger Wright11-Apr-12 21:52
professionalRoger Wright11-Apr-12 21:52 
AnswerRe: A Question Of Structure Pin
PIEBALDconsult11-Apr-12 11:30
mvePIEBALDconsult11-Apr-12 11:30 
GeneralRe: A Question Of Structure Pin
Roger Wright11-Apr-12 21:58
professionalRoger Wright11-Apr-12 21:58 
AnswerRe: A Question Of Structure Pin
Pete O'Hanlon11-Apr-12 12:33
mvePete O'Hanlon11-Apr-12 12:33 
GeneralRe: A Question Of Structure Pin
Roger Wright11-Apr-12 22:02
professionalRoger Wright11-Apr-12 22:02 
AnswerRe: A Question Of Structure Pin
RCoate11-Apr-12 18:11
RCoate11-Apr-12 18:11 
JokeRe: A Question Of Structure Pin
PIEBALDconsult11-Apr-12 18:52
mvePIEBALDconsult11-Apr-12 18:52 
GeneralRe: A Question Of Structure Pin
Roger Wright11-Apr-12 20:41
professionalRoger Wright11-Apr-12 20:41 
GeneralRe: A Question Of Structure Pin
Roger Wright11-Apr-12 22:08
professionalRoger Wright11-Apr-12 22:08 
AnswerRe: A Question Of Structure Pin
Ravi Bhavnani11-Apr-12 18:44
professionalRavi Bhavnani11-Apr-12 18:44 
AnswerRe: A Question Of Structure Pin
Eytukan11-Apr-12 20:52
Eytukan11-Apr-12 20:52 
GeneralRe: A Question Of Structure Pin
Roger Wright11-Apr-12 21:37
professionalRoger Wright11-Apr-12 21:37 
AnswerRe: A Question Of Structure Pin
Mycroft Holmes11-Apr-12 21:21
professionalMycroft Holmes11-Apr-12 21:21 
GeneralRe: A Question Of Structure Pin
Roger Wright11-Apr-12 21:51
professionalRoger Wright11-Apr-12 21:51 

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.