Forum: C# Nov 22nd, 2008 |
| Replies: 5 Views: 535 case 3:
// output = " \tWithdraw";
//UnderConstruction(output);
WithDraw(balance);
should read |
Forum: C# Nov 22nd, 2008 |
| Replies: 5 Views: 535 Everytime you enter the Deposit() method you are setting the deposit amount to 94.37 :. its not really ever going to change. I mean you will return a different balance from that method but as soon as... |
Forum: C# Jan 19th, 2008 |
| Replies: 11 Views: 2,186 If your second class has been defined as class2 and is accessible within your current form ( in the same project and within the same namespace ) it should work. That error suggests that it is unable... |
Forum: C# Jan 19th, 2008 |
| Replies: 11 Views: 2,186 if(txtUser.Text == "MJ12" && txtPass.Text == "Roswell1947")
{
// Create instance of the mainForm class
Form nextForm = new Class2();
// We may need to make it visable
nextForm.Visible=true;... |
Forum: C# Jan 19th, 2008 |
| Replies: 11 Views: 2,186 if(txtUser.Text == "MJ12" && txtPass.Text == "Roswell1947")
{
//need help here!
}
I am guessing that you want to create another windows forum at this point.
so you may want to do... |