Download presentation
Presentation is loading. Please wait.
Published byIsis Castleton Modified over 9 years ago
1
Uwe Habermann Uwe@VandU.eu Venelina Jordanova Venelina@VandU.eu Programming VFP Code in the front-end of Silverswitch applications
2
GUINEU
3
GUINEU? * Use VFP code in Silverlight client projects * So in browsers at the client side * Runs on Mac OS X and in the future on other platforms
4
GUINEU * Developed by Christof Wollenhaupt * www.GUINEU.net www.GUINEU.net * VFP runtime developed in C# * Adapted version for Silverswitch client applications * Exclusive in Silverswitch * 1 DLL * Execute VFP code in FXP file
5
GUINEU What can be done with it? * Business logic * Control of the Silverlight user interface * But: * No VFP user interface * (Messagebox, Wait Window, …) * No data access * But these are not restrictions!
6
GUINEU Integration in Silverswitch * Wrapper-project * VfxGuineuRuntime * FXP file * Save in folder VFPCode * Build: embedded resource * PRG file (to edit with VFP) * Open with VFP as default * Build: none
7
GUINEU * Declaration using VfxGuineuRuntime; private readonly VfxGuineu _fox = new VfxGuineu(".FXP");
8
GUINEU * Function call _fox.Do(" ",,, …); * The first parameter is the function name * Following parameters are passed to the function
9
GUINEU * Passing parameters * Also objects! * Many VFP functions * Many VFP commands * Execution of C# methods * No child objects available
10
GUINEU * Examples in VFPizza * Customers GUINEU * Orders GUINEU * Get value of property * Set value of property * Save (in C#?)
11
C# * Examples in VFPizza * Customers C# * Orders GUINEU * Save * Navigation * And more…
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.