Is there any C# forum regulars around here?

Status
Not open for further replies.
If initialBalance is declared in another method then it will be inaccessible to your method.... maybe you have getInitialBalance() or similar?
Looking at it from an application standpoint though, I don't know why a withdrawal greater than the balance would result in the balance being reset to an initial value?
 
Ok I have a question. Teacher assigned a program assignment that requires us to use code that I have not learned and to use checkboxes and radiobuttons (which we have not learned about either). I'm really trying to learn this but something I just cannot figure out with out asking.

The text/content of the checkbox needs to change based upon what is selected first from one of the radiobuttons. How can I alter the checkbox text/content? I see a property for setting a fixed name for each checkbox but i need to be able to alter this depending on what is selected from the radiobutton.

Thanks

Edit: I think I found it on msdn. Is it checkBox1.Name = "xxx";
 
Status
Not open for further replies.
Back
Top Bottom