Sample: .NET COBOL Application and Windows Forms

The .NET COBOL Customer + .NET WinForm sample ManagedCustomerWinForm.sln puts together the .NET COBOL Customer sample and the .NET Order Forms dialog that is used in the Customer + WinForm sample. These two together form a sample where all the COBOL is compiled to .NET and the Dialog System user interface remains in native code. The following diagram illustrates this.

The advantage of moving all the code to .NET means that the native/.NET COBOL interoperation through COM is no longer relevant, which simplifies the sample greatly. Compare this sample with the Customer + Win Form sample.

To create this sample: