예제 #1
0
파일: Drawable.cs 프로젝트: mhusen/Eto
			/// <summary>
			/// Raises the paint event.
			/// </summary>
			public void OnPaint(Drawable widget, PaintEventArgs e)
			{
				widget.Platform.Invoke(() => widget.OnPaint(e));
			}
예제 #2
0
 /// <summary>
 /// Raises the paint event.
 /// </summary>
 public void OnPaint(Drawable widget, PaintEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnPaint(e));
 }
예제 #3
0
 /// <summary>
 /// Raises the paint event.
 /// </summary>
 public void OnPaint(Drawable widget, PaintEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnPaint(e);
 }