public class AppContext : ApplicationContext
{
public AppContext(Form mainForm)
{
this.MainForm = mainForm;
mainForm.Show();
}
public string About { get => "Hello"; }
}
var ctx = new AppContext(FormHelper.MainForm);
Application.Run(ctx);