Click here to Skip to main content
15,887,453 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can't change a button't text at runtime anymore?????? Pin
fiaolle25-Jan-12 4:17
fiaolle25-Jan-12 4:17 
QuestionLearning C# custom controls Pin
thechazm24-Jan-12 5:53
thechazm24-Jan-12 5:53 
AnswerRe: Learning C# custom controls Pin
fjdiewornncalwe24-Jan-12 9:11
professionalfjdiewornncalwe24-Jan-12 9:11 
AnswerRe: Learning C# custom controls Pin
Dean Oliver24-Jan-12 19:00
Dean Oliver24-Jan-12 19:00 
AnswerRe: Learning C# custom controls Pin
BillWoodruff25-Jan-12 3:49
professionalBillWoodruff25-Jan-12 3:49 
GeneralRe: Learning C# custom controls Pin
thechazm25-Jan-12 9:04
thechazm25-Jan-12 9:04 
Questionhelp with array of buttons Pin
goldsoft24-Jan-12 2:51
goldsoft24-Jan-12 2:51 
AnswerRe: help with array of buttons Pin
Pete O'Hanlon24-Jan-12 3:04
mvePete O'Hanlon24-Jan-12 3:04 
Assuming that you have detailed your requirements correctly, and that you can't use a list (for example), you could do it like this (in pseudocode):
C#
declare array of size n

for count = 0, count less than n
  create a new instance of button
  set the text of the button
  add it to the parent control collection (where parent could be a form, a panel, or the like)
end for  

Forgive your enemies - it messes with their heads

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility


GeneralRe: help with array of buttons Pin
PIEBALDconsult24-Jan-12 3:57
mvePIEBALDconsult24-Jan-12 3:57 
AnswerRe: help with array of buttons Pin
Dean Oliver24-Jan-12 18:47
Dean Oliver24-Jan-12 18:47 
GeneralRe: help with array of buttons Pin
BillWoodruff25-Jan-12 3:54
professionalBillWoodruff25-Jan-12 3:54 
GeneralRe: help with array of buttons Pin
Dean Oliver25-Jan-12 18:49
Dean Oliver25-Jan-12 18:49 
QuestionCreate an application which send forms through google docs and download results Pin
pinifg24-Jan-12 1:37
pinifg24-Jan-12 1:37 
AnswerRe: Create an application which send forms through google docs and download results Pin
Pete O'Hanlon24-Jan-12 1:42
mvePete O'Hanlon24-Jan-12 1:42 
GeneralRe: Create an application which send forms through google docs and download results Pin
pinifg24-Jan-12 1:52
pinifg24-Jan-12 1:52 
GeneralRe: Create an application which send forms through google docs and download results Pin
Pete O'Hanlon24-Jan-12 2:13
mvePete O'Hanlon24-Jan-12 2:13 
GeneralRe: Create an application which send forms through google docs and download results Pin
pinifg24-Jan-12 2:14
pinifg24-Jan-12 2:14 
GeneralRe: Create an application which send forms through google docs and download results Pin
Pete O'Hanlon24-Jan-12 2:20
mvePete O'Hanlon24-Jan-12 2:20 
QuestionHow to fix the position of a scroll bar....after selecting a row in grid view in an asp.net page Pin
rake6224-Jan-12 0:40
rake6224-Jan-12 0:40 
AnswerRe: How to fix the position of a scroll bar....after selecting a row in grid view in an asp.net page Pin
V.24-Jan-12 3:59
professionalV.24-Jan-12 3:59 
AnswerRe: How to fix the position of a scroll bar....after selecting a row in grid view in an asp.net page Pin
ZurdoDev24-Jan-12 10:56
professionalZurdoDev24-Jan-12 10:56 
QuestionProblem connecting to MySQL Pin
Jassim Rahma24-Jan-12 0:03
Jassim Rahma24-Jan-12 0:03 
AnswerRe: Problem connecting to MySQL Pin
Luc Pattyn24-Jan-12 0:35
sitebuilderLuc Pattyn24-Jan-12 0:35 
GeneralRe: Problem connecting to MySQL Pin
Jassim Rahma24-Jan-12 5:03
Jassim Rahma24-Jan-12 5:03 
GeneralRe: Problem connecting to MySQL Pin
Matt Meyer24-Jan-12 5:18
Matt Meyer24-Jan-12 5:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.