Skip to content

Commit 75ce3e7

Browse files
authored
Update add-license-key-openedge.md
1 parent 9242640 commit 75ce3e7

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

knowledge-base/add-license-key-openedge.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Set Your License Key in OpenEdge Project
3-
description: Learn how to add your Telerik UI for .NET WinForms license OpenEdge environment.
3+
description: Learn how to add your Telerik UI for WinForms license OpenEdge environment.
44
type: how-to
55
page_title: Set Your License Key in OpenEdge Project
66
slug: add-license-as-snippet-ci-cd
@@ -12,11 +12,11 @@ res_type: kb
1212

1313
| Product | Version
1414
| ---- | ---- |
15-
| Telerik UI for .NET WinForms | 2025 Q1 or later |
15+
| Telerik UI for WinForms | 2025 Q1 or later |
1616

1717
## Description
1818

19-
I work in an OpenEdge environment and need to activate my Telerik UI for .NET WinForms license key. My projects, however, do not use NuGet packages. How can I activate the Telerik UI for .NET WinForms without using the `Telerik.Licensing` package?
19+
I work in an OpenEdge environment and need to activate my Telerik UI for WinForms license key. My projects, however, do not use NuGet packages. How can I activate the Telerik UI for .NET WinForms without using the `Telerik.Licensing` package?
2020

2121
## Solution
2222

@@ -34,21 +34,22 @@ The following tutorial will demonstrate how to set up your license key in the Op
3434

3535
1. Now we need to register the copied license key above.
3636

37-
````ABL
37+
````C#
3838

39-
CONSTRUCTOR PUBLIC Form1 ( ):
40-
// ActivePerpetual script key
41-
Telerik.Licensing.TelerikLicensing:Register("Your License Key").
42-
43-
InitializeComponent().
39+
CONSTRUCTOR PUBLIC Form1 ( ):
40+
// ActivePerpetual script key
41+
Telerik.Licensing.TelerikLicensing:Register("Your License Key").
42+
43+
InitializeComponent().
44+
45+
THIS-OBJECT:ComponentsCollection:Add(THIS-OBJECT:components).
46+
CATCH e AS Progress.Lang.Error:
47+
UNDO, THROW e.
48+
END CATCH.
4449

45-
THIS-OBJECT:ComponentsCollection:Add(THIS-OBJECT:components).
46-
CATCH e AS Progress.Lang.Error:
47-
UNDO, THROW e.
48-
END CATCH.
50+
END CONSTRUCTOR.
4951

50-
END CONSTRUCTOR.
51-
````
52+
````
5253
>important The license key needs to be registered before initializing our controls. In the above scenario, the license key is registered before the InitializeComponent() method is executed.
5354

5455
1. Add a reference to the `Telerik.Licensing.Runtime.dll`.

0 commit comments

Comments
 (0)