Exemplo n.º 1
0
 /****************/
 /* AttachRouter */
 /****************/
 public void AttachRouter(
     CLIPSNET.Environment theEnv,
     int priority)
 {
     attachedEnv = theEnv;
      theEnv.AddRouter(m_TextBoxRouter.routerName,priority,m_TextBoxRouter);
 }
Exemplo n.º 2
0
 public void RunExample(
     BackgroundWorker worker,
     DoWorkEventArgs e,
     CLIPSNET.Environment theEnv)
 {
     theEnv.Reset();
      while (theEnv.Run(1) > 0)
        {
     if (worker.CancellationPending == true)
       {
        e.Cancel = true;
        return;
       }
        }
 }