Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# chart height ,width based on data? Pin
Mycroft Holmes12-Nov-13 23:24
professionalMycroft Holmes12-Nov-13 23:24 
AnswerRe: C# chart height ,width based on data? Pin
GuyThiebaut12-Nov-13 23:41
professionalGuyThiebaut12-Nov-13 23:41 
GeneralRe: C# chart height ,width based on data? Pin
Member 1027623013-Nov-13 0:16
Member 1027623013-Nov-13 0:16 
Questionnearest postcode Pin
Member 1037988612-Nov-13 16:58
Member 1037988612-Nov-13 16:58 
AnswerRe: nearest postcode Pin
Mycroft Holmes12-Nov-13 21:28
professionalMycroft Holmes12-Nov-13 21:28 
GeneralRe: nearest postcode Pin
Member 1037988613-Nov-13 2:16
Member 1037988613-Nov-13 2:16 
QuestionUnit Testing with Serial Port Pin
Blubbo12-Nov-13 9:35
Blubbo12-Nov-13 9:35 
AnswerRe: Unit Testing with Serial Port Pin
Ron Beyer12-Nov-13 17:46
professionalRon Beyer12-Nov-13 17:46 
GeneralRe: Unit Testing with Serial Port Pin
Blubbo12-Nov-13 22:56
Blubbo12-Nov-13 22:56 
AnswerRe: Unit Testing with Serial Port Pin
Blubbo12-Nov-13 23:03
Blubbo12-Nov-13 23:03 
AnswerRe: Unit Testing with Serial Port Pin
Marco Bertschi13-Nov-13 0:15
protectorMarco Bertschi13-Nov-13 0:15 
QuestionHow To Access from C# python list of multi elements Pin
Member 817314812-Nov-13 8:35
Member 817314812-Nov-13 8:35 
AnswerRe: How To Access from C# python list of multi elements Pin
Richard Deeming12-Nov-13 8:43
mveRichard Deeming12-Nov-13 8:43 
QuestionNeed help ..... Pin
superselector11-Nov-13 22:15
superselector11-Nov-13 22:15 
AnswerRe: Need help ..... Pin
Eddy Vluggen11-Nov-13 22:34
professionalEddy Vluggen11-Nov-13 22:34 
AnswerRe: Need help ..... Pin
lukeer11-Nov-13 22:34
lukeer11-Nov-13 22:34 
AnswerRe: Need help ..... Pin
OriginalGriff11-Nov-13 22:35
mveOriginalGriff11-Nov-13 22:35 
GeneralRe: Need help ..... Pin
superselector12-Nov-13 0:57
superselector12-Nov-13 0:57 
AnswerRe: Need help ..... Pin
Mycroft Holmes11-Nov-13 23:22
professionalMycroft Holmes11-Nov-13 23:22 
QuestionChange Content of Button Pin
Member 1037988611-Nov-13 10:27
Member 1037988611-Nov-13 10:27 
AnswerRe: Change Content of Button Pin
Pete O'Hanlon11-Nov-13 10:32
mvePete O'Hanlon11-Nov-13 10:32 
The problem comes because you are trying to use a variable called Button when there is no such variable. Just because you have defined a Button on the main page, it doesn't mean that the code behind knows about it. There are 2 ways to fix this (without going into doing this via MVVM). The first technique for doing this is to name your button in the XAML using
x:Name="MyButton"
(this goes inside your Button declaration) and then use this name in your codebehind. The second way to do this is to take advantage of the fact that the sender argument refers to the control that set it, so you can do
((Button)sender)....
to set the value.
GeneralRe: Change Content of Button Pin
Member 1037988611-Nov-13 11:00
Member 1037988611-Nov-13 11:00 
GeneralRe: Change Content of Button Pin
Pete O'Hanlon11-Nov-13 11:18
mvePete O'Hanlon11-Nov-13 11:18 
Questionc# - Cinema system - Noob need help - 2d arrray - Pin
cSharpDonkey11-Nov-13 4:21
cSharpDonkey11-Nov-13 4:21 
AnswerRe: c# - Cinema system - Noob need help - 2d arrray - Pin
GuyThiebaut11-Nov-13 4:42
professionalGuyThiebaut11-Nov-13 4:42 

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.