Just an update
I have started improving the performance of the forms, at this stage my goal
is 5 sec max from the point the end user presses of the share point site, to
the form opened completely on his screen; and I found that the C# event
handlers, if commented on compile, the forms start faster (way more faster),
I know there maybe a possible problem with the code inside, but I found also
that the same code if written in Java Script is not causing the problem, I
mean, the form will open way more faster if the event handlers were java
script instead of .net code. (but I am still verifying that point)
Another thing is splitting the form to multiple xsn files, this will make
the development more complicated, since all the forms will share the same
java script file, but it will improve the form performance a lot.
I have been advised here by Microsoft couple of months ago, to split the
large form view to multiple views, in order to make the form faster, and to
have one additional view (combining all the other small views) that I will
use only when I want to print the form or see all the sections together.
The idea is nice, but we found later that having multiple views is
duplicating the xsf file size, and that decreases the form speed, and many
of these views with large sections are making the form slower, so I am
deleting them as part of the performance tuning, and going back to a single
view, and splitting the rest to other separate forms.
And of course moving the form from .net to Java Script, the main idea of
using .net in a form was taking benefit of the power of the framework, but
since that is costly "the form must be signed", and signed forms are harder
to work with, to install, and maintain, and since the xml functions on the
..net InfoPath are different from the System.Xml once, and since only one
developer can work on the form on the same time when the form is in VS.NET,
with part of the power of VS.NET, like unable to take advantage of source
safe for example (for multi developers), and many other issues; I just can'
t see a benefit of having the from in VS and .NET, so I am moving part of
them to Java Script.