C# 클래스 Sphere.Core.Editor.EditorPanel

A fast drawing panel for editing, without worrying about odd scroll-to behavior.
상속: System.Windows.Forms.Panel
파일 보기 프로젝트 열기: Radnen/spherestudio

공개 메소드들

메소드 설명
EditorPanel ( ) : System.Drawing

Initializes a new instance of the EditorPanel.

보호된 메소드들

메소드 설명
OnScroll ( ScrollEventArgs se ) : void

Overrides the default scroll behavior to add grid snapping.

ScrollToControl ( Control activeControl ) : Point

For fixing the horrendous scroll-to behavior.

메소드 상세

EditorPanel() 공개 메소드

Initializes a new instance of the EditorPanel.
public EditorPanel ( ) : System.Drawing
리턴 System.Drawing

OnScroll() 보호된 메소드

Overrides the default scroll behavior to add grid snapping.
protected OnScroll ( ScrollEventArgs se ) : void
se System.Windows.Forms.ScrollEventArgs The scrolling properties.
리턴 void

ScrollToControl() 보호된 메소드

For fixing the horrendous scroll-to behavior.
protected ScrollToControl ( Control activeControl ) : Point
activeControl System.Windows.Forms.Control Doesn't matter.
리턴 System.Drawing.Point