rename CefSharp.Example to CefSharp.WinFormsExample

This commit is contained in:
anthony taranto
2012-02-17 14:12:07 -08:00
parent 8661c88bc5
commit 04be2df6e6
55 changed files with 3619 additions and 1025 deletions
@@ -0,0 +1,28 @@
using System;
using System.Windows.Forms;
using CefSharp;
namespace CefSharp.WinFormsExample
{
class Program
{
[STAThread]
static void Main(string[] args)
{
Settings settings = new Settings();
if(!CEF.Initialize(settings))
{
Console.WriteLine("Couldn't initialise CEF");
return;
}
CEF.RegisterScheme("test", new TestSchemeHandlerFactory());
CEF.RegisterJsObject("bound", new BoundObject());
Browser browser = new Browser();
Application.Run(browser);
}
}
}