An unhandled exception of type 'System.NotSupportedException' occurred

  • Thread starter Thread starter Mani
  • Start date Start date
M

Mani

Hello,

any idea why I may be getting :
"An unhandled exception of type 'System.NotSupportedException' occurred in
PDA.exe".

I have a form with 6 panels interacting with each other. This happens to be
a prototype. So there is no underlying code except for panel.show(). There
are number of comboboxes and couple of datagrids.

Any directions will be highly appreciated..

Thanks,
MN
 
You may be running in an issue with InitializeComponent getting too large.
To help with that and keep the form working in designer avoid setting
properties in designer for as much as possible - do it instead in a code
inside a separate method. This concerns such properties as font, text value,
alignment etc
 
Alex,
you are right, the initialize component is large. I didnt want to do any
'coding' as this was a prototype and the client only needed screenshots...
thanks for your help.
mani
 
Back
Top