예제 #1
0
        static void Main()
        {
            Cef.Initialize(new CefSettings());

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            AppHost = new AppHost();
            AppHost.Init().Start("http://*:2337/");
            "ServiceStack SelfHost listening at {0} ".Fmt(HostUrl).Print();
            Form = new FormMain();
            Application.Run(Form);
        }
예제 #2
0
 public NativeHost(FormMain formMain)
 {
     this.formMain = formMain;
 }
예제 #3
0
 public NativeHost(FormMain formMain)
 {
     this.formMain = formMain;
 }