예제 #1
0
파일: Program.cs 프로젝트: gahadzikwa/GAPP
 protected override void OnCreateMainForm()
 {
     var settings = new CefSettings();
     settings.LogSeverity = LogSeverity.Disable;
     settings.RegisterScheme(new CefCustomScheme
     {
         SchemeName = CefSharpSchemeHandlerFactory.SchemeName,
         SchemeHandlerFactory = new CefSharpSchemeHandlerFactory()
     });
     if (!Cef.Initialize(settings))
     {
         throw new Exception("Unable to Initialize Cef");
     } 
     MainForm = new FormMain();
 }
예제 #2
0
파일: Program.cs 프로젝트: RH-Code/GAPP
 protected override void OnCreateMainForm()
 {
     MainForm = new FormMain();
 }