I am working with forms. I am used to work with regular C++ code, where all
your functions are going to be on the bottom of the source code file. I
notice when working with forms using Microsoft Widows .NET Framework that
provides a set of classes for building GUI applications all your work will
be with the header files. My question is where should I keep all the
functions?
Functions, or more properly "Methods" are just written into the C# source
file.
There is no concept of header and source file as you will find in C++.
There is a notion of a "partial" class however. This is most often used by
the IDE to seggregate your code from that injected automatically by the
design-time system. Generally you will edit the code in the .CS file that is
visible under the solution. Other .CS files that are lower down the tree are
generally auto-generated.

Signature
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
>I am working with forms. I am used to work with regular C++ code, where
>all your functions are going to be on the bottom of the source code file.
>I notice when working with forms using Microsoft Widows .NET Framework that
>provides a set of classes for building GUI applications all your work will
>be with the header files. My question is where should I keep all the
>functions?