Example #1
0
 // Override the "Close" event from Xsharp.  We pass control to
 // the event sink to deal with it, and avoid calling the base.
 public override bool Close()
 {
     if (sink != null)
     {
         sink.ToolkitClose();
     }
     return(false);
 }
Example #2
0
        public void ToolkitClose()
        {
            IToolkitEventSink co = this.mControlWeakRef.Target as IToolkitEventSink;

            if (null != co)
            {
                co.ToolkitClose();
            }
        }