WPF For PowerBuilder Developers

Slides:



Advertisements
Similar presentations
Module 1: Creating an Application by Using Windows Presentation Foundation Overview of WPF Creating a Simple WPF Application Handling Events and Commands.
Advertisements

Brown University Swim Center
The Microsoft Technical Roadshow 2006 Windows Presentation Foundation (WPF) Marcus Perryman
Introduction to Windows Presentation Foundation (WPF) Dr. Frank McCown COMP 445 – GUI Programming.
Data Binding in GUI Application Development Patrick O’Brien.
PowerBuilder.NET Guided Tour. PowerBuilder A New PowerBuilder IDE for.NET Development.
Dinko Jakovljević Microsoft Student Partner | BambooLab
© by Pearson Education, Inc. All Rights Reserved.
An Introduction To Silverlight Gergely Orosz
Migrating Win32 Applications to WPF. PowerBuilder Migration of Existing Applications Migration:  The architecture of WPF is significantly different 
Windows Presetation Foundation (WPF) 1. Introduction.
1 Moderne GUI og Silverlight Windows Presentation Foundation.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
C# Programming: From Problem Analysis to Program Design1 Programming Based on Events C# Programming: From Problem Analysis to Program Design 3 rd Edition.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Introduction & Welcome Marcus Perryman Mike Taulty
WPF 3rd Party Controls WPF = Windows Presentation Foundation
Software Development. Chapter 4 – Windows application interfaces.
Create with SharePoint 2010 Jen Dodd Sr. Solutions Consultant
2 A First Look at Windows Presentation Foundation Everywhere ("WPF/E") Joe Stegman Lead Program Manager Microsoft Corporation.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Building a UI with Zen Pat McGibbon –Sales Engineer.
Introduction to Silverlight By Alan Cobb 2008-Jan-10 Sacramento, CA
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
1 COS240 O-O Languages AUBG, COS dept Lecture 33 Building Apps Technologies C# (WPF part 1)
Zhonghua Qu and Ovidiu Daescu December 24, 2009 University of Texas at Dallas.
Module 11 Control Customization. Module Overview Overview of Control Authoring Creating Controls Managing Control Appearance by Using Visual States Integrating.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Next Generation for Desktop Applications Doncho Minkov Telerik School Academy schoolacademy.telerik.com Technical Trainer
A Jumpstart to WPF by Kevin Grossnicklaus ArchitectNow.
Rujchai Ung-arunyawee Department of Computer Engineering Khon Kaen University.
Windows Presentation Foundation. Agenda Introduction Developing Applications WPF and WF interoperability Custom Controls Styles and Templates Data Binding.
Windows Presentation Foundation. Goal The goal of Windows Presentation Foundation (WPF) is to provide these advances for Windows. Included in version.
Virtual techdays INDIA │ Nov 2010 Developing Office Biz Application using WPF on Windows 7 Sarang Datye │ Sr. Consultant, Microsoft Sridhar Poduri.
Windows Presentation Foundation Adam Calderon Principal Engineer Interknowlogy LLC
Silverlight Technology. Table of Contents 1.What is Silverlight Technology? 2.Silverlight Overview. 2.1 How it works 2.2 Silverlight development tools.
PowerBuilder Online Courses - by Prasad Bodepudi
LAYOUT CONTROLS. XAML Overview XAML : eXtensible Application Markup Language pronounced (ZAMEL) is a markup language used to design user interfaces XML-based.
Object Oriented Software Development 9. Creating Graphical User Interfaces.
The Microsoft Technical Roadshow 2007 Rich Client Development in XAML Mark Johnston Developer & Platform Group Microsoft Ltd
Windows Presentation Foundation Maximilian Knor Developer Evangelist Developer and Plattform Group Microsoft Österreich
PowerBuilder is.NET John Strano Technology Evangelist.
Windows Forms in Visual Studio 2005 Mike Pelton Systems Engineer Microsoft Ltd
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
Discover, Master, Influence1 Windows Presentation Foundation David Burela Senior Developer, Readify.
A Lap Around Windows Presentation Foundation. Why hasn’t UX taken off in software? It’s Difficult! Animation 2D 3D Documents Styled Controls Video Windows.
Rujchai Ung-arunyawee Department of Computer Engineering Khon Kaen University.
C# kursus Rohde & Schwarz1 Moderne GUI Windows Presentation Foundation.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Graphical Enablement In this presentation… –What is graphical enablement? –Introduction to newlook dialogs and tools used to graphical enable System i.
Introducing the Silverlight Rough Cut Editor (RCE) An Olympics case study Jason Suess Principle Technical Evangelist Media Delivery Scenarios.
Contents : What is Silverlight? Silverlight Overview Silverlight Toolkit Overview Timeline & Packaging Silverlight V1.0 & V1.1 Properties of V1.0 Properties.
Rujchai Ung-arunyawee Department of Computer Engineering Khon Kaen University.
1 Välkommen till Sommarkollo Windows Presentation Foundation Per Östman ISV Developer Evangelist
.NET Framework Presentation. About Me Patrik Löwendahl –C# MVP –Certified Vista Touchdown Trainer Cornerstone
Text TCS INTERNAL Oracle PL/SQL – Introduction. TCS INTERNAL PL SQL Introduction PLSQL means Procedural Language extension of SQL. PLSQL is a database.
PowerBuilder Window Window Controls Window Properties Window Types
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Part of the Microsoft.NET Framework 3.0 Tomer Shamam.NET Technologies Expert Sela Group
Adam Schultz MVVM and WPF. MVVM Model, View, ViewModel A software architecture designed to separate out User Interface design, Business Logic, and Data.
Introduction to Visual Basic. NET,. NET Framework and Visual Studio
Introducing the Microsoft® .NET Framework
Working in the Forms Developer Environment
Design and Consume DataWindows in Visual Studio 2005
WPF AKEEL AHMED.
.NET and .NET Core 7. XAML Pan Wuming 2017.
Silverlight Technology
Chapter 2 – Introduction to the Visual Studio .NET IDE
תכנות אסינכרוני, תקשורת ופיתוח אפליקציות ל-Windows 8
Windows Presentation Foundation
Presentation transcript:

WPF For PowerBuilder Developers

PowerBuilder Evolving with .NET

Windows Presentation Foundation WPF is Microsoft's next generation presentation technology Applications can have rich visual appearances 3D graphics High definition playback etc… WPF uses vector-based graphics and is resolution-independent

WPF Sample Contact Manager

WPF Sample Text Editor Text Editor

WPF Feature Highlights Broad Integration 3D graphics, video (HD), speech, rich document viewing ...with one technology Resolution Independence Vector-based graphics render/resize to any screen resolution Hardware Acceleration Can take advantage of graphics card performance …cont’d…

WPF Feature Highlights …cont’d… Declarative Programming XAML for markup Rich Composition Any control may “parent” another Eventual functionality like… …async video on each line of a DDLB!

Windows Presentation Foundation XAML is the declarative markup language with which you may create complex WPF user interfaces XAML allows separation of UI (markup) from runtime logic XAML knowledge will not be required, just optional

Windows Presentation Foundation The change is about the underlying presentation technology Windows Forms applications use GDI+ WPF application uses DirectX technology for rendering DirectX can be rendered using hardware resources Performance may be improved

Windows Presentation Foundation Win32 and Windows Forms technology has been all but deprecated Eventually we’ll all need to develop Windows applications with WPF PowerBuilder will be your entrée to WPF Your investment, knowledge, and skills in PowerBuilder will be preserved

Object Models: Win32 / WinForm vs. WPF WPF has a different object model from Win32 and WinForm We’re working to preserve the PowerBuilder model while incorporating the WPF “style” Drastically reduces your learning curve for WPF

Object Models: Win32 / WinForm vs. WPF For example, WPF controls have a “content” property PowerBuilder will abstract that to the “Text” property PowerBuilder will extend WPF controls <my:WPFButton Height="23" Margin="251,0,268,84" Name=“WPFButton1" VerticalAlignment="Bottom" Text="123" />

Object Models: Win32 / WinForm vs. WPF WPF has introduced many different new concepts: Dependency Properties, Attached Properties, Commands, Routed Events A design goal of PowerBuilder 12 is to hide the details of these new concepts and keep the usage similar to existing PowerBuilder

Object Models: Win32 / WinForm vs. WPF Our goal is to provide you with a “PowerBuilder Experience” when developing WPF applications

PowerBuilder 12 WPF Application Architecture Assemblies of the WPF runtime library WPF DataWindow engine New Managed database drivers

PowerBuilder WPF Window: Constraint on Controls Win32 and WinForm Windows could be the parent of multiple controls In WPF, a Window may have only one control Workaround: Place a Panel, Grid or Canvas, in the Window We intend to put Canvas Panels in a migrated Window by default

Default “Panel” in the PowerBuilder WPF Window class By default, a Grid panel will be put inside a Window for new WPF applications Again, Canvas will be used for migrated applications Approximating absolute positioning

Grid vs. Canvas Grid: Canvas: Can take more advantage of WPF auto sizing SizeToContent property is available Can automatically size controls to length of text for localization/regionalization Canvas: Supports positioning elements with explicit coordinates If we used Grid for migrated applications…position information would not be accurate enough

“InnerControl” Property Arguably, the most important newly-introduced WPF control property Allows reference to WPF control directly in PowerScript Read Only (but properties like Content are writable) In theory, WPF controls may be infinitely nested within any other WPF controls (one at a time) Cb_1.InnerControl.Content = “Some Contents”;

Third Party Controls Third party visual controls may now be used in a WYSIWYG fashion in design mode Conditional code blocks are no longer required for interoperability When placed on the painter, the IDE will trigger a process to create a proxy object for the control The proxy will be analogous to traditional OLE/ActiveX interfaces to minimize your learning curve

New Controls Courtesy of WPF Layouts with Panels: Canvas Grid WrapPanel StackPanel DockPanel

New Controls Courtesy of WPF Canvas:

New Controls Courtesy of WPF Grid:

New Controls Courtesy of WPF StackPanel:

New Controls Courtesy of WPF WrapPanel Variations:

New Controls Courtesy of WPF DockPanel:

New Controls Courtesy of WPF For the following controls, we may… Create standard runtime controls …or… Support them though 3rd party controls (proxy objects) …TBD

New Controls Courtesy of WPF Expander (collapsible GroupBox):

New Controls Courtesy of WPF Expander (collapsible GroupBox):

New Controls Courtesy of WPF MediaPlayer: Built on top of Windows Media Player Formats: WAV WMA MP3 Etc…

New Controls Courtesy of WPF Document Viewer (XPS or Print Preview):

New Controls Courtesy of WPF SpeechRecognizer:

Right-to-Left Support FlowDirection Layout Property:

Theme Support

State of the DataWindow New Features: From PowerBuilder 11.5 New background properties Support for PNG format Tooltips for all control and column types Rich Text Edit style Support for 3rd party controls May be used with a data binding mechanism in the detail band Must be consistent with the column’s data type Expressions are not supported

State of the DataWindow New Features… XML DataWindow syntax SRD syntax is still supported Can run with limited security permissions New export formats Excel 2007 XML paper specification (XPS) Nested (and Composite) DataWindows Display in normal, not print preview mode …cont’d…

State of the DataWindow New Features …(cont’d)… Grid style Grid line color is a property Enablesort supports sorting the contents on a specific column Label Displays in normal mode, not print preview mode Managed DataSources in the new Data Source Interface ADO .NET Web Services The classic data sources are still supported The DataWindow will run as fully Managed Code

DataWindow Painter (of the future) In prototype

State of the DataWindow New Architecture: Separation of Core functionality DataWindow objects Presentation (rendering) functionality DataWindow controls Data access The new Data Source Interface

State of the DataWindow Under the hood… The core functionality contains the object management Object definitions The objects contain their syntax Parsing Compiling Emitting (equivalent of dw.Describe(“datawindow.syntax”) Property definitions Getters Setters Type converters Expression handling

WPF DataWindow Painter WYSIWYG design surface for adding, moving, resizing, positioning of DataWindow elements WYSIWYG Preview Again, a familiar PowerBuilder experience Support for 3rd party controls

The New DataWindow Painter Under the hood again… Adds a second control library Uses the same core functionality as the runtime The controls: Analogs to the runtime controls, similar but not the same Are actually simpler implementations Designed to fit into the Visual Studio ecosystem harmoniously

The New DataWindow Painter Architecture: Uses the core functionality Loading and compiling the syntax For all of the object state management Gets the modified syntax when it is time to save the changes Uses the design time control library Expose properties for user modification Supports the design time UI – dragging/dropping/moving/resizing Uses the Isolated Shell to host the controls And run all the behind the scenes work