Click here to Skip to main content
15,905,144 members
Home / Discussions / C#
   

C#

 
Questionhow to create xm elements with nodes Pin
Priya Prk13-Dec-09 23:33
Priya Prk13-Dec-09 23:33 
AnswerMessage Closed Pin
13-Dec-09 23:48
stancrm13-Dec-09 23:48 
GeneralRe: how to create xm elements with nodes Pin
Priya Prk14-Dec-09 0:13
Priya Prk14-Dec-09 0:13 
Questionadd images in checkedlistbox in C# Pin
yogesh_softworld12313-Dec-09 22:44
yogesh_softworld12313-Dec-09 22:44 
AnswerRe: add images in checkedlistbox in C# Pin
Eduard Keilholz13-Dec-09 23:15
Eduard Keilholz13-Dec-09 23:15 
QuestionEnabling buttons at run time Pin
tasumisra13-Dec-09 22:37
tasumisra13-Dec-09 22:37 
AnswerRe: Enabling buttons at run time Pin
Rob Philpott13-Dec-09 22:57
Rob Philpott13-Dec-09 22:57 
AnswerRe: Enabling buttons at run time [modified] Pin
#realJSOP13-Dec-09 23:56
professional#realJSOP13-Dec-09 23:56 
Write a method like this:

private void ToggleButtonGroup(Button button)
{
    button1.Enabled = (this.button1 == button);
    button2.Enabled = (this.button2 == button);
    button3.Enabled = (this.button3 == button);
    button4.Enabled = (this.button4 == button);
}


Call this method from each appropriate button handler. If you passed this.button4 to the method, button4 would be enabled, and the rest would be disabled.

.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

modified on Monday, December 14, 2009 8:22 AM

GeneralRe: Enabling buttons at run time Pin
tasumisra14-Dec-09 4:10
tasumisra14-Dec-09 4:10 
AnswerRe: Enabling buttons at run time Pin
vtchris-peterson14-Dec-09 4:00
vtchris-peterson14-Dec-09 4:00 
QuestionHow to get noticed about z-order change? Pin
cuker113-Dec-09 20:46
cuker113-Dec-09 20:46 
AnswerRe: How to get noticed about z-order change? Pin
dan!sh 13-Dec-09 21:34
professional dan!sh 13-Dec-09 21:34 
QuestionChange currently image? Pin
dennis_max2713-Dec-09 20:44
dennis_max2713-Dec-09 20:44 
AnswerRe: Change currently image? Pin
dan!sh 13-Dec-09 21:00
professional dan!sh 13-Dec-09 21:00 
GeneralRe: Change currently image? Pin
dennis_max2713-Dec-09 21:18
dennis_max2713-Dec-09 21:18 
GeneralRe: Change currently image? Pin
dan!sh 13-Dec-09 21:32
professional dan!sh 13-Dec-09 21:32 
GeneralRe: Change currently image? Pin
dennis_max2713-Dec-09 21:35
dennis_max2713-Dec-09 21:35 
GeneralRe: Change currently image? Pin
dan!sh 13-Dec-09 21:42
professional dan!sh 13-Dec-09 21:42 
GeneralRe: Change currently image? Pin
Luc Pattyn13-Dec-09 22:54
sitebuilderLuc Pattyn13-Dec-09 22:54 
GeneralRe: Change currently image? Pin
dennis_max2715-Dec-09 20:37
dennis_max2715-Dec-09 20:37 
Questionbackup database [modified] Pin
farokhian13-Dec-09 18:36
farokhian13-Dec-09 18:36 
AnswerRe: backup database Pin
dan!sh 13-Dec-09 18:58
professional dan!sh 13-Dec-09 18:58 
GeneralRe: backup database Pin
farokhian13-Dec-09 19:17
farokhian13-Dec-09 19:17 
AnswerRe: backup database Pin
Vimalsoft(Pty) Ltd13-Dec-09 19:54
professionalVimalsoft(Pty) Ltd13-Dec-09 19:54 
GeneralRe: backup database Pin
farokhian13-Dec-09 22:15
farokhian13-Dec-09 22:15 

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.