Behavior
Behavior

Reputation: 31

C# Design of the transparent form

There are some problems and design of the transparent form: 1. I can not move form over an empty form-space 2. I can move the form by letters, but not even for the label 3. The text is distorted against a light background, if it is light. 4. The text is distorted on a dark background, if it is dark.

If you help, I attach the file with the corrected design, can anyone need it.

enter image description here

enter image description here

Upvotes: 0

Views: 95

Answers (1)

Max Play
Max Play

Reputation: 4038

GDI+ only allows to mask one color and to smoothly render text, you need more than one color.

Is Windows Forms really necessary? You may want to switch to WPF, which supports full transparency.

Upvotes: 4

Related Questions