inherited property -- PLEASE HELP

  • Thread starter Thread starter João Santa Bárbara
  • Start date Start date
J

João Santa Bárbara

hi all
perhaps can someone help me.

i have a form ( base ) where a i change the opacity from 100 to 60 %
now i have a form inherited from the previous. and the opacity is correctly
at 60%.

i have created another string property and it has the same behavior
but when i create my own property class it allways rewirte the code in the
inherited form. why ??
anyone can help me???

i allready tryed to put the DesignerSerializationVisibility.content

thks
JSB

Sample
public property MyClass () as MyClass
..........
 
João Santa Bárbara said:
hi all
perhaps can someone help me.

i have a form ( base ) where a i change the opacity from 100 to 60 %
now i have a form inherited from the previous. and the opacity is
correctly
at 60%.

i have created another string property and it has the same behavior
but when i create my own property class it allways rewirte the code in the
inherited form. why ??
anyone can help me???

Base Class
 
Are you using the name "MyClass" ? That is a reserved word in VB.
Try a different class name.
If that's not the problem, please show more code.
 
Back
Top