Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

Visual Programing (CS411), Assignment#02 (GRADED), Total marks = 20, Deadline Date = Monday, January 28, 2019

Total marks = 20

                                                                                       Deadline Date = Monday, January 28, 2019

Please read all the instructions carefully before attempting the assignment.

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

Problem Statement:

First Design interface in WPF as given in the gif file, the application will let the user browse an image and after the image shows up user can zoom in and zoom out the picture.



Parent Layout is DockPanel , inside DockPanel there is an image View  and a Stackpanel which is docked at the bottom.

3 Button are inside StackPanel and back ground of StackPanel is 3 colors Linear Gradient

Image View: Image View will be used to set image recourse that will be browsed with button.


Browse button will be used to browse and JPG Image file and set that image to Image View.

+ (Zoom in) button will be used to zoom the opened picture.

- (Zoom out) button will be used to zoom out the picture.


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.

·         .CS 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 or txt file you will be awarded 0 marks. Make sure to write your own VU ID in the assignment file(s) otherwise assignment will not be accepted.

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


Views: 3648


Replies to This Discussion

ma tu kr li complete.

Kindly send the solution 

share plz

share the solution plz

First of all make Interface in Xaml. us k bat jis button k behind code add krna hoa us py double click karen. Browse button k liye openfiledialog use krna seekhen us k bad + button k behind jo code add krna wo aisy karen k jo GUI ma apne ImageViwer use kia us k size ko increase karen e.g. image.actualwidth+3 same for height. aur jab -button wala krna tou image.actualwidth-3 kr lain. 

and you assignment will be done dna don done :P 

upload C#code

Hi everyone! I just want to know how you insert button of browse an image in wpf application because in assignment the examiner told us that make this application in wpf application c# but if we select wpf application in c# then there is no picturebox so we cannot adjust picture. Now please tell me how we use image or picturebox in wpf application using c#? 

assalam o alaikum plz yee bta day kay zoom in or zoom out wala kasay kray gay .main nay is trh kya hai


g ya thk hai ap plzz mjy mri ya assignment  bna ky dy skaty hai

plz help in assignment  cs411

 Interesting Assignment 


plz help me how to create a zoom in and zoom out image.


Looking For Something? Search Below

Latest Activity

Shaaz WahCantt replied to Mr Siren Head's discussion Ning Chats
18 hours ago
Mr Siren Head replied to Mr Siren Head's discussion Ning Chats
20 hours ago
M. Haris left a comment for Sana rajput
23 hours ago
M. Haris left a comment for Sana rajput
23 hours ago
M. Haris liked Sana rajput's profile
23 hours ago
M. Haris liked MUSFIRA's profile
23 hours ago
M. Haris liked MUSFIRA's profile
23 hours ago
MUSFIRA replied to Mr Siren Head's discussion Ning Chats

VIP Member Badge & Others

How to Get This Badge at Your Profile DP


Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

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

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