void HandleClick() { iClickCount++; switch (iClickCount) { case 1: _end = new MeasureToolPickerEnd(_start); break; case 2: _result = new MeasureToolPickerViewResult(_start, _end, "Click again to restart or ESC to abort"); break; default: iClickCount = 0; // retart break; } }
void HandleClick() { iClickCount++; switch (iClickCount) { case 1: _end = new MeasureToolPickerEnd(_start); break; case 2: _result = new MeasureToolPickerViewResult(_start, _end,"Click again to restart or ESC to abort"); break; default: iClickCount = 0; // retart break; } }