Oct 1, 2014 03:16 PM
(This post was last modified: Nov 18, 2014 05:07 PM by Hawk HF.)
I had some free time on my hands and decided to make some professional buttons for... no apparent reason.
From there, I decided to continue on and make an entire theme.
Unlike most themes on HF, this one is intended to a light theme.
Most recent update:
Continue reading to view each control and learn their capabilities.
Basic Button
Description:
A basic button that can accept images and gives the option of either an orange or white color scheme.
![[Image: 23f3a54b8c2c9717648a4af155c550b2.png]](https://i.gyazo.com/23f3a54b8c2c9717648a4af155c550b2.png)
Custom properties:
- Scheme - Take your pick of the orange or white color scheme
- Image - Add an image of your choice to give your button some flare
- TextAlignment - Horizontally shift your text (and image if provided)
Descriptive Button
Description:
A button which can accept large amounts of text, images, and even a title.
![[Image: 7b9827d4d4aa88504353805cd869a9a6.png]](https://i.gyazo.com/7b9827d4d4aa88504353805cd869a9a6.png)
Custom properties:
- Image - Add an image of your choice to give your button some flare
- Title - Customize the text for your title
- TitleFont - Customize the font of your title
Message
Description:
Similar to the descriptive button, this control can accept large amounts of text. It is perfect for daily or weekly messages that you want your users to see. Simply use a web client or web request to get your message, or you can leave a static description. It's up to you!
![[Image: 3499f19db82e7b31b1c6cff91d2f2ce9.png]](https://i.gyazo.com/3499f19db82e7b31b1c6cff91d2f2ce9.png)
Custom properties:
- Header - Add a custom header
- HeaderFont - Customize the font for your header text
- SizeByText - Set this to True and the control will automatically resize based on text measurements
Notes:
Changing the BackColor property will change the background of the control, but keep in mind that the color that is shown will be slightly lighter than the one that is selected. Use this to your advantage! For example, try setting the background of important messages to a light red to give your message more attention. Also, the text color is retrieved by darkening the background color, so dark background colors will not work well here.
These controls are far from optimized. I'm sure there are many improvements to be made, however I am basically discontinuing this project and releasing what I have. There are no errors or known bugs, but please keep in mind that the MultiLineHandler class does not work with line breaks.
Pastebin: http://pastebin.com/cbLhi5Ya
Enjoy and be sure to leave credit where it is due.
Wow, great job bro. Thank you for your contribution to the .net section. 🤝
"Never be a spectator of unfairness or stupidity. Seek out argument and disputation for their own sake; the grave will supply plenty of time for silence." - C.H.
Thanks man this could go to help on a project that i am coding soon
Nice GUI Never Stop you are really talented :)
These buttons are very very nice. I love em
Amazing job man, as always. They indeed look professional.
Beautiful looking buttons, good job
DO NOT DEAL WITH THIS MEMBER
Nice job mate, it's very beautiful !
Add some more color schemes, might use it
(Oct 2, 2014 06:28 AM)Cairns Wrote: Add some more color schemes, might use it
Modify it and add your own colors. Use color combo to find colors that look good together
Nice theme, you're pretty good at GDI+. Can't really say much but to allow a user to select a color instead of preset schemes (yeah, it could be changed in code).
(Oct 2, 2014 06:34 AM)SIM-1676753 Wrote: Modify it and add your own colors. Use color combo to find colors that look good together
I'm too lazy for that or I wouldn't have asked lol
(Oct 2, 2014 06:38 AM)Cecilia Wrote: Nice theme, you're pretty good at GDI+. Can't really say much but to allow a user to select a color instead of preset schemes (yeah, it could be changed in code).
Of course, I could simply add two new properties to allow the user to select the colors being used in the gradient.
It wouldn't be difficult at all. I just preferred these two colors.
I'm actually working on the complete theme now. I'll add some updates later today.
Awesome work buddy... Button with description is nice concept... will surely use this in my future theme... ;)
BTC - bc1q3efew3yzfwhdz290dafykaw0a2w56g2j69g2c6
ETH - 0xf1c873217032468990D3313da6509D1b813c4671
USDT - 0xf1c873217032468990D3313da6509D1b813c4671
PP - [email protected]
(Oct 2, 2014 12:38 PM)SaketSaket Wrote: Awesome work buddy... Button with description is nice concept... will surely use this in my future theme... ;)
Sounds good, man. :)
Be sure to give credit if you use the source when I release it.
It's incredibly messy right now but I'll clean it up when the time comes.
(Oct 2, 2014 03:50 PM)Hawk HF Wrote: Sounds good, man. :)
Be sure to give credit if you use the source when I release it.
It's incredibly messy right now but I'll clean it up when the time comes.
Will give credit surely but will not use your code as i have got the idea & i will implement it my way... ;)
BTC - bc1q3efew3yzfwhdz290dafykaw0a2w56g2j69g2c6
ETH - 0xf1c873217032468990D3313da6509D1b813c4671
USDT - 0xf1c873217032468990D3313da6509D1b813c4671
PP - [email protected]
|