2 writes to frameRect
System.WorkflowServices (2)
System\Workflow\Activities\Design\GradientPanel.cs (2)
78frameRect = new Rectangle(6, 0, this.Size.Width - 14, this.Size.Height - 8); 82frameRect = new Rectangle(0, 0, this.Size.Width - 1, this.Size.Height - 1);
20 references to frameRect
System.WorkflowServices (20)
System\Workflow\Activities\Design\GradientPanel.cs (20)
84frameRect.X -= Margin.Left; 85frameRect.Y -= Margin.Top; 86frameRect.Width += Margin.Left + Margin.Right; 87frameRect.Height += Margin.Top + Margin.Bottom; 88Rectangle shadowRect = new Rectangle(frameRect.X, frameRect.Y + 6, frameRect.Width, frameRect.Height - 5); 89glossHeight = frameRect.Height / 3; 90Brush glossBrush = new LinearGradientBrush(new Point(frameRect.Left, frameRect.Top), new Point(frameRect.Left, frameRect.Top + glossHeight + 1), Color.FromArgb(120, 255, 255, 255), Color.FromArgb(60, 255, 255, 255)); // SolidBrush(Color.FromArgb(32, 255, 255, 255)); 91Brush frameBrush = new LinearGradientBrush(new Point(frameRect.Left, frameRect.Top), new Point(frameRect.Left, frameRect.Bottom), BaseColor, LightingColor); 97e.Graphics.FillPath(frameBrush, RoundedRect(frameRect)); 100e.Graphics.FillPath(glossBrush, RoundedRectTopHalf(frameRect)); 102e.Graphics.DrawPath(new Pen(this.BorderColor), RoundedRect(frameRect));