I
illegal.prime
So I've taken a perusal through google groups looking for possible
causes of this error.
I've seen answers varying from:
- creating too many Form objects
- creating too many MenuItems in your Forms
- a combination of the above two
- something to do with setting the style on a control
So, I'm looking through my app. to determine what the problem is and I
found a change I made recently was to add this to one of my control's
constructors:
SetStyle(
ControlStyles.UserPaint |
ControlStyles.AllPaintingInWmPaint |
ControlStyles.DoubleBuffer, true)
Could this be the cause of my new problems?
Also, what other areas should I be investigating? Since I would like
to double check the rest of my code for any other possible culprits.
Thanks,
Novice
causes of this error.
I've seen answers varying from:
- creating too many Form objects
- creating too many MenuItems in your Forms
- a combination of the above two
- something to do with setting the style on a control
So, I'm looking through my app. to determine what the problem is and I
found a change I made recently was to add this to one of my control's
constructors:
SetStyle(
ControlStyles.UserPaint |
ControlStyles.AllPaintingInWmPaint |
ControlStyles.DoubleBuffer, true)
Could this be the cause of my new problems?
Also, what other areas should I be investigating? Since I would like
to double check the rest of my code for any other possible culprits.
Thanks,
Novice