Example #1
0
		private void Dispatcher_FrameworkCleared(object sender, FrameworkEventArgs args)
		{
			bool flag = false;
			try
			{
				Monitor.Enter(this, ref flag);
				foreach (IGroupListener current in this.listeners)
				{
					current.Queue.Enqueue(new OnFrameworkCleared(args.Framework));
				}
				this.listenerTable.Clear();
			}
			finally
			{
				if (flag)
				{
					Monitor.Exit(this);
				}
			}
		}
Example #2
0
        private void Dispatcher_FrameworkCleared(object sender, FrameworkEventArgs args)
        {
            bool flag = false;

            try
            {
                Monitor.Enter(this, ref flag);
                foreach (IGroupListener current in this.listeners)
                {
                    current.Queue.Enqueue(new OnFrameworkCleared(args.Framework));
                }
                this.listenerTable.Clear();
            }
            finally
            {
                if (flag)
                {
                    Monitor.Exit(this);
                }
            }
        }
Example #3
0
 private void OnFrameworkCleared(object sender, FrameworkEventArgs args)
 {
     InvokeAction(delegate
     {
         #if GTK
         this.cbxSelector.ClearTexts();
         #else
         this.cbxSelector.Items.Clear();
         #endif
         this.Reset(false);
         this.chart.UpdatePads();
     });
     this.eventsBySelectorKey.Clear();
     this.eventsBySelectorKey[""] = new List<GroupEvent>();
 }