示例#1
0
文件: Window.cs 项目: stevencohn/Orqa
        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
文件: Window.cs 项目: stevencohn/Orqa
        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;
        }
示例#3
0
 public override void WindowDetailGotFocus(WindowDetail wd)
 {
     // Transfer focus from WindowDetail to the TabControl
     _tabControl.Focus();
 }
示例#4
0
文件: Window.cs 项目: stevencohn/Orqa
 public virtual void WindowDetailLostFocus(WindowDetail wd)
 {
     NotifyContentLostFocus();
 }