PPJ Manual
HomeCurrent IssuesDownloads
  • Welcome
  • Releases
    • PPJ 2023
  • PPJ 2023
  • PPJ Web API
  • PPJ Desktop API
  • Wisej.NET Documentation
  • General
    • Framework
      • Features
        • SAL and SQL Functions
        • Constants and Variables
        • SalContext
        • Visual Toolchest
        • XSal2
        • Reporting Support
        • LINQ Support
        • SalCompileAndEvaluate
        • Unicode Support
        • Startup Arguments
        • App.config
      • Data Types
        • Automatic Casts
        • Dynamic Arrays
      • Controls
        • ToolBar
        • TabControl
        • TableWindow
        • QuickObject
        • Ribbon Bar
        • NavigationBar
      • SQL Support
        • Configuration
        • ADO.NET Drivers
        • Bind and Into Variables
        • DBP Parameters
        • SqlContext
      • Extensions
        • Table Window
        • Unicode Support
        • Bug Fixes
        • Object Oriented Types
        • Custom Parsers
        • Named Properties
        • Microsoft Charts
        • Tabbed MDI
        • Watermark
        • HTML Rendering
      • Skins and Themes
        • Skin Files
        • Theme Files
        • Configuration
        • Skin Editor
        • Theme Builder
      • Tracing
        • Trace Viewer
        • Default Listeners
        • Tracing the Application
      • Spell Checker
        • Dictionaries
    • Ported Application
      • Project Structure
        • Late Bind Calls
        • Visual Styles
        • Unqualified References
        • Message Actions
        • When SQLError
        • Classes
      • Global Items
      • Forms
      • COM/ActiveX
      • Multiple Inheritance
      • Configuration Tool
      • Issues & Workarounds
    • Ported Reports
      • General
      • Crystal Reports
        • Structure
        • Unsupported Features
      • List & Label
        • Report Conversion
        • Structure
        • Document
        • Input Items
        • Passing Data
        • Unsupported Features
      • Reporting Services
        • Features
      • Stimulsoft
        • Break Groups
        • Fields
        • Formulas
        • Cache Mode
Powered by GitBook
On this page
  • Functional Classes
  • Visual Classes

Was this helpful?

  1. General
  2. Ported Application
  3. Project Structure

Classes

Functional Classes

Functional Classes from the original OpenText Team Developer application are all ported to public classes. The files are located either in the main application's directory or in the \Classes subdirectory, depending on the options set in Ice Porter.

The structure of the generated classes is simple and reflects the original structure. The description of the class is ported to the <summary> comments for the class. Variables and functions are grouped together and enclosed in regions.

If the class had a ObjectDestructor() method, the code is ported into a destructor in .NET. However, destructors in .NET are not called in a predictable manner because of the garbage collector. This difference in behavior may cause problems in the ported application and needs to be addressed by a developer.

The base class for Functional Classes is PPJ.Runtime.SalFunctionalClass.

Visual Classes

Visual classes are all ported to public classes derived from the corresponding control class in the PPJ Framework. The files are located either in the main application's directory or in the \Controls subdirectory, depending on the options set in Ice Porter.

The structure of visual classes is compatible with the Visual Studio Designer guidelines. All the visual properties are generated in the InitializeComponent() method. A call to InitializeComponent() is placed in the constructor. For .NET 2.0 and if the appropriate option in Ice Porter has been set, the designer's code is generated into a separate file called <class name>.Designer.cs.

Not all visual classes can be designed, however. Visual Studio can design only container classes, unlike SQLWindows/Team Developer that can design also single control classes. Nevertheless, Ice Porter generates designer-compatible code also for single control classes.

PreviousWhen SQLErrorNextGlobal Items

Last updated 3 years ago

Was this helpful?