예제 #1
0
        protected Control(int x, int y, int width, int height)
        {
            area = new Rect(x, y, width, height);
            children = new ControlCollection(this);

            //X = x;
            //Y = y;
            //Width = width;
            //Height = height;
        }
예제 #2
0
 internal Enumerator(ControlCollection collection)
 {
     _collection = collection;
     _index = -1; // not started.
     _version = _collection.version;
     _currentElement = null;
 }