示例#1
0
 internal void SetDesktop(LComponent comp)
 {
     if (comp.IsContainer())
     {
         LComponent[] child = ((LContainer)comp).GetComponents();
         for (int i = 0; i < child.Length; i++)
         {
             this.SetDesktop(child[i]);
         }
     }
     comp.SetDesktop(this);
 }
示例#2
0
		internal void SetDesktop(LComponent comp) {
			if (comp.IsContainer()) {
				LComponent[] child = ((LContainer) comp).GetComponents();
				for (int i = 0; i < child.Length; i++) {
					this.SetDesktop(child[i]);
				}
			}
			comp.SetDesktop(this);
		}