Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hello there
 
I wonder if any one can help me. I have project that uses standard forms and dialogues developed in Visual Studio 2008. Up until about a month ago, every thing was running fine, however now in the deployed version on my machine, the forms are maximised instantly upon opening. The forms themselves do not have minimise or maximise set on them. The positions of items on the forms seem to have gone slightly wrong also.
 
Strangely, in the debug version running on VS2008 all appear correctly, it is only when I deploy to my machine outside the VS2008 environment that it happens.
 
Anybody else experienced anything like this? Could it be registry related or framework related?
 
Many thanks
Jem
Posted 17-Dec-12 7:01am
Comments
Kschuler at 17-Dec-12 13:44pm
   
Have you changed any settings with regard to your screen resolution or display settings?
Abhishek Pant at 17-Dec-12 14:40pm
   
I think you deployed the same as they are eariler while you are creating these Forms;so while making these type of forms you should change the Anchor Property to nill so this will not effect design.For example you have a textbox in center of a form and is minimised(standard) it will remain in center if the form is maximised

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
 
It seems you are not adding event handler to dynamic combo boxes  which you are adding at the run time. Add it and it will work fine.
 

RKS
  Permalink  

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



Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 18 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100