We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ 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

 

 

 

 

 

Question

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.

 

 

+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 3421

.

+ 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?)

Attachments:

Replies to This Discussion

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

Thanks

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

Attachments:

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;

RSS

Latest Activity

Today Top Members 

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

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