简体   繁体   中英

how to set wpf form as windows form application mainform in c#

I am very new in WPF.

I have created a form style in Wpf application.

I want set this WPF application formstyle as my windows form application form style.

How can i do it.

There would be a great appreciation if someone could help me.

The form image is 在此处输入图片说明

you can override the forms onpaint event and drawing the region there. This allows to use GDI+ with antialiasing and make it look much cleaner.

you can use this solution also creating custom borders in winforms

The examples are found at here:

http://netcode.ru/dotnet/?lang=&katID=30&skatID=283&artID=7833 http://www.xtremevbtalk.com/showthread.php?t=288178

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM