C# and Delphi complement each other very well. Hub is a content creation tool I built in C# for applications developed with Delphi:
It was built with C# 12 (PolySharp), WinForms, WeiFen Luo's DockPanel Suite, and .NET Framework 4.8.1.
Managing Content
The Monaco Editor is used for HTML and CSS editing. Microsoft's WebView2 is used for displaying media. CEFSharp is used for web browsing, bookmarks, content preview, and displaying other files such as PDF documents. The Chrome DevTools are used for diagnostics. List views provide management of document content, images, other media and research files.
Other hosted and integrated tools included Microsoft Word, Excel, and Sublime Text with the HTML Tidy linter for verifying structure. Views are docked into the single visible main form, using WeifenLuo's DockPanel Suite to provide Visual Studio-style docking:
DockView<MonacoView>(MainPanel);
DockView<BrowserView>(RightPanel);
After docking the views, a startup message is sent:
Send<StartupMessage>();
And each view initializes itself, for example, the view that manages Microsoft Word:
private void OnStartup(StartupMessage msg)
{
_app = new Word.Application { Visible = true };
_handle = (IntPtr) Win32Api.FindWindow("Opusapp", null);
Win32Api.SetParent(_handle, panel1.Handle);
ResizeDockedApplication();
SizeChanged += (_, _) => ResizeDockedApplication();
}
And the same for Excel, with minor differences:
_app = new Excel.Application { Visible = true };
_handle = (IntPtr) Win32Api.FindWindow("XLMAIN", null);
Mobile Consumer
The first consumer is a mobile application I had been working in Delphi FireMonkey.
The content tool exports the data in a format that the FMX application can load and present, with a functional table of contents for chapter navigation:
Desktop Consumer
The second consumer was a Delphi FMX documentation tool I had created to assist with workflow procedures at work, and I later used for personal study:
HtPanel
The Delphi applications use HtPanel from the HCL available here. This is one of the best components I've used across any mobile platform, including Flutter.