Example #1
0
        private void useFilter(IFilter filter)
        {
            PictureForm activeChild = (PictureForm)this.ActiveMdiChild;

            filter.setImage(activeChild.bitmap);

            if (filter.hasDialog)
                if (!filter.showDialog())
                    return;

            filter.Convert();

            activeChild.refresh();
        }