Ejemplo n.º 1
0
        public virtual void ExecutionChangedCallback(DealingEventArgs e)
        {
            EventHandler <DealingEventArgs> hdlr = ExecutionChanged;

            if (hdlr != null)
            {
                if (InvokeRequired)
                {
                    BeginInvoke(new DealingEventDelegate(ExecutionChangedCallback), e);
                }
                else
                {
                    hdlr(this, e);
                }
            }
        }
Ejemplo n.º 2
0
        public virtual void ReleaseAddedCallback(DealingEventArgs e)
        {
            EventHandler <DealingEventArgs> hdlr = ReleaseAdded;

            if (hdlr != null)
            {
                if (InvokeRequired)
                {
                    BeginInvoke(new DealingEventDelegate(ReleaseAddedCallback), e);
                }
                else
                {
                    hdlr(this, e);
                }
            }
        }