/****************/ /* AttachRouter */ /****************/ public void AttachRouter( CLIPSNET.Environment theEnv, int priority) { attachedEnv = theEnv; theEnv.AddRouter(m_TextBoxRouter.routerName,priority,m_TextBoxRouter); }
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; } } }