| |

VerySource

 Forgot password?
 Register
Search
View: 1326|Reply: 13

C # redraw control: how to remove all background color of FROM\BUTTON control ???

[Copy link]

3

Threads

11

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

Post time: 2020-1-11 13:20:01
| Show all posts |Read mode
As the title. . .
Reply

Use magic Report

3

Threads

11

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

 Author| Post time: 2020-1-15 15:54:02
| Show all posts
Top it yourself. . .
I hope everyone can help. . . Can provide code better. . .
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-15 18:54:02
| Show all posts
Irregular form?
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-15 21:18:01
| Show all posts
FORM's TransparencyKey = FORM's background color
Reply

Use magic Report

3

Threads

11

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

 Author| Post time: 2020-1-16 10:09:02
| Show all posts
I inherited the form. Overloaded the OnPaint and WndPoc methods. . .

Just redraw the form interface! But I want to remove the original color of FORM. Including background color and title bar color. Border color.

All want to get rid of it. . .

I've tried putting the FORM's TransparencyKey = FORM's background color. Also tried using the Clear method of the Graphics object. But also

You cannot remove the original color of the form. It always leaves a little bit. . .

Does anyone have a better solution or proposal? Waiting online. . .
Reply

Use magic Report

0

Threads

4

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-17 14:54:01
| Show all posts
Follow ~~
Reply

Use magic Report

3

Threads

11

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

 Author| Post time: 2020-1-17 19:00:01
| Show all posts
Dear masters. Where have you all been? ? Come and talk. . .

100,000 in a hurry. . .
Reply

Use magic Report

0

Threads

12

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-1-19 19:09:02
| Show all posts
Hold on
Reply

Use magic Report

3

Threads

11

Posts

12.00

Credits

Newbie

Rank: 1

Credits
12.00

 China

 Author| Post time: 2020-1-21 23:45:01
| Show all posts
Time is running out. Can't wait any longer. . . .
Reply

Use magic Report

0

Threads

8

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-1-22 10:18:01
| Show all posts
Can't you add Color to it again? It's best to take a look at your code so that you can say it!
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list