Example #1
0
        private void CipGrayScaleProc()
        {
            this._mutex.WaitOne();

            Cip.Filters.GrayScale filterGray = new GrayScale();
            Raster result = filterGray.ProcessWithoutWorker(this._undoList.GetCurrent());
            this._undoList.Add(result);
            this._currentBitmap = result.ToBitmap();
            this._bNeedUpdate = true;

            this._mutex.ReleaseMutex();
        }