public virtual object GetObject(Control control)
        {
            if (control == null)
            {
                throw new ArgumentNullException("control");
            }

            return(CallbackMethod.Invoke(control, null));
        }
Example #2
0
        public void Finish()
        {
            Deactivate();

            if (mFinishCallback != null)
            {
                mFinishCallback.Invoke();
            }
        }
        public virtual void SetObject(Control control, object data)
        {
            if (control == null)
            {
                throw new ArgumentNullException("control");
            }

            CallbackMethod.Invoke(control, new object[] { data });
        }