If you skip the checkboxes that initiate the calculations of the room rates:
(these)
private void chkStandard_CheckedChanged(object sender, EventArgs e)
{
StandardRate = StandardDoubleRate * numStandard.Value;
}
and instead put these calculations in the btncalc function it works.
so btnCalc should start like this:
public void btnCalc_Click(object sender, EventArgs e)
{
lstOutput.Items.Clear();
long Days;
decimal CostDays;
StandardRate = StandardDoubleRate * numStandard.Value;
DeLuxeRate = DeLuxeDoubleRate * numDeLuxe.Value;
DoubleRate = LuxuryDoubleRate * numDouble.Value;
KingRate = LuxuryKingRate * numKing.Value;
(well apart from being a day of :) )
the date calculation should look like this:
DateOut.Date.Subtract(DateIn.Date).Days
Furthermore it's not good practice to have rates + vat hardcoded into the program. (Every time the rate changes you have to change it in the program and recompile...)
These should come from an external source -(file/database etc)