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 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.

GUI:

Layouts:

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.

Buttons:

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.

 

+ How to Follow the New Added Discussions at Your Mail Address?

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

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 3446

.

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

Attachments:

Replies to This Discussion

Here is solution 

Attachments:

BAI FILE OPEN NHE HO RAHY 

kia issue a rha ? 

can u plz make it for me

BAI KOI SOLUTION SHARE KAR DO

Finally complete assignment.

Thanks VU Ning

Attachments:

plaese ap mari cs411 ki assigment hi bana do aj extand day ha

 

 

        private void OpenFile_Click(object sender, RoutedEventArgs e)

        {

            OpenFileDialog Open = new OpenFileDialog();

            Open.Title = "Select a Picture";

            Open.Filter =  "JPEG|*.jpg";

            if (Open.ShowDialog() == true)

            {

                imageview.Source = new BitmapImage(new Uri(Open.FileName));

            }

        }

 

 

        private void ZoomIn_Click(object sender, RoutedEventArgs e)

        {

            Scale.ScaleX += 0.25;

            Scale.ScaleY += 0.25;

 

        }

 

        private void ZoomOut_Click(object sender, RoutedEventArgs e)

        {

            if (Scale.ScaleX > 0.25)

            {

                Scale.ScaleX -= 0.25;

                Scale.ScaleY -= 0.25;

            }

        }

 

 

xml file code

 

 <ScaleTransform x:Name="Scale" />

 

koi mje assinment bna dey cs 411 ki mere pass visual studio nh h 

mery pas ha but chal nai rha 

RSS

Latest Activity

20 October posted discussions
7 seconds ago
+ ! ❤SΕNSΙТΙVΕ(∂ΕSΕЯТ ΡЯΙNCΕSS)❤ replied to +¢αяєℓєѕѕ gιяℓ's discussion Lets Share yOur desktOp wAllpAper.....  (•ิ‿•ิ)
18 seconds ago
+ ! ❤SΕNSΙТΙVΕ(∂ΕSΕЯТ ΡЯΙNCΕSS)❤ replied to +¢αяєℓєѕѕ gιяℓ's discussion Jin sey Mohabbat Ho.....
1 minute ago
+ ! ❤SΕNSΙТΙVΕ(∂ΕSΕЯТ ΡЯΙNCΕSS)❤ liked +¢αяєℓєѕѕ gιяℓ's discussion Jin sey Mohabbat Ho.....
1 minute ago
+ ! ❤SΕNSΙТΙVΕ(∂ΕSΕЯТ ΡЯΙNCΕSS)❤ replied to +¢αяєℓєѕѕ gιяℓ's discussion Lets Share yOur desktOp wAllpAper.....  (•ิ‿•ิ)
1 minute ago
+++STUDENT+++ replied to BIA's discussion QURAN. 3:135
3 minutes ago
+ ՏhehαrZααD + liked BIA's discussion Quran 15:49
3 minutes ago
+++STUDENT+++ liked BIA's discussion QURAN. 3:135
3 minutes ago
20 October posted a status
"یہ اہل درد بھی کس کی دہائی دیتے ہیں وہ چپ بھی ہو تو زمانہ ہے ہم نوا اس کا"
4 minutes ago
20 October posted a status
"چلو یہ سیل بلا خیز ہی بنے اپنا سفینہ اس کا خدا اس کا ناخدا اس کا"
4 minutes ago
20 October posted a status
"وہ برق رو تھا مگر وہ گیا کہاں جانے اب انتظار کریں گے شکستہ پا اس کا"
4 minutes ago
20 October posted a status
"وہ اپنے زعم میں تھا بے خبر رہا مجھ سے اسے گماں بھی نہیں میں نہیں رہا اس کا"
4 minutes ago
20 October posted a status
"مزاج ہم سے زیادہ جدا نہ تھا اس کا جب اپنے طور یہی تھے تو کیا گلہ اس کا"
5 minutes ago
20 October posted a status
"ہمیں نے ترک تعلق میں پہل کی کہ سلمان خان وہ چاہتا تھا مگر حوصلہ نہ تھا اس کا"
6 minutes ago
+ ! ❤SΕNSΙТΙVΕ(∂ΕSΕЯТ ΡЯΙNCΕSS)❤ replied to +¢αяєℓєѕѕ gιяℓ's discussion Boys Be Like xD
7 minutes ago
+ ! ❤SΕNSΙТΙVΕ(∂ΕSΕЯТ ΡЯΙNCΕSS)❤ liked +¢αяєℓєѕѕ gιяℓ's discussion Boys Be Like xD
7 minutes ago
+ M.Tariq Malik left a comment for Sami
9 minutes ago
+++STUDENT+++ liked BIA's discussion if u r grateful, I will give u more.
11 minutes ago
20 October posted a status
"جس کو بھی چاہا اسے شدت سے چاہا ہے سلمان سلسلہ ٹوٹا نہیں ہے درد کی زنجیر کا"
13 minutes ago
BIA posted a status
"!!.. Worldly Life is very Short, so return to Allah before you Return To Allah....!!"
13 minutes ago

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

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