Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 15:54

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How I can get that button?

Discussion on How I can get that button? within the .NET Languages forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
b0sted's Avatar
 
elite*gold: 110
Join Date: May 2010
Posts: 487
Received Thanks: 214
Arrow How I can get that button?

Hey guys, I just want to ask you how to get that button like this:



I program with C#

I hope you can help me^^
b0sted is offline  
Old 03/01/2016, 18:56   #2
 
elite*gold: 0
Join Date: May 2010
Posts: 86
Received Thanks: 27
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++.
Dungedragon is offline  
Old 03/01/2016, 19:18   #3
 
b0sted's Avatar
 
elite*gold: 110
Join Date: May 2010
Posts: 487
Received Thanks: 214
Don't know what you mean with "technology" xD. I use Windows Forms btw.
b0sted is offline  
Old 03/02/2016, 07:26   #4



 
IceTrailer's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 2,070
Received Thanks: 821
How I can get that button?

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.
IceTrailer is offline  
Old 03/02/2016, 16:46   #5
 
b0sted's Avatar
 
elite*gold: 110
Join Date: May 2010
Posts: 487
Received Thanks: 214
Da meine Englisch-Kenntnisse nicht die besten sind kannst du es mir ja vielleicht nochmal auf Deutsch erklären xD. Mit einer Listview? hmm
b0sted is offline  
Old 03/03/2016, 07:07   #6



 
IceTrailer's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 2,070
Received Thanks: 821
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
IceTrailer is offline  
Old 03/03/2016, 13:44   #7
 
elite*gold: 0
Join Date: Jan 2016
Posts: 15
Received Thanks: 8
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.
Fx.Duke is offline  
Old 03/03/2016, 19:01   #8
 
b0sted's Avatar
 
elite*gold: 110
Join Date: May 2010
Posts: 487
Received Thanks: 214
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
b0sted is offline  
Old 03/05/2016, 15:19   #9

 
snow's Avatar
 
elite*gold: 724
Join Date: Mar 2011
Posts: 10,479
Received Thanks: 3,318
Arrow C/C++ -> .NET Languages

#moved…
snow is offline  
Old 03/08/2016, 23:23   #10



 
IceTrailer's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 2,070
Received Thanks: 821
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
IceTrailer is offline  
Closed Thread


Similar Threads Similar Threads
[B] Push Button [S] 10 e*gold/Button; 25 e*g/psd+Button
09/20/2013 - elite*gold Trading - 4 Replies
Moin, Hier könnt ihr folgenden Push Button kaufen: http://i.epvpimg.com/YlrYe.jpg Pro Button wären das 10e*g, pro Button mit .psd dazu 25e*g. Wenn ihr einen Button kaufen wollt, schreibt mir eine PN, damit ich den Namen ändern kann, alles hochladen kann und euch dann per Treasure schicken kann. ;) Schrift kann auch geändert werden. Dazu einfach in der PN schreiben, welche Schrift ihr haben wollt^^
WarRock statt KOREANISCHE BUTTON --> Englische BUTTON
02/26/2010 - WarRock - 6 Replies
Bin mir nicht sicher ob es diesen Thread schon gibt aber hab bis jetzt nichts gesehen hier. Funktionen Für WarRock Korea Koreanische Schriften (Button) weg und englische Schriften (Button) hin Anleitung



All times are GMT +1. The time now is 15:54.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.