예제 #1
0
        protected void OnDetailRemoving(int index, object value)
        {
            WindowDetail wd = value as WindowDetail;

            // Inform object it no longer has a parent
            wd.ParentWindow = null;

            // Inform object that it is no longer in a Zone
            wd.ParentZone = null;
        }
예제 #2
0
        protected void OnDetailInserted(int index, object value)
        {
            WindowDetail wd = value as WindowDetail;

            // Inform object we are the new parent
            wd.ParentWindow = this;

            // Inform object that it is in a Zone
            wd.ParentZone = _parentZone;
        }
 public override void WindowDetailGotFocus(WindowDetail wd)
 {
     // Transfer focus from WindowDetail to the TabControl
     _tabControl.Focus();
 }
예제 #4
0
 public virtual void WindowDetailLostFocus(WindowDetail wd)
 {
     NotifyContentLostFocus();
 }