Question: Write in C# Windows form application please. You do not need the data file to write the code if you know the method for this

 Write in C# Windows form application please. You do not need

the data file to write the code if you know the methodWrite in C# Windows form application please. You do not need the data file to write the code if you know the method for this code. Thanks

(30 pts) Create a Windows Form Application named YourLastName_PA6. For this project you are going to process a data file that contains information on UFO sightings. This data file is a real-world data set and may contain dirty data, so care must be taken to protect your processing algorithm from crashing your application. Expect the unexpected! The Data (spooky.csv) datetime, state,country, shape, duration (seconds),latitude, longitude 6/1/1986 24:00,ak,us,light,180,51.88, -176.6580556 5/1/1992 22:00,,, sphere,1800, -18.581196, -173.985008 2/1/1994 22:16,ak,, light, 360,63.694167,-170.478889 The file "spooky.csv", which can be downloaded from D2L, is a comma-separated-value file containing the following information . datetime the month/day/year and time at which the UFO sighting occurred state - an abbreviation of the state the sighting took place, if inside the United States . country - an abbreviation of the country in which the sighting took place * shape - a description of the shape of the UFO . duration (seconds) - the length of time the sighting occurred, in seconds . latitude - a double value representing latitude of sighting . longitude - a double value representing longitude of sighting Application Details: Your application should allow the user to select the file they wish to process (hint: use an openFileDialog control). Provide the controls that allow the user to do the following work: Allow the user to enter in a state abbreviation, and based on this value search the data file and display the total number of sightings that have been reported in that state Allow the user to enter in a shape description, and based on this value display the average duration for sightings of this shape Allow the user to enter in a month and year value, and based on these input values display the datetime, state, country, and shape of all UFO sightings reported on that date. Each set of data should output on a new line e . . Additional Notes The above three searches should be considered independent from one another (for example, failing to enter a state abbreviation should not affect the ability to run a shape search) Protect your processing application from crashing based on bad user inputs, or on bad file values Your application should inform the user whenever an error condition occurs * (30 pts) Create a Windows Form Application named YourLastName_PA6. For this project you are going to process a data file that contains information on UFO sightings. This data file is a real-world data set and may contain dirty data, so care must be taken to protect your processing algorithm from crashing your application. Expect the unexpected! The Data (spooky.csv) datetime, state,country, shape, duration (seconds),latitude, longitude 6/1/1986 24:00,ak,us,light,180,51.88, -176.6580556 5/1/1992 22:00,,, sphere,1800, -18.581196, -173.985008 2/1/1994 22:16,ak,, light, 360,63.694167,-170.478889 The file "spooky.csv", which can be downloaded from D2L, is a comma-separated-value file containing the following information . datetime the month/day/year and time at which the UFO sighting occurred state - an abbreviation of the state the sighting took place, if inside the United States . country - an abbreviation of the country in which the sighting took place * shape - a description of the shape of the UFO . duration (seconds) - the length of time the sighting occurred, in seconds . latitude - a double value representing latitude of sighting . longitude - a double value representing longitude of sighting Application Details: Your application should allow the user to select the file they wish to process (hint: use an openFileDialog control). Provide the controls that allow the user to do the following work: Allow the user to enter in a state abbreviation, and based on this value search the data file and display the total number of sightings that have been reported in that state Allow the user to enter in a shape description, and based on this value display the average duration for sightings of this shape Allow the user to enter in a month and year value, and based on these input values display the datetime, state, country, and shape of all UFO sightings reported on that date. Each set of data should output on a new line e . . Additional Notes The above three searches should be considered independent from one another (for example, failing to enter a state abbreviation should not affect the ability to run a shape search) Protect your processing application from crashing based on bad user inputs, or on bad file values Your application should inform the user whenever an error condition occurs *

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!