Search

July 31, 2009
General »
...I believe.

widget.clientRectangle.width=10;
widget.getRectangle(Rects.clientRectangle).width=10;

Should the meaning...
July 31, 2009
General »
...Point { int x, y; }
class Size { int width, height; }


void foo (Point P) { ... }
void foo...
July 30, 2009
General »
...the first case, if you modify sizeAsAStructField.width, it's ok and should compile, because...
July 30, 2009
General »
...in this case:

widget.sizeAsAStructField.width = 10; // Works widget.sizeAsAStructProp.width = 10; // Doesn't work...
July 30, 2009
General »
...int width;
            public int height;

            public Rect(int width, int height)
            {
                this.width = width;
                this...
July 30, 2009
General »
...wrote:

Rect has 4 values (x, y, width, height), otherwise, the example doesn't make...
July 30, 2009
General »
...in this thread is perfect -- setting the width and height individually may re-render the...
July 27, 2009
General »
...to remember that there is no () after width

WHY? Do you have just one reason...
July 27, 2009
General »
...DRY away:
int _width;
int width
{
    get { return _width; }
    set(v) { _width = v; }
}

And immediately...
July 27, 2009
General »
...this be illegal?

	int width
	{
		float opGet();
	}

or even this?

	float width
	{
		void opSet(int...
128 129 130 131 132 133 134 135 136 137 138
Next ›   Last »