Manage listing of missionaries on staff at the organization

Assignment Help Programming Languages
Reference no: EM131459670

Programming Assignment

Maintain Missions

In this assignment, you are to design an application, which will manage a listing of missionaries on staff at the Organization Go and Tell. The company has several specifications for this application. This application must be able to display two of the organizations files that contain the missionaries in the field and the missionaries waiting for assignment. The application must be able to sort the display. When a new missionary is added to the organization the application must have the ability to accept this addition. When a missionary retires from the organization, the application must remove the missionary from the appropriate file. The organization would like the application to display the number of missionaries in the field and in waiting while the program is running. Please see below for more specifications on the application.

Helpful hints:

1. Design your form as depicted in the diagram below.

2. The text files needed for this assignment should be placed in the bin\debug folder of the project. Note that you will not have a starting text file for either. Your program should create it when it doesn't exist the first time it runs.

3. ***You must include Your name, instructor as one of the default missionary names. Please use the example below to see how it should be displayed. This is a requirement or your application will not be accepted. There must be at least 10 names included for the missionaries when creating the files from the application.

4. Add the Company name at the top of the application

5. Before displaying the contents of the MissionaryInWiating and MissionarInField files in the initial load, make sure the files exist first. You will need to use the IO.File.Exists method in your checks.

6. Your program will then populate theIn Fieldlistboxwith the names of themissionaries listed in the MissionaryInField text file and populate the In Waitinglistbox with the missionaries listed in the MissionaryInWaiting text file.

7. When a missionary is being sent to the field, the program should move it from the "MissionaryInWaiting." textfile into the "MissionaryInField" textfile.

8. When a missionary is done with his/her mission work the application must be able to remove the name from the "MissionaryInField" textfile into the "MissionaryInWaiting" textfile.

9. The contents of the two text files should be displayed in listboxes when the application starts. After each "update", the listboxes should be cleared and refreshed with the changes shown from the file.

10. Your application should also have a button to add more missionaries to the "MissionariesInWaiting " text file. Your application will accept an item through user input and add it to the MissionariesInWaiting file and refresh the approriatelistbox.

11. Your application should also have a button to delete the missionary completely from the file the name is stored in. The application must check a name is selected before deleting.

12. The application will use the listbox count feature to display the number of missionaries for each file. This must be refreshed each time the file is updated.

13. The sort Button will sort both list boxes in ascending order. A quit button should be included to exit the application.

14. Do NOT use arrays to populate the listboxes, but instead, use LINQ queries that read directly from the text files.

15. Use the StreamWriterin conjunction with IO.File.AppendText to and IO.File.CreateText to append new directories and create new text files. (Note: You will need to use the WriteLinemethod to write the name of the new file to each text file.)

16. Use good programming practicesby clearing the listboxesbefore refreshing them when a change is made that affects their contents.

17. Remember to close the files after accessing them.

18. To remove a listing from a directory, you want to select only those records in the file that are not the one the user wants to remove.

19. Include appropriate error checking (i.e. check to make sure something has been selected in one of the listboxes before trying to move it to the other listbox.).

20. Use appropriate naming conventions for all controls and variables. Make sure the form has a title. Include appropriate internal documentation (i.e. comments in your code).

1467_Go_And_Tell_Mission.jpg

Reference no: EM131459670

Questions Cloud

What is noise : What are the objectives of promotion? The objectives of promotion are to provide information to consumers and others, to increase demand.
Describe the main thoughts and ideas of augustine : What are the characteristics of early Christian art and music according to your text and from websites? What are the similarities among the buildings?
Test level of significance whether they are meeting goal : Test at the 10% level of significance whether they are meeting their goal. Select the correct answer out of each pair of choices.
Organizations in regard to structure and culture : How is the military similar to, or different from, other institutions and organizations in regard to structure and culture?
Manage listing of missionaries on staff at the organization : In this assignment, you are to design an application, which will manage a listing of missionaries on staff at the Organization Go and Tell.
Important issue in government organizations : Why might gender be particularly important issue in government organizations like the military?
Why is product differentiation important to marketers : Why is product differentiation important to marketers? Product differentiation, distinguishing a good or service from its competitors, is important to marketers
Analyze the five sources of power : Create a 15- to 20-slide Microsoft® PowerPoint® presentation (with speaker notes) on the interaction and influence.
Differentiate personal selling and no personal selling : Differentiate between personal selling and no personal selling. Personal selling involves a promotional presentation conducted on a person-to-person basis.

Reviews

Write a Review

Programming Languages Questions & Answers

  Report on a seminar or webinar

A report must be written regarding a seminar or webinar. Describe the key points of the seminar or webinar.

  Write a program which validates that the entry is a integer

Write a program which: Asks the user to enter a positive integer greater than or equal to 0, Validates that the entry is a positive integer and Outputs the digits in reverse order with a space separating the digits.

  Develop a program to read in five exam-scores of a student

Develop a program to read in five exam-scores (in the range of 0-100) of a student in HIST220 class. The instructor has decided to drop the lowest of the five scores.

  Show the graphics simulation of drinks machine

When a coin is clicked on with the mouse it is placed into the slot, it then operates the coin sensor IP0. This should operate OP0 (coin hold solenoid), which will hold the coin in place. At this point either a drink is selected or the coin rejected.

  The design and testing the design of learning environments

HCI projects will gravitate on the design and testing the design of learning environments. Design or improvement of a computer application to support; promote learning, identifying new means of using technology for fostering and assessing learning..

  Add comments to the different sections.

Add comments to the different sections.

  Create a project named animated with a form

Create a project named GuessANumber with a Form that contains a guessing game with five RadioButtons numbered 1 through 5. Randomly choose one of the RadioButtons as the winning button.

  Write program to reads student-s name together with score

Write a program that reads a student's name together with his or her test score. The program should then compute the average test score for each student.

  Derive the cube class from the base square class.

In your derived class have the default values for side be 1. For the cube class include a public function calcVal that evaluates the volume of the cube. (Hint: The volume of the cube is side * square :: calcVal.)

  Compute the total sales and commission rate applied

Write a program that prompts a salesman to enter his-her status and total sales. Compute the following: their status; total sales; commission rate applied; the commission ($) earned (the appropriate rate times the sales)

  Write an assembly program that computes factorial

Write an assembly program that computes f(1), f(2), f(3),..., and f(10). Note that n! is defined as follows: or . Also, note that 1! = 0! = 1.

  Prompt the user to enter the price for apple

C program: Grocery Checkout total. Implement the pseudocode developed in Week 2. Insert meaningful comments at least once for every few lines of the program.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd