Example #1
0
File: Program.cs Project: h3ml/h3ml
        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);
        }
Example #2
0
 public void set(context html_context, BrowserForm browser)
 {
     _browser      = browser;
     _html_context = html_context;
 }
Example #3
0
 public void set(context html_context, BrowserForm browser)
 {
     _browser      = browser;
     _html_context = html_context;
     //_container = new container_win(CreateGraphics);
 }