PROJECT SPECIFICATIONS: Given input, processing and output specifications, write a C# program to request information from Dutchess County Tourism. This will be a Windows form project.
Unformatted Attachment Preview
CIS 123 – COMPUTER PROGRAMMING II
Jacqueline Emslie, Instructor
ASSIGNMENT #4 – TOURISM INQUIRY
This assignment is worth 10 points towards your Programming Assignments grade.
Given input, processing and output specifications, write a C# program to request
information from Dutchess County Tourism. This will be a Windows form project.
1 – Change form text to “Dutchess County Tourism Inquiry Form” and a different
BackColor – you choose
2 – Arrival Date – use DateTimePicker control and a label
3 – Departure Date – use DateTimePicker control and a label
4 – Do you need hotel information? – radio button each for Yes and No
5 – Primary reason for visit – list box with the following preloaded:
Vacation, Business, Family Event, Area Event. Other
To do this, double click on the form to create a form1_Load method and use the
Items.AddRange example as found in your textbook
6 – What would you like information on? – one checkbox for each:
Walkway over the Hudson, Restaurants, Museums/Galleries, Farm Tours/Pick Your
Own, Other (please describe)
7 – textbox to enter the Other description of what they would like information on
8 – text box to enter email – with label
9 – photo of Hudson Valley in PictureBox – your choice
10 – LinkLabel – “Visit Dutchess Tourism Website” as the text –
www.dutchesstourism.com Check your textbook for how to do this.
11 – button – “Submit Inquiry” in text
1 – Remember this is a Windows form project.
2 – when click on button, check the following:
a) if Other( please describe) checkbox is checked but the Other Description text box is
spaces, display an error message using MessageBox.Show(“If selecting Other,
please provide a description.”)
b) if the Departure Date is less than the Arrival date, display an error message using
MessageBox.Show(“Departure Date cannot be before the Arrival Date”).
You will need to use : Convert.ToDateTime(this.dateTimePicker2.Text to compare these
c) if the email address is spaces, display an error message using
MessageBox.Show(“Please provide your email address”)
3 – if no errors, display confirmation message
MessageBox.Show(“Your inquiry will be processed.”)
Please submit the following in the Student Drop Box by the due date:
1) Zip up the entire project – worth 7 points
3) I will run the program and check the output for accuracy – worth 3 points
Our essay writing service fulfills every request with the highest level of urgency