Windows Forms start as Windows Foundation Classes on J++, as did P/Invoke (J/Direct in J++), and Delphi like events.
Then the lawsuit happened, Ext-VOS adapted an language being designed at MSR named COOL, which became C#.
In the process, J# made the transition easier for existing J++ code bases.
Years later, with COM at the steering wheel from WinDev as the main API model, the Ext-VOS idea was revisited as WinRT.
https://fsharp.org/history/hopl-final/hopl-fsharp.pdf
https://news.microsoft.com/1997/12/10/microsoft-gives-java-d...
https://www.qbd.com.au/programming-windows-with-java-and-wfc...
https://learn.microsoft.com/en-us/previous-versions/iis/6.0-... https://arstechnica.com/features/2012/10/windows-8-and-winrt...