How I can get that button?

03/01/2016 17:20 b0sted#1
Hey guys, I just want to ask you how to get that button like this:

[Only registered and activated users can see links. Click Here To Register...]

I program with C#

I hope you can help me^^
03/01/2016 18:56 Dungedragon#2
Depends on which technology you are using. No idea how to do that in WinForms because i never looked into that in detail but it is possible to achieve that in WPF in several different ways to mention: CustomControls, UserControls or using the content property directly (while CustomControls can be more complex they can offer great reusuability among other projects and much more "power" than a UserControl that is basically a composition of already existing controls. If you need a certain control one time you could also use the content property of the button directly).

Basically this button is a composition of an image, several Labels/TextBlocks and one progress bar together with some specific code that does the calculation.

So the question is which technlogy do you use?
Btw. C# is not C/C++.
03/01/2016 19:18 b0sted#3
Don't know what you mean with "technology" xD. I use Windows Forms btw.
03/02/2016 07:26 IceTrailer#4
Quote:
Originally Posted by dokayhan View Post
Don't know what you mean with "technology" xD. I use Windows Forms btw.

Wrong section. Use ".NET Languages".

BTT:
As far as i know, you can have this using a ListView, if you change the mode how it displays items. Or the control has another name.
03/02/2016 16:46 b0sted#5
Da meine Englisch-Kenntnisse nicht die besten sind kannst du es mir ja vielleicht nochmal auf Deutsch erklären xD. Mit einer Listview? hmm
03/03/2016 07:07 IceTrailer#6
Quote:
Originally Posted by dokayhan View Post
Da meine Englisch-Kenntnisse nicht die besten sind kannst du es mir ja vielleicht nochmal auf Deutsch erklären xD. Mit einer Listview? hmm

"Falsche Sektion" C# != C/C++ ;)

Also hab nochmal geschaut, ListView bietets nicht an, also standardmäßig scheint da aber auch nichts zu vorhanden zu sein
03/03/2016 13:44 Fx.Duke#7
This is not a default control.
If you want something like that in winforms, I would recommend you to inherit from the Button class, then draw a custom text / progressbar and the icon on the left side.
03/03/2016 19:01 b0sted#8
Quote:
Originally Posted by IceTrailer View Post
"Falsche Sektion" C# != C/C++ ;)

Also hab nochmal geschaut, ListView bietets nicht an, also standardmäßig scheint da aber auch nichts zu vorhanden zu sein
hmm.. schade ^^ trotzdem danke :)
03/05/2016 15:19 snow#9
#moved…
03/08/2016 23:23 IceTrailer#10
Habs mit ihm geklärt, er wollte gar nicht, was er hier als Bild darstellt. Er wollte ein TreeView mit Native look und kleinen Ordner Icons.

Da geklärt, #closerequest