Example #1
0
 void wb_ProcessCreated(object sender, EventArgs e)
 {
     using (JSObject app = wb.CreateGlobalJavascriptObject("App"))
     {
         app.Bind("exit", false, (s, e_) =>
         {
             Application.Exit();
             kh = null;
             sp = null;
         });
     }
 }
Example #2
0
 private void InitHelpers()
 {
     sp = new SpeechHelper(wb);
     kh = new KinectHelper(wb);
 }