際際滷

際際滷Share a Scribd company logo
Builders & Developers Workshop
Session 7
Prepared & Presented By:
Moatasim Magdy
Agenda
 How to use shared.
 Navigation.
 Command Bar.
 App Bar.
How to use shared part in your code?
Steps
 Right Click on shared part
 Add
 New Item
 Class
 Give a name to the class
 Start implementing your functions then call it in you windows or
windows phone C# page.
Navigation
 What if I want to make more than one page in my Application ?
 How to do that ?
Steps to make a new page:
 Right click on your part in code ( Windows or Windows phone ).
 Add.
 New Item.
 Blank Page.
 Give name to the page.
Session seven Builders & Developers workshop MSTC`15
Add this XAML code To Main Page
Add this XAML code to the new Page
 First to the one in the main page.
 Then to the one in new page
Add this C# code to the two hyper links
Command Bar
 First add this to XAML code
Then add any function you want in C#
App Bar
Output
Session seven Builders & Developers workshop MSTC`15
Session seven Builders & Developers workshop MSTC`15
 /moatasim.magdy
 mo3tasim_94@hotmail.com
Session seven Builders & Developers workshop MSTC`15

More Related Content

Session seven Builders & Developers workshop MSTC`15