コード例 #1
0
        public override void Invalidate(RectangleDouble rectToInvalidate)
        {
            rectToInvalidate.IntersectWithRectangle(LocalBounds);

            //rectToInvalidate = new rect_d(0, 0, Width, Height);

            Rectangle windowsRectToInvalidate = GetRectangleFromRectD(rectToInvalidate);

            if (WindowsFormsWindow != null)
            {
                WindowsFormsWindow.RequestInvalidate(windowsRectToInvalidate);
            }
        }
コード例 #2
0
		public override void Invalidate(RectangleDouble rectToInvalidate)
		{
			rectToInvalidate.IntersectWithRectangle(LocalBounds);

			//rectToInvalidate = new rect_d(0, 0, Width, Height);

			Rectangle windowsRectToInvalidate = GetRectangleFromRectD(rectToInvalidate);
			if (WindowsFormsWindow != null)
			{
				WindowsFormsWindow.RequestInvalidate(windowsRectToInvalidate);
			}
		}