Пример #1
0
        static void SetIntervalDemo()
        {
            Console.WriteLine("Jint setInterval() demo");

            var ae = new AsyncronousEngine();

            ae.EmbedScriptAssemblies.Add(Assembly.GetExecutingAssembly());
            ae.RequestFileExecution("setIntervalSetTimeoutNested.js");

            Console.WriteLine("Hit a key to stop");
            Console.ReadKey();
            ae.RequestClearQueue();

            Console.WriteLine("*** Done ***");
            Console.ReadKey();
        }
Пример #2
0
 private void butClearEventQueue_Click(object sender, EventArgs e)
 {
     butClearListBox_Click(sender, e);
     _asyncronousEngine.RequestClearQueue();
 }
Пример #3
0
 public void ClearEventQueue()
 {
     ClearOuput();
     _asyncronousEngine.RequestClearQueue();
 }