Re:How to make a transperent window in .net2.0
-
Can any body help me out how to make a window as transperant window in .net2.0;
-
Can any body help me out how to make a window as transperant window in .net2.0;
-
Actually my requirement is to display only the text which is present on the form without showing the form to the user.If i tries with opacity it is showing nothing.Everything becomes transperant.
-
Actually my requirement is to display only the text which is present on the form without showing the form to the user.If i tries with opacity it is showing nothing.Everything becomes transperant.
-
Can any body help me out how to make a window as transperant window in .net2.0;
-
Hello, Set the "TransparencyKey" property equal to your forms BackColor.
All the best, Martin
Hi Martin, your idea is good bt here my forms backcolot is changing dynamically.How i can implement this one with tansperancykeycolor property.
-
Hi Martin, your idea is good bt here my forms backcolot is changing dynamically.How i can implement this one with tansperancykeycolor property.
Hello,
RameshwerE wrote:
your idea is good
:rose:
RameshwerE wrote:
my forms backcolot is changing dynamically
You have to handle the BackColorChanged event and set it there accordingly.
//Constructor code this.BackColorChanged += new System.EventHandler(this.yourForm_BackColorChanged); private void yourForm_BackColorChanged(object sender, System.EventArgs e) { this.TransparencyKey = this.BackColor; }
Hope it helps!All the best, Martin