using System;
using System.IO;
using System.Windows.Forms;
class Program
{
[STAThread] // Требуется для Windows Forms
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Form form = new Form();
WebBrowser webBrowser = new WebBrowser
{
Dock = DockStyle.Fill
};
form.Controls.Add(webBrowser);
string filePath = Path.Combine(Directory.GetCurrentDirectory(), "bin/DebugMonaco/monaco.html");
Uri uri = new Uri($"file:///{filePath.Replace("\\", "/")}");
webBrowser.Navigate(uri);
Application.Run(form);
}
}