private void panel1_Paint(object sender, PaintEventArgs e)
        {
            Graphics g = e.Graphics;

            g.FillRectangle(SystemBrushes.Window, panel1.DisplayRectangle);

            RectangleF       pageRect = new RectangleF(0, 0, panel1.Width * 4, panel1.Height * 4);
            FRPaintEventArgs ev       = new FRPaintEventArgs(g, 0.25f, 0.25f, new GraphicCache());

            if (Watermark.Enabled)
            {
                if (!Watermark.ShowImageOnTop)
                {
                    Watermark.DrawImage(ev, pageRect, null, false);
                }
                if (!Watermark.ShowTextOnTop)
                {
                    Watermark.DrawText(ev, pageRect, null, false);
                }
                if (Watermark.ShowImageOnTop)
                {
                    Watermark.DrawImage(ev, pageRect, null, false);
                }
                if (Watermark.ShowTextOnTop)
                {
                    Watermark.DrawText(ev, pageRect, null, false);
                }
            }
            using (Pen p = new Pen(Color.FromArgb(127, 157, 185)))
            {
                g.DrawRectangle(p, 0, 0, panel1.Width - 1, panel1.Height - 1);
            }
            ev.Cache.Dispose();
        }