public WindowDetail Add(WindowDetail value)
        {
            // Use base class to process actual collection operation
            base.List.Add(value as object);

            return value;
        }
Example #2
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;
        }
Example #3
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;
        }
Example #4
0
 public virtual void WindowDetailLostFocus(WindowDetail wd)
 {
     NotifyContentLostFocus();
 }
Example #5
0
 public virtual void WindowDetailLostFocus(WindowDetail wd)
 {
     NotifyContentLostFocus();
 }
Example #6
0
 public override void WindowDetailGotFocus(WindowDetail wd)
 {
     // Transfer focus from WindowDetail to the TabControl
     _tabControl.Focus();
 }
 public void Remove(WindowDetail value)
 {
     // Use base class to process actual collection operation
     base.List.Remove(value as object);
 }
 public void Insert(int index, WindowDetail value)
 {
     // Use base class to process actual collection operation
     base.List.Insert(index, value as object);
 }
 public int IndexOf(WindowDetail value)
 {
     // Find the 0 based index of the requested entry
     return base.List.IndexOf(value);
 }
 public bool Contains(WindowDetail value)
 {
     // Use base class to process actual collection operation
     return base.List.Contains(value as object);
 }
 public void AddRange(WindowDetail[] values)
 {
     // Use existing method to add each array entry
     foreach(WindowDetail page in values)
         Add(page);
 }
Example #12
0
 public override void WindowDetailGotFocus(WindowDetail wd)
 {
     // Transfer focus from WindowDetail to the TabControl
     _tabControl.Focus();
 }