// -------------------------------------------------------------------
        // OnPaint
        // -------------------------------------------------------------------

        protected override void OnPaint(PaintEventArgs e)
        {
            Graphics g = e.Graphics;

            base.OnPaint(e);

            try
            {
                SelectionRectangle.Draw(g, SelectionRectangle.DrawWithPixel, ZoomPixel);
            }
            catch { }
        }
        // -------------------------------------------------------------------
        // OnPaint
        // -------------------------------------------------------------------

        protected override void OnPaint(PaintEventArgs e)
        {
            Graphics g = e.Graphics;

            base.OnPaint(e);

            try
            {
                if (Image.Width >= WANOK.SQUARE_SIZE && Image.Height >= WANOK.SQUARE_SIZE)
                {
                    SelectionRectangle.Draw(g, SelectionRectangle.DrawWithImage, ZoomPixel);
                }
            }
            catch { }
        }