Example #1
0
        /// <summary>
        /// Paints the Visio shape as a not match shape.
        /// </summary>
        public virtual bool PaintAsNoMatch()
        {
            string colorIndex = Resources.GetString(ResourceTokens.ShapeLineColorNoMatch);

            VisioUtils.PaintShape(VisioShape, colorIndex);
            return(true);
        }
Example #2
0
        /// <summary>
        /// Paints the Visio shape as a valid shape.
        /// </summary>
        public virtual bool PaintAsValid()
        {
            string colorIndex = Resources.GetString(ResourceTokens.ShapeLineColorOk);

            VisioUtils.PaintShape(VisioShape, colorIndex);
            return(colorIndex != "2");
        }