Computer science

profilesadra777
computer_science.docx

Task 8: Add a button to the form Airports that plots a curved line on the US Map Form representing the shortest distance between two airport hubs. This task requires the prior completion of Task 7. Task8a: Create a button on the form Airports named ShowMapButton. Change the text property to “Show Map”. Task8b: In the event handler of the Click event for ShowMapButton, add code to build an array of points named XYPairs of type point that contains xy values for the starting point, midpoint, and ending point of the curve to be plotted on the US Map Form (Map). Be sure to Show Map before calling the subroutine Plot. Task 8c: Run the unit tests to make sure they all run. Task 8d: Check out the master copy of the project and install your changes.

2nd

Jerry Schmidt, the manager of the Fiction Bookstore, uses a Microsoft Access database named Books to keep track of the books in his store (see above). The database has one table named tblBooks. The table has five fields. The BookNumber, Price, and QuantityInStock fields are numeric. The Title and Author fields contain text. Mr. Schmidt wants an application that he can use to enter an author's name (or part of a name) and then display only the titles of books written by the author. Display the information in a DataGridView control; however, don't allow the user to add, delete, edit, or save records. In this application, you need to allow the user to specify the records he wants to select. He will use the button to tell the computer to display the selected records.