Bruce,

The size of those two files in particular (console.cs and setup.cs) is
directly related to the number of controls on the GUI.  The
auto-generated code from adding controls to the GUI is massive and
probably takes up to 70-80% of those files.

Another note for C folks is that windows event oriented GUI code
generates a need for quite a few event handler functions.  These seem
overwhelming initially because of the sheer number and size of some of
them.  It helps to understand that these are simply code snippets that
run when some specific event fires on that particular control.

To get started searching through the code, I would highly recommend
using an IDE of some sort.  A good IDE will give you an index of
functions that will help you jump around.  If you do not have an IDE,
you can do a search for "#region."  Regions are one way to help organize
large files in C# (at least in the VS.NET IDE).


Eric Wachsmann
FlexRadio Systems


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> radio.biz] On Behalf Of Bruce K3CMZ
> Sent: Tuesday, April 11, 2006 10:47 AM
> To: FlexRadio@flex-radio.biz
> Subject: [Flexradio] Another Stupid Question about the Code
> 
> Hi
>  While trying to teach myself something about this C Stuff,
> I was digging into the Code 'console.cs' and 'setup.cs'
> 
> I noticed that these files were quite large:
>  setup.cs is 17276 lines of code and 361 pages
>  console.cs is 18488 lines and 399 pages
>  for a total of over thirty five thousand lines of code!
> 
> Question: How do you C Guys find your way around this?
>                     Is there a index? or prehaps a file that list the
>                     fuctions? I can search, but I don't know what
>                     to search for!
> 
> AnyHow ;  Hope all of you have a happy Holiday
>  We are going to do both Easter and Passover here.
> 
>  Thanks Much
>     Bruce K3CMZ
> 
> 
> _______________________________________________
> FlexRadio mailing list
> FlexRadio@flex-radio.biz
> http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz
> Archive Link: http://mail.flex-radio.biz/pipermail/flexradio_flex-
> radio.biz/
> FlexRadio Homepage: http://www.flex-radio.com


Reply via email to