C# control size of window

D

DolceVita

Hi,

When I am in a form and I want to open another with
NewFromSolutionWithData is there a way to define the size and the
position of this new infopath window?

If yes is there a way to open in maximized mode?

I find that you have this:

..View.Window.Top = 0;
..View.Window.Left = 0;
..View.Window.Height = 800;
..View.Window.Width = 600;

How to make for that work with NewFromSolutionWithData! Because if I
try to make this after have make my open that dont work.

Any Idea?

Thanks
 
Top