Click here to Skip to main content
15,885,366 members
Home / Discussions / C#
   

C#

 
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 
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 
Stuffing these things into Program.cs would be an unusual practice. Wink | ;)

If the driving reason is too much code in main form file, you might consider leaving the actual GUI stuff there (button click handlers, load event handler, closing event handler, etc) and moving the other functions to another file. It could be another "partial class" of the main form (probably another unusual practice) or a new class of helper functions as your suggested. It really depends on your design and needs.

I predict that will be a concensus: it's up to you.
BDF

I often make very large prints from unexposed film, and every one of them turns out to be a picture of myself as I once dreamed I would be.
-- BillWoodruff

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 
GeneralRe: A Question Of Structure Pin
PIEBALDconsult12-Apr-12 3:00
mvePIEBALDconsult12-Apr-12 3:00 
GeneralRe: A Question Of Structure Pin
Roger Wright12-Apr-12 5:18
professionalRoger Wright12-Apr-12 5:18 
AnswerRe: A Question Of Structure Pin
BobJanova11-Apr-12 23:57
BobJanova11-Apr-12 23:57 

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.