简体   繁体   中英

Bunifu rounded corners for Windows Form - C#

I am using Bunifu framework to design UI for C# project. I want to make rounded corners for my Windows form but Bunifu_Classes does not exsist - how to fix this?

Is there a way to add Bunifu_Classes ?

I have seen this code for rounded corners to Windows form:

Bunifu_Classes.Round.ActivateForm(this, 20);

在此处输入图片说明

to round the corners of your form you must use Bunifu.Framework.Lib.Elipse like this: --Bunifu.Framework.Lib.Elipse.Apply(this, 20) after --InitializeComponent() in form constructor.

good Look.

Go to your Toolkit you will find BunifuElipse Component - drag and drop on your form, select TargetControl [your form ] change the ElipseRadius Property to whichever size you want, recommended size is 5. Also accompany with BunifuDrag Component to make the borderless form draggable. All the best.

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