standard windows forms to windows 8 metro style porting tool
DESCRIPTION
Standard Windows Forms to Windows 8 Metro Style porting tool . Group No: 12-111. Introduction. Why Switch to Windows 8?. Targets Touch Based Devices New User Experience Fast And Fluid Programming Flexibility Better Hardware Utilization. Why use Metro Style?. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/1.jpg)
Standard Windows Forms to Windows 8
Metro Style porting tool Group No: 12-111
![Page 2: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/2.jpg)
Introduction
![Page 3: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/3.jpg)
Why Switch to Windows 8?
• Targets Touch Based Devices• New User Experience• Fast And Fluid• Programming Flexibility• Better Hardware Utilization
![Page 4: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/4.jpg)
Why use Metro Style?• Full screen applications tailored for user needs
and the device they run on
• Optimized for Touch interaction and to the windows user interface
• Eliminates the Windows Chrome such as ribbons and tool bars, giving an uncluttered UI
![Page 5: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/5.jpg)
Windows Forms vs. Metro Style
• Windowed• Not much Touch Friendly• Fills the screen with
toolbars and chrome• .NET 4/4.5 (Win32) and
earlier
• Full screen• Touch Friendly• No chrome, more space
for the application• .NET 4.5 (WinRT)• Charms
Objective : Can this conversion be done?, how?, if so a tool to help
![Page 6: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/6.jpg)
Windows Forms vs. Metro Style
• Why the change ?– Microsoft is moving for the tablet market– One application, one job• Fullscreen – No interference from other applications• No MDIs - Simple work flow
– More space for the application interface– Simplify the user interaction
![Page 7: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/7.jpg)
Why porting is required?• To reduce the cost of developing applications
from the scratch. • Keep the logical functionality of the current
application intact even with the new technology.
![Page 8: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/8.jpg)
User Requirements
![Page 9: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/9.jpg)
What the system should do?
• Convert the GUI• Convert the code behind• Convert the solution and folder structures• Help the user throughout the conversion
process
![Page 10: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/10.jpg)
What the system should do
Windows Forms Application
Metro Style Application
Convert the GUI
Convert code
behind
Convert solution file and folder
structure
![Page 11: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/11.jpg)
What the system should do- Use Case
![Page 12: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/12.jpg)
User Characteristics• Student : Low Technical Background– To learn– To play around– Little or no knowledge on WinRT and Metro
• Developer : High Technical Background– Knows what he/she’s doing– Good knowledge on WinRT and Metro
![Page 13: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/13.jpg)
User Interface – What the user need
• A window where we can set what to convert/port, and to check whether it is possible
• A wizard that would guide the user through the porting process.
• Help when the user needs it
![Page 14: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/14.jpg)
Software Interfaces• Roslyn Project – Get service from the compiler.• Windows 8 – Platform on which the output
application runs on• .NET 4.5 (WinRT) – Framework the output
application runs on• .NET 4.0 – Framework the system and the input
application runs on
![Page 15: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/15.jpg)
Operations• Interactive Operations– Set input application– Set basic settings– Select capabilities– Select charms– Modify defaults– Monitor porting process
• Unattended Operations– None
![Page 16: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/16.jpg)
Product Functions• Analyze code• Set options• Port Code• View log• Change application settings• View help• Customize conversion rules
![Page 17: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/17.jpg)
System Requirements
![Page 18: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/18.jpg)
The System – Class diagram
![Page 19: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/19.jpg)
The User InterfacesMain Window• Used to Provide the input
project to be ported• Analyzes the input for
integrity and compatibility• If everything is ok, transfer
control to the porting wizard
![Page 20: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/20.jpg)
The User InterfacesPorting Wizard -Introduction• The starting point of the
porting wizard• Give a brief description on the
porting process which follows
![Page 21: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/21.jpg)
The User InterfacesPorting Wizard - Application UI• Set basic application
properties
![Page 22: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/22.jpg)
The User InterfacesPorting Wizard - Capabilities• What the application has
access to• Help user make the correct
choice
![Page 23: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/23.jpg)
The User InterfacesPorting Wizard - Charms• New Feature introduced in
Windows 8• Provides access to
functionalities in • Provides the user with the
option to select preferred charms
![Page 24: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/24.jpg)
The User InterfacesPorting Wizard – User Modifications• Ability to change the
generated code• Override defaults
![Page 25: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/25.jpg)
The User InterfacesPorting Wizard – Analysis Report• What happened during the
porting process• Errors, Warnings
![Page 26: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/26.jpg)
The Requirements• Functional– Convert the User Interface– Convert the Code behind– Convert the Solution files and folder structure
![Page 27: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/27.jpg)
The Requirements• Non Functional– Maintainability• Should be easily updatable
– User friendliness• Must be easily to use
– Portability• Application must be able to run on different computer
which meets the minimum requirements– Usability• Must be easy to learn and master
![Page 28: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/28.jpg)
The Requirements• Non Functional– Performance• Use resources efficiently• Get the porting process done as fast as possible
![Page 29: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/29.jpg)
Questions?
![Page 30: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/30.jpg)
Thank you!
![Page 31: Standard Windows Forms to Windows 8 Metro Style porting tool](https://reader035.vdocuments.site/reader035/viewer/2022062501/568161bb550346895dd1938f/html5/thumbnails/31.jpg)
References• http
://www.hongkiat.com/blog/evolution-of-microsoft-windows-1985-2009/
• http://en.wikipedia.org/wiki/Porting