+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Visual Programming (CS411)

Assignment # 3 (GRADED)

Total marks = 20                                                                                       Due Date = 01/02/2017

Please carefully read the following instructions before attempting the assignment.

1)      First of all listen to the video lectures.

2)      After that consult recommended books to clarify your concepts as handouts are not sufficient.

3)      You are supposed to submit your complete solution project as a single file (i. e. zip or RAR). Any other formats like scan images, PDF, bmp, docx etc. will not be accepted.

4)      You are advised to upload your assignment at least two days before Due date.

5)      This assignment file comprises of 3 pages.

6)      It should be clear that your assignment would not get any credit if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupt.
  • The assignment is copied. Note that strict action would be taken if the submitted assignment is copied from any other student. Both students will be punished severely.


Important Note:

Assignment comprises of 20 Marks. Note that no assignment will be accepted after due date via email in any case (whether it is the case of load shedding or emergency electric failure or internet malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of the deadline and try to upload Solutions at least 02 days before the deadline to avoid any inconvenience.

For any query please contact: CS411@vu.edu.pk







Develop a WPF application with the following functional requirements:

  • When the application starts, the following window (two buttons and a progress bar below the buttons) appears:

  • In the start both “Start” and “Reset” buttons are enabled.
  • When “Start” button is clicked, following things will happen:
    • Both the “Start” and “Reset” buttons will be disabled.
    • A new thread will be created which will cause the value of progress bar in the UI thread to be incremented every 1/10th of a second. The progress bar will reach its maximum value after 10 seconds.
    • When the progress bar reaches its maximum value, the “Reset” button will be enabled and the thread will end.
    • When the “Reset” button is clicked then progress bar will reach its minimum value and the “Start” button will be enabled.
    • You can click the “Start” button whenever it is enabled and the same things will happen again.
    • Please keep in mind the following things:
      • The message to update the value of progress bar in the main UI thread must be forwarded from the newly created thread. If you will write the code to update the progress bar value in the main thread, you will get zero marks.
      • The “Reset” button must be enabled immediately after the progress bar has reached its maximum value. If the timing of enabling the “Reset” button is not as per requirement, your marks will be deducted.



+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Views: 3526


Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>



For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•.


Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 

kia koi bata sakta ha k me visual studion khan se or kaisy kron me ny bht try kiya ha but ni kr pa ri last assgmnt b isi liye chor di thi kindly someone please guid me..........

My CS-411 Assignment # 3 :)

I'm not sharing source file because of copy past issue... comment bellow if you need any help :)

Ammar thanks for sharing 

Pleasure :)

Dear Brother,

What is mean by Main Thread ?, I create Time_tick where I am setting the value of progress bar is it ok?

I don't understand this
The message to update the value of progress bar in the main UI thread must be forwarded from the newly created thread

it means that time tick should come from another thread...

the progress bar value should be incremented from a separate thread.. its about multi threading

Sir, agr code bi share kr dain to nawazish ho gi, extended day hy aj..........

Please code batao 



Mujtaba Ali gmail id hi bata do ab koi girl tum sy kaisy mangy gi, ya to share kr do yahan.

sae kaha.....hahahah


Looking For Something? Search Below

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service