예제 #1
0
파일: Desktop.cs 프로젝트: zx8326123/LGame
 public int Size()
 {
     if (contentPane == null)
     {
         return(0);
     }
     return(contentPane.GetComponentCount());
 }
예제 #2
0
파일: Desktop.cs 프로젝트: zx8326123/LGame
        internal void ValidateContainer(LContainer container)
        {
            LComponent[] components = container.GetComponents();
            int          size       = container.GetComponentCount();

            for (int i = 0; i < size; i++)
            {
                if (components[i].IsContainer())
                {
                    this.ValidateContainer((LContainer)components[i]);
                }
            }
        }
예제 #3
0
파일: Desktop.cs 프로젝트: vb0067/LGame
 public int Size()
 {
     return(contentPane.GetComponentCount());
 }