Presentation is loading. Please wait.

Presentation is loading. Please wait.

Uwe Habermann Venelina Jordanova Programming VFP Code in the front-end of Silverswitch applications.

Similar presentations


Presentation on theme: "Uwe Habermann Venelina Jordanova Programming VFP Code in the front-end of Silverswitch applications."— Presentation transcript:

1 Uwe Habermann Venelina Jordanova 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 * * 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…


Download ppt "Uwe Habermann Venelina Jordanova Programming VFP Code in the front-end of Silverswitch applications."

Similar presentations


Ads by Google