CS411 Assignment No, 3 Discussion and Solution. Due date is 30 July Spring 2018

You are required to create a WPF C# application using Visual Studio.

Problem Statement:


Create a grid Layout with one Column and two rows

  • Inside first row create another grid with two columns and two rows and then add 4 buttons. Start First ,Stop First, Start Second and Stop Second. Make the border of this layout Green.
  • Inside second row create a DockPanel and add 4 vertical[1] progress bars. Border must be red.


Pressing Start first Button will increment first two progress bars so that second progress bar is incremented faster and upon reaching 100 the first progress bar is incremented by 1.

So the second progress bar will be completed 100 times and first one only 1 time[2]. But the UI should remain responsive[3] in between this process.

Stop button will stop the process and enable the start button to start process again.

Start Second will do the same to third and fourth progress bars but both the process should work in parallel.

Output.gif has been attached with this Assignment file please observe this file carefully your program’s output must be like this output file.

Submission details

Following Files Must be submitted in a single zip or rar file.

·         .C# code file

·         .XAML File (Front End file)

·         A .gif file which shows working of your Application(For Recording .gif a software named Screentogif is uploaded on LMS, or you can use any other gif recording tool as well)

You are not required to submit the complete project, only copy these three files from project folder. Please note if you submit doc file you will be awarded 0 marks.

If you do not submit any of the above mentioned file 25% marks per file will be deducted.

[1] To Make Progress vertical you can use Layout Transform.

[2] You can use nested loops to achieve this.

[3] UI remains responsive when task is being done asynchronously in separate threads.

Views: 8340


Replies to This Discussion

bro phr ap he bna dain plzzzzz

kindaly send me the solution file my email id is rehman04610@gmail.com

Dear all this is final solution kindly apne apne mutabiq changing zaror krna nai tu sab ke 0 marks lage gain ... 100 % full and final solution


bhai yeh btao k changes karni kaha kahah karni ha ?

es main jaha pe student ID mention krni hai waha already ID likhi hai use apne ID se rename kr lain assignment complete ho jay gi baqi apne mutabiq jo changing krni hain kr lain .... 

Aoa Sir kia ap meri help kar sakty hain

plzz help me

yesss puchain 

mujha sy assignment nai ban rahi

plz send me the solution file?

Mohsin Ali Sari assignment theek hay but jub progress bar full ho jati hay to aik progress bar empty ho jati hay usay full hi rehna chahiay

bhai jan ye randomly kabhi empty kabhi fill hoti hai dont worry es se marks nahi kate jain ge 


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

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