We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.


+ 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: 3520


Replies to This Discussion

Mujtaba Ali Kiani email, cell no sharing is not allowed at the site..next time be care.


kindly help. I need complete solution.

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

CS 411-Visual Programming Assignment # 2 reCreated

Complete Solution : 

Complete Solution. Please remember me in your prayers and subscribe for my channel. https://www.youtube.com/channel/UC_kNiLgxhJEFNU08Q0_o51Q


ya 2016 ka ha yan 2017 ka solution?

Enjoy Kry Sub 

Duration duration = new Duration(TimeSpan.FromSeconds(20));
//progress bar animation
DoubleAnimation doubleanimation = new DoubleAnimation(200.0, duration);
prograsBar.BeginAnimation(ProgressBar.ValueProperty, doubleanimation);

button_start.IsEnabled = false;
button_reset.IsEnabled = false;


Latest Activity

+M.Tariq Malik replied to yasmeen anwer's discussion MCS 1st Quiz
1 hour ago
+M.Tariq Malik liked yasmeen anwer's discussion MCS 1st Quiz
1 hour ago
Profile IconSehrish Mumtaz, Nazir shah, Shahid Iqbal and 8 more joined Virtual University of Pakistan
1 hour ago
+M.Tariq Malik replied to Imtiaz Waqar's discussion COST AND MANAGEMENT ACCOUNTING (MGT402) ASSIGNMENT NO. 01 in the group MGT402 Cost & Management Accounting
2 hours ago
+M.Tariq Malik replied to Muhammad Kashif's discussion FIN611 GDB No 1 Fall 2020 Solution / Discussion in the group FIN611 Advanced Financial Accounting
2 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion FIN611 GDB No 1 Fall 2020 Solution / Discussion in the group FIN611 Advanced Financial Accounting
2 hours ago
yasmeen anwer posted a discussion
2 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion ENG201 Online Quiz No 01 Fall 2020 Solution Discussion Last Date: 27-11-2020 in the group ENG201 Business and Technical English Writing
2 hours ago
HAFIZA AREESHA ASLAM replied to +M.Tariq Malik's discussion SOC101 SOC101 Short Notes Glossary - SOC101 Short Questions Answers - SOC101 Subjective Solved Questions in the group SOC101 Introduction to Sociology
2 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion PHY301 Assignment 01 Fall 2020 Solution / Discussion in the group PHY301 Circuit Theory
3 hours ago
+M.Tariq Malik liked Muhammad Kashif's discussion FIN611 GDB No 1 Fall 2020 Solution / Discussion
3 hours ago
乇メ-丂イひり3刀イ. replied to 乇メ-丂イひり3刀イ.'s discussion *** My Drawing ***
3 hours ago

Looking For Something? Search Here

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

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