Hack Forums
[.NET] Radial Progress bar - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Radial Progress bar (/showthread.php?tid=5537445)



Radial Progress bar - Fortiond - Jan 29, 2017

Radial Progress bar similar to that is found in LoginTheme 🙂

Screenshots :
(Click to View)

Inspired from:
(Click to View)

Source Code:
(Click to View)

Special Thanks to Kevin. for helping me with math 😁


* - Autist - Jan 29, 2017

Mate this looks so amazing!


* - SIM-1847363 - Jan 29, 2017

Aaaa you finding released it! Nice job man!


* - Ninja - Jan 29, 2017

Is it me or in the left/top-left side of the progressbar there is a slight gap between the progress-indicator and the middle-circle?

[Image: BhRavTr.png]


* - CRF_250r - Jan 29, 2017

(Jan 29, 2017 10:17 PM)Ninja Wrote:  Is it me or in the left/top-left side of the progressbar there is a slight gap between the progress-indicator and the middle-circle?

It's not just you.


* - log dot zip - Jan 30, 2017

Had a quick skim-read of the code. Very short, obviously, but not much to put a finger on. Good work.


* - hfTP54 - Jan 30, 2017

Man, your circles are not aligned properly.
And aliased too, consider using a semi-transparent pen for borders, it works well for aliased edges.
Anyway, short and simple.


* - Fortiond - Jan 31, 2017

(Jan 29, 2017 10:17 PM)Ninja Wrote:  Is it me or in the left/top-left side of the progressbar there is a slight gap between the progress-indicator and the middle-circle?

[Image: BhRavTr.png]

(Jan 30, 2017 06:03 AM)hfTP54 Wrote:  Man, your circles are not aligned properly.
And aliased too, consider using a semi-transparent pen for borders, it works well for aliased edges.
Anyway, short and simple.

Yeah. I'm not good at maths. I would really appreciate if anyone can help me to get this correct 🙂


* - markzuckerberg - Feb 1, 2017

cool progress bar it looks like HUDs or something haha


* - Hawk HF - Feb 1, 2017

(Jan 31, 2017 12:46 PM)Fortiond Wrote:  Yeah. I'm not good at maths. I would really appreciate if anyone can help me to get this correct 🙂

Change this line

Code
.FillEllipse(New SolidBrush(_BaseColour), CInt(Width / 10), CInt(Height / 10), Width - (CInt(Width / 5)), Height - (CInt(Height / 5)))

to

Code
.FillEllipse(New SolidBrush(_BaseColour), CInt(Width / 10 - 1), CInt(Height / 10 - 1), Width - (CInt(Width / 5)), Height - (CInt(Height / 5)))



* - adenfr - Feb 1, 2017

(Feb 1, 2017 03:41 AM)Hawk HF Wrote:  Change this line

Code
.FillEllipse(New SolidBrush(_BaseColour), CInt(Width / 10), CInt(Height / 10), Width - (CInt(Width / 5)), Height - (CInt(Height / 5)))

to

Code
.FillEllipse(New SolidBrush(_BaseColour), CInt(Width / 10 - 1), CInt(Height / 10 - 1), Width - (CInt(Width / 5)), Height - (CInt(Height / 5)))

that's it good very good man


* - Fortiond - Feb 1, 2017

(Feb 1, 2017 03:41 AM)Hawk HF Wrote:  Change this line

Code
.FillEllipse(New SolidBrush(_BaseColour), CInt(Width / 10), CInt(Height / 10), Width - (CInt(Width / 5)), Height - (CInt(Height / 5)))

to

Code
.FillEllipse(New SolidBrush(_BaseColour), CInt(Width / 10 - 1), CInt(Height / 10 - 1), Width - (CInt(Width / 5)), Height - (CInt(Height / 5)))

Perfect ! Thanks a lot <3


* - PVPMinersDE - Feb 2, 2017

That "Theme" looks amazing ^^