• Log in or sign up for an account here: https://www.sythe.org/login

C# homework

Do It Right

Forum Addict
Joined
Feb 12, 2012
Sythe Gold
0
Messages
416
Hi I need someone to do my c# homework ill post the instructions. im using microsoft visual c# 2010 studio. we can work out payment method as i really dont know what this even worth should only take an hour or two depending on your skill level.


C# Assignment 3
In this assignment you will create a Form that contains the following text fields and combo box with
labels identifying each field.
 First Name – text field
 Last Name – text field
 Street – text field
 City – text field
 State – text field
 Zip – text field
 Hours Worked (integer) – Combo Box
 SSN – text field
and a listbox
This form will also contain a List Box with the label SSNs
This form will also include a button labeled “Clear”, a button labeled “Write”, a button labeled “Save”,
and a button labeled “Exit”.
Your program will perform the following tasks:
1. When the program starts values from 1 to 55 are loaded into the Hours combo box.
2. When the program starts the file named “EMPS.TXT” is opened for output.
3. When the user clicks the Save button the file SSNS.TXT is opened and everything in the ListBox is
written to this file
4. When the user clicks the Clear button the contents of the text fields are cleared.
5. When the user clicks the Write button the program will perform the following steps:
* Check the text boxes. If a text box does not have a value or does not have a valid value (the
Hours value is not a number) then an error message is displayed.
* Checks the SSN List Box and if the SSN value is already in this list box then display the message
“Already Added” and return to the main window.
* If the SSN is not already in the List Box then add the SSN value to the List Box
* If the SSN is not already in the List Box then write the data in the text fields to the file named
“EMPS.TXT” in the format (comma delimited)
First,Last,Street,City,State,Zip,Hours,SSN
6. When the user clicks the Exit button then close all open files and exit the program.
 
I wasn't asking for your counselling i'm asking for help with an assignment, if you don't want to help please leave. I have interest in it I just don't want to do this assignment geez mr. judgemental.
 
I wasn't asking for your counselling i'm asking for help with an assignment, if you don't want to help please leave. I have interest in it I just don't want to do this assignment geez mr. judgemental.

Not judging you or anything - but if you plan on staying in the course and want to further do work with programming I suggest you do it yourself. If you don't you will just be double screwed on the next one and will regret not following along with the assignments - trust me, I am a comp sci graduate.
 
okay then would you like to help me out? my instructor did it using things like wtr, and rdr and streamreader i don't understand how to use them and i cant find it anywhere in my textbook. and when i try to use it the computer doesnt recognize it so im guessing im missing a file at the "using" section.
 
Is the program supposed to read from the EMPS.txt?

edit: And the text-boxes receives that as info? I don't really understand what EMPS.txt is for.
 
For streamreader and things that use text files, you need to add using system.IO; at the beginning.
 
i have that up there but i dont know what each one is used for like rdr stream reader wtr dr etc... and the program is supposed to create the file emps.txt then write the information that are in the textboxes to that file whilst checking to see that the information isnt already in the file.
 
Runescape Gamblingrunescape gambling
Back
Top