Exemplo n.º 1
0
 // Override the focus enter event from Xsharp.
 protected override void OnFocusIn(Widget other)
 {
     if (sink != null)
     {
         sink.ToolkitFocusEnter();
     }
 }
Exemplo n.º 2
0
 //WM_SETFOCUS occurs when either mouse or keyboard sets focus
 internal virtual void SetFocus()
 {
     if (sink != null)
     {
         sink.ToolkitFocusEnter();
     }
     //Console.WriteLine( "DrawingWindow.GotFocus "+sink);
 }
Exemplo n.º 3
0
        public void ToolkitFocusEnter()
        {
            IToolkitEventSink co = this.mControlWeakRef.Target as IToolkitEventSink;

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