transparency - Transparent control or user control in vb.net -


i trying make transparent control child controls visible , opaque.

i have added panel control main form via code in form load event. in adding 5 buttons child controls like: panel.controls.add(). of these, have set backcolor=color.transparent.

when run program, button background shows background of next button in panel. if open child form, can see labels on child form background of panel.

i want make container panel control transparent, can see main form through it. how can achieved?

  1. when form loads when form loads, can see neighbor buttons behind actual buttons

  2. after opening child form: form has label "perform check" on it, can seen here: "perform check" label on child form opened right before taking picture.

  3. after opening child form has button "check cases , combinations" can seen in background. : "check cases , combinations" button on child form opened right before took picture.

how can make transparent? why doesn't background of panel control refresh main form background? panel sort of "keeps" whatever happens on main form , shows background.

i found out there issues setting controls transparent , on top of other controls in main form. take background of container form, whether or not there control in between. used wpf form instead of panel , worked perfectly.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -