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

            return value;
        }
예제 #2
0
파일: Window.cs 프로젝트: Zekka/labyrinth3
        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;
        }
예제 #3
0
파일: Window.cs 프로젝트: Zekka/labyrinth3
        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;
        }
예제 #4
0
파일: Window.cs 프로젝트: Zekka/labyrinth3
 public virtual void WindowDetailLostFocus(WindowDetail wd)
 {
     NotifyContentLostFocus();
 }
예제 #5
0
 public virtual void WindowDetailLostFocus(WindowDetail wd)
 {
     NotifyContentLostFocus();
 }
예제 #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);
 }
예제 #12
0
 public override void WindowDetailGotFocus(WindowDetail wd)
 {
     // Transfer focus from WindowDetail to the TabControl
     _tabControl.Focus();
 }