Professional Documents
Culture Documents
Assignment # 03
Deadline Date
Lectures:
NOTE
No assignment will be accepted after the due date via email in any case (whether it is the case of load
shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of
deadline. It is recommended to upload solution file at least two days before its closing date.
If you people find any mistake or confusion in assignment (Question statement), please consult with your
instructor before the deadline. After the deadline no queries will be entertained in this regard.
Problem Statement:
You are required to create a C# WPF application using Visual Studio with the following
functional requirements:
“Login Window” should be similar to the window given below in terms of color scheme
and design. You can use any other logo of Virtual University to place in this window.
Now the credentials of login window should be your complete VUID as username and
last 3 digits of your VUID as password. While login, if you enter some other VUID or
password it must show error “Invalid username or password”. And if you click on exit
button then whole application must be closed.
After successful login, Main Dashboard window will appear similar to following window
and your login username must be passed to dashboard window and appear on screen as
shown in the image.
In next step, you have to Click on invoice button and it will open Invoice form as show in
the figure below. Now, you have to fill the form and when you enter submit button it will
check if any of the text box is empty then it will print message as shown in the given
figure. You have to apply conditions on all textboxes to check none of them will be
empty. Otherwise show relative message in front of the textbox.
When you click on the required field textbox, the message should get disappear from the
screen.
You have to apply validation on Price and Quantity textbox, both of them should only
contain numeric digits. Any other character is not allowed other than numeric value. And
when you enter value in quantity textbox then calculation should be performed
accordingly and total price will appear in total textbox on runtime. For better
understanding see attached gif file and understand working of this application.
If none of the textbox is empty then on clicking save button “Transaction Successful”
message should appear on screen. And when Close button is clicked, in that case only
current form should be closed.
Note:
You must have to follow the color scheme as shown in images. If you want to check
color of any label, button, background on any specific area you can use a Software name
“Color Cop” already provided you in Download Section. And You must have to use your
own VUID for Username and Password.
Submission details
Following Files Must be submitted in a single zip or rar file. File name must be your VUID.
If you do not submit any of the above-mentioned file you will be awarded Marks partially.
“The End”