コード例 #1
0
        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;
            }
        }
コード例 #2
0
        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;
              }
        }