Custom Round Button C#: When we talk about adding some twist to the user interface of our Applications. It would be better to use Custom Round controls specially buttons and sub forms in c#.
In this article we will discuss about using a custom Button Control in Windows Forms applications. This button has very fine edges which add a great look to our user interface.
Tools Required:
- Visual Studio 2010 or later version.
- Round Button Control. Download it from HERE.
For demonstration we will design a Login form of a touch screen application. I assume You have already downloaded the C# Round button from the above link.
Steps to Follow:
- Create a new project of Windows Forms Applications C#.
- Simply copy the downloaded .cs file of Button Control and paste it inside the solution Explorer.
- Right click on the Project from solution explorer and click on Rebuild or just press Ctrl+Shift+B.
- Now you will find the Custom Round Button control in the Toolbox.
- Just Drag and drop it on your form.
- Change the FlatStyle property of Button to Flat.
- Inside Flat Appearance option, change to border size to Zero ‘0’.
- Change the fonts to Times New Roman and Font Size to 26.
- Change the Text to 1.
- This button has some custom properties like ButtonColor, BorderColor, OnHoverButtonColor, OnHoverBorderColor, OnHoverTextColor. Just play around to design a cool interface.
Video Tutorial:
Watch full video tutorial to learn exactly how to use this custom button control in C# windows forms Application.
Source Code:
I hope this article will be helpful for you Guys. Thank you so much for visiting us. Please don’t forget to subscribe our YouTube Channel C# Ui Academy.
Hello sir, my name is Alvian and i have a question. When i clicked on the WOC button, it shows me error message :
System.NullReferenceException: ‘Object reference not set to an instance of an object.’
ActiveControl was null.
I have search for some troubleshooting about that error, but i still don’t get how to fix it. You have any idea about it?Can you please reply my email if u can? Thank you Salaar.
sorry sir, how can solve get error in Button_WOC ?
ITS SUPPOSED TO BE A DLL
C# Circular Buttons
Highly energetic article, I loved that a lot. Will there be a part 2?
Really appreciate you sharing this blog.Really looking forward to read more. Awesome.
Oh my goodness! An amazing article.
I truly appreciate this blog article.Much thanks again. Really Cool.
This is a topic which is near to my heart… Take care!
I really enjoy the blog article.Really looking forward to read more. Keep writing.
You completed a number of fine points there. I did a search on the topic and found most persons will have the same opinion with your blog.
Bookmarked, really like it.