Click here to Skip to main content
15,938,218 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hi every one
i am facing a problem i.e when i open crystal report its open in maximized
state which is set on load while i open another form its also open in maximized state where the form state set normal from property box
any solution where crystal report form open in maximized state and at the same time another form open in normal state i.e its default state

wait for your reply
Posted

Store the state value accordingly in any of storage like Text/XML, And set it's state according when it opened by fetching appropriate value from the file.

Edit: You can also store it in a registry.
http://www.codeproject.com/Answers/140050/Save-state-of-Combox-control-in-WPF-application.aspx#answer2[^]
 
Share this answer
 
v2
Comments
malikumarhassan 29-Dec-10 1:52am    
the forms are open in mdicontainer
This I found also was a good read MDI child windows with a different state[^]
 
Share this answer
 
Comments
Kasson 30-Dec-10 0:28am    
Good call
Hope this[^] may also help you.
 
Share this answer
 
Hi,

Choose the form -> properties -> WindowsState -> Normal or whatelse you want...

hope this helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900