예제 #1
0
 // Override the focus leave event from Xsharp.
 protected override void OnFocusOut(Widget other)
 {
     if (sink != null)
     {
         sink.ToolkitFocusLeave();
     }
 }
예제 #2
0
 //WM_KILLFOCUS occurs when either mouse or keyboard causes focus to be lost (or windows does)
 internal virtual void KillFocus()
 {
     if (sink != null)
     {
         sink.ToolkitFocusLeave();
     }
     //Console.WriteLine( "DrawingWindow.LostFocus "+sink) ;
 }
예제 #3
0
        public void ToolkitFocusLeave()
        {
            IToolkitEventSink co = this.mControlWeakRef.Target as IToolkitEventSink;

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