private void next_Click(object sender, EventArgs e) { if (rotation < 4) { ++rotation; show(rotation); } if (rotation == 4) { holder.finishCreatingHolder(); if (masterForm.getAccountType() == 1) // Checking Account { account = new Checking(); } if (masterForm.getAccountType() == 2) // Savings Account { account = new Savings(); } if (holder.getOverdraftProtectionSetting() == 1) { account.setOverdraftProtection(true); } masterForm.getMasterBank().getBankServices().newAccount(holder.getHolder(), account); masterForm.setAccount(account); masterForm.updateView(3); } }