public static void Main(string[] args) { EtoFormsAppHost.ConfigureBootstrap(false); Logger.LogInit(EtoFormsAppHost.GetLogFilename()); var application = new Application(Platforms.Gtk2); AppHost.InitSettings(); try { var appHost = (EtoFormsAppHost)AppHost.Instance; appHost.Init(args, false); application.Run(); } finally { AppHost.DoneSettings(); } }
public static void Main(string[] args) { //Style.Add<ButtonToolItemHandler>("icons", h => h.Widget.Image.); //Style.Add<ButtonHandler>("icons", h => h.Widget.Image.); EtoFormsAppHost.ConfigureBootstrap(false); Logger.LogInit(EtoFormsAppHost.GetLogFilename()); LogSysInfo(); var application = new Application(Platforms.Wpf); AppHost.InitSettings(); try { var appHost = (EtoFormsAppHost)AppHost.Instance; appHost.Init(args, false); application.Run(); } finally { AppHost.DoneSettings(); } }