Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


AF Button Class - C# Release filter_list
Author
Message
AF Button Class - C# Release #1
Here's a button class I wrote by looking at the nav bar on the forum and trying to manipulate that same style using GDI.

[Image: VCFhc7Q.gif]
-- cxS

[ Haskell/.NET/C/C++ - Software Engineer ]

Reply

RE: AF Button Class - C# Release #2
I'm gonna try to learn C# so this will give me some code to look at thanks. It looks good.

Reply

RE: AF Button Class - C# Release #3
Thanks for the feedback Smile

There was no "pressed" button state for the forum navbar buttons, so I kept it that way in the button class itself here. Only a normal, and an "active" state. I started a template assuming 3 states: normal, hover, pressed.

It appears that isn't the way the actual nav buttons are on the forum though so I removed one state.

Btw, adding an image to this would be easy. Just requires a bit of modding on the placement logic for the text, plus the size of the image/icon on the button to keep everything centered.
-- cxS

[ Haskell/.NET/C/C++ - Software Engineer ]

Reply







Users browsing this thread: 1 Guest(s)