private void button3_Click(object sender, EventArgs e) { // joe gives $10 to bob bob.ReceiveCash(joe.GiveCash(10)); UpdateForm(); }
private void button2_Click(object sender, EventArgs e) { bank += bob.GiveCash(5); UpdateForm(); }
private void button3_Click(object sender, EventArgs e) { // joe gives $10 to bob bob.ReceiveCash(joe.GiveCash(10)); UpdateForm(); }
private void button2_Click(object sender, EventArgs e) { bank += bob.GiveCash(5); UpdateForm(); }