.net 3 project

Në Vazhdim Postuar 5 vite mё parё Paguhet në dorëzim
Në Vazhdim Paguhet në dorëzim

Project Name: Lab3A Create Class: Various

Write a Console App (.NET Framework) that:

Makes use of an interface called IEncryptable that contains method signatures for Encrypt( ) and Decrypt( ) (save as [login to view URL])

Makes use of an interface called ISearchable that contains a method signature for Search( ) (save as [login to view URL])

Makes use of an abstract class called Media which represents one single media object (save as [login to view URL])

Creates additional classes derived from Media:

Book (represents one book and has two string properties, Author and Summary)

Movie (represents one movie and has two string properties, Director and Summary)

Song (represents one song and has two string properties, Album and Artist)

The main class (Lab3A) should have the following features:

A method called ReadData( ) that will read the [login to view URL] file and store up to 100 searchable media objects into an array

Examine the data file structure to see how the different media information has been formatted and stored

The data file will have the Summary information for both Books and Movies encrypted using a simple Rot13 algorithm (see Wikipedia)

Include exception handling for the file I/O

Prompts the user via a menu to display your media objects in a variety of ways:

List All Books - a neat list of all Book objects (no Summary displayed)

List All Movies - a neat list of all Movie objects (no Summary displayed)

List All Songs - a neat list of all Song objects

List All Media - a neat list of all derived Media objects (no Summary displayed)

Search All Media by Title - a neat list of all objects with the search key anywhere in the Title (display decrypted Summary where available)

Exit Program

Continues to prompt until the user selects the exit option

Error checking for user input

The Main( ) method should be highly modularized

You may download this sample program for a demonstration of program behaviour

Hair of the Dog

Project Name: Lab3B

Write a Windows Form App (.NET Framework) that:

Makes use of an alternate GUI interface (shown to the right) that determines pricing for a hair salon

The user must:

Select one Hairdresser from a ComboBox (DropDownList style), each of which has a different base rate:

Jane - $30

Pat - $45

Ron - $40

Sue - $50

Laurie - $55

Select one or more Services from a ListBox, each of which has a different rate:

Cut - $30

Wash, blow-dry, and style - $20

Colour - $40

Highlights - $50

Extension - $200

Up-do - $60

The Add Service Button will:

Display the selected Hairdresser (one) in the Charged Items ListBox

Display the selected Services (one or more) in the Charged Items ListBox

Display the corresponding price of the Charged Item in the Price ListBox

The Calculate Total Price Button will display the total cost of all items in the Price ListBox in currency format

The Reset Button will select the first entry in the Hairdresser ComboBox, clear the Charged Items and Prices ListBoxes, clear the Total Price Label, disable the Add Service and Calculate Total Price Buttons, and set focus to the Hairdresser ComboBox

Specification Notes:

The first time the Add Service Button is used, both the hairdresser selected and the first service selected will be added to the Charged Items ListBox. Every time after that, the Add Service Button will only add the selected service

Using the Enabled property of controls, disable/enable appropriately to prevent erroneous selections from being made and control the order in which selections are made. For example:

Initially the Add Service and Calculate Total Price Buttons should be disabled

The Add Service Button is enabled once a selection is made from Service ListBox

The Calculate Total Price Button is enabled when the Add Service Button is used for the first time

The Hairdresser ComboBox is disabled when the Add Service Button is used for the first time

.NET Programim në gjuhën C# Programim në gjuhën C++ Java Arkitekturë softuerësh

ID Projekti: #17190028

Rreth projektit

2 propozimet Projekti në distancë Aktiv 5 vite mё parё