static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var frm = new BrowserForm(); frm.create(); frm.open(args?.Length != 0 ? args[0] : "http://www.litehtml.com/"); Application.Run(frm); }
static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var ctx = new context(); ctx.load_master_stylesheet(Resources.master_css); var frm = new BrowserForm(ctx); frm.open(args?.Length != 0 ? args[0] : "http://www.litehtml.com/"); Application.Run(frm); }