public virtual void LayoutExtension( ICredentialBounds bounds )
        {
            Rectangle rcCredDialog = bounds.DialogBounds;
            Rectangle rcRemember = bounds.RememberBounds;
            Rectangle rcOK = bounds.OKBounds;

            Point topLeft = new Point ( rcRemember.Left, rcRemember.Bottom + 10 );
            Point bottomRight = new Point ( rcCredDialog.Right - 10, rcOK.Top - 10 );
            SetBounds ( topLeft.x, topLeft.y, bottomRight.x - topLeft.x, bottomRight.y - topLeft.y );
        }
Exemple #2
0
        public virtual void LayoutExtension(ICredentialBounds bounds)
        {
            Rectangle rcCredDialog = bounds.DialogBounds;
            Rectangle rcRemember   = bounds.RememberBounds;
            Rectangle rcOK         = bounds.OKBounds;

            Point topLeft     = new Point(rcRemember.Left, rcRemember.Bottom + 10);
            Point bottomRight = new Point(rcCredDialog.Right - 10, rcOK.Top - 10);

            SetBounds(topLeft.x, topLeft.y, bottomRight.x - topLeft.x, bottomRight.y - topLeft.y);
        }