private void OnCropperEvent(object sender, CropperEventArgs args)
        {
            mCurrentFile = args.CurrentIndex;
            mTotalFiles  = args.Total;
            mLastImage   = args.LastImage;

            UpdateProgress();
        }
Пример #2
0
        private void OnCropperEvent(object sender, CropperEventArgs args)
        {
            if (args.CurrentIndex == args.Total)
            {
                mProgress = -1;
            }
            else
            {
                mProgress = (int)((double)args.CurrentIndex / (args.Total - 1) * 100);
            }

            UpdateProgress();
        }