answersLogoWhite

0


Best Answer

Via Control.Enabled property (Button derived from Control):

to enable a button (assume aButton is an instance of button)

aButton.Enabled = true;

aButton.Enabled = false; // this will disable the button

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you enable and disable button in c sharp?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why i can't enable and disable interrupts of my AVR for several times?

It's impossible :o) You can disable and enable any interrupt source by setting or clearing corresponding bit in proper control register. Show me your code - we will see what can be done wrong. Asar fotousa@interia.pl You can set bit I on SREG by 1 to enable global interrupt or by 0 to disable it. in c programming you can write #asm ("sei") //to enable global interupt #asm ("cli") //to disable global interupt M. Wicaksono A.


What are the notes to?

A sharp G G E sharp G E sharp A sharp A sharp C C A sharp C E sharp G A G E sharp A sharp A sharp A sharp G E sharp C this is not on the Flute btw idk what instrument its on


What are the notes to fireflies?

A sharp G G E sharp G E sharp A sharp A sharp C C A sharp C E sharp G A G E sharp A sharp A sharp A sharp G E sharp C this is not on the flute btw idk what instrument its on


How do you play Simpson theme on keyboard?

here it is C,E,F SHARP,A,G,E,C,A,F SHARP,F SHARP,F SHARP,G,A SHARP,C,C,C,C


Is there a C sharp or Visual basic or c plus plus code for webbrowser enable javascript?

Yes, but enabling Javascript programmatically presents a security threat, thus we cannot show you the code.


What key signature has G sharp B sharp and C sharp?

C# Major


What are the notes for the c sharp harmonic scale?

C sharp, D sharp, E natural, F sharp, G sharp, A natural, B sharp & C sharp We call the note C "B sharp" to avoid using the same letter name twice. If we used the note name "C" we would have 2 C-notes and no B-notes in the scale!


What is the tonic note for C sharp minor?

The tonic is C sharp.


What major scale has 7 sharps?

That would be C-sharp major. Every note is sharp.


What is C sharp to E sharp?

The E sharp is the F note. The interval between C sharp and F (e sharp) in two whole steps.


what is the scale for C for the flute?

C, C sharp/D flat, D, D sharp/E flat, E, F, F sharp/G flat, G, G sharp/A flat, A, A sharp/B flat, B, C.


When was Thomas C. Sharp born?

Thomas C. Sharp was born in 1818.