Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

How can i radius/glowing graphics

How can i radius graphics or make it glow like orcus i tried searching on google couldn't solve the issue. for example

[Image: WuWts_bjTNqAemXKck9ZZg.png]

if take a look closer

[Image: QclqpFXJTfygg0hlzMsBRw.png]

The line is glowing. please help. thanks
You need to draw your graphics with a LinearGradientBrush, this is a pretty trivial example on where to use that class.
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]
Thanks man it works but not as I expected but it better than my previous one.
By creating a new control you can override the paint event and fill it with a rectangular glow (or blurred control shape). Then just place another control on top centered. The same idea applies to forms since it's technically a control. Instead of inheriting from a 'Control' you would instead use a 'Form' for your base class.

Example:
[Image: MnqaJcA.jpg]

Link: Control Source
(Sep 7, 2017 01:50 PM)๖ۣۜDiViN3 Wrote:  By creating a new control you can override the paint event and fill it with a rectangular glow (or blurred control shape). Then just place another control on top centered. The same idea applies to forms since it's technically a control. Instead of inheriting from a 'Control' you would instead use a 'Form' for your base class.

Example:
[Image: MnqaJcA.jpg]

Link: Control Source

oh now i get it. Thank you alot. 👍
Step 1: Dont use WinForms

In my opinion, changing the theme in a Windows Form application is just nonsense, it's just not made for it. GDI+ is a slow framework (it is a framework that fits exactly the needs of the applications that are intended for WinForms: a simple, standard user interface). If you want and need fancy GUIs with special effects, animations etc. just use WPF. It may be possible that you can also accomplish something like that in WinForms with ugly hacks but in the end, you will have a lot more problems in contrast to just use WPF. The framework I'm using for Orcus is http://mahapps.com/ that already has this glow feature (I did not write that by myself).
[Image: signature.png]
(Sep 9, 2017 09:27 AM)Sorzus Wrote:  Step 1: Dont use WinForms

In my opinion, changing the theme in a Windows Form application is just nonsense, it's just not made for it. GDI+ is a slow framework (it is a framework that fits exactly the needs of the applications that are intended for WinForms: a simple, standard user interface). If you want and need fancy GUIs with special effects, animations etc. just use WPF. It may be possible that you can also accomplish something like that in WinForms with ugly hacks but in the end, you will have a lot more problems in contrast to just use WPF. The framework I'm using for Orcus is http://mahapps.com/ that already has this glow feature (I did not write that by myself).

Thanks a lot man 🤝
(Sep 9, 2017 09:27 AM)Sorzus Wrote:  Step 1: Dont use WinForms

In my opinion, changing the theme in a Windows Form application is just nonsense, it's just not made for it. GDI+ is a slow framework (it is a framework that fits exactly the needs of the applications that are intended for WinForms: a simple, standard user interface). If you want and need fancy GUIs with special effects, animations etc. just use WPF. It may be possible that you can also accomplish something like that in WinForms with ugly hacks but in the end, you will have a lot more problems in contrast to just use WPF. The framework I'm using for Orcus is http://mahapps.com/ that already has this glow feature (I did not write that by myself).

Winforms not being made for themes is a silly statement. Have you ever seen RadForms from Telerik for Winforms? If it wasn't designed to do basic themes GDI+ wouldn't exist and System.Drawing wouldn't either. It's more efficient to do UI-intensive themes with WPF because it relies more on the GPU, but that doesn't mean basic themes can't or shouldn't be made in Winforms. WPF is just newer technology.

That's like saying Windows 2000 was not designed for calculations because Windows 10 is newer. GDI is not going away anytime soon either.
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer]
(Sep 7, 2017 01:50 PM)๖ۣۜDiViN3 Wrote:  By creating a new control you can override the paint event and fill it with a rectangular glow (or blurred control shape). Then just place another control on top centered. The same idea applies to forms since it's technically a control. Instead of inheriting from a 'Control' you would instead use a 'Form' for your base class.

Example:
[Image: MnqaJcA.jpg]

Link: Control Source

Update link please
(Feb 22, 2022 04:04 AM)Grooty Wrote:  Update link please

He can't since the guy you're quoting is not active anymore. You can try other suggestions like using WPF which is more appropriate.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by ShootJan 11, 2015 10:52 PM 6 139 Jan 11, 2015 10:52 PM
Last Post: hellomen
[.NET] by BlackCapNov 22, 2012 12:20 PM 25 2,029 Nov 22, 2012 12:20 PM
Last Post: ncrafter
[.NET] by BlackCapOct 7, 2012 09:26 AM 6 737 Oct 7, 2012 09:26 AM
Last Post: BlackCap