C# 클래스 Nexus.UI.Controls.DetailsButton

A button with an arrow that alternates between pointing up and down when clicked.
상속: System.Windows.Forms.Button
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

Private Properties

프로퍼티 타입 설명
PadImage System.Drawing.Bitmap
SetImages void

공개 메소드들

메소드 설명
DetailsButton ( ) : System

The default constructor.

보호된 메소드들

메소드 설명
OnClick ( EventArgs e ) : void

Raises the Control.Click event.

This alternates the image between the up arrow and the down arrow.

OnMouseEnter ( EventArgs e ) : void

Raises the Control.MouseEnter event.

This switches the image to the hot version of the current image.

OnMouseLeave ( EventArgs e ) : void

Raises the Control.MouseLeave event.

This switches the image to the normal version of the current image.

비공개 메소드들

메소드 설명
PadImage ( Image p_imgImage ) : Bitmap

Adds the TextImageSpacing to the image.

SetImages ( ) : void

This fills the image list with the padded images.

메소드 상세

DetailsButton() 공개 메소드

The default constructor.
public DetailsButton ( ) : System
리턴 System

OnClick() 보호된 메소드

Raises the Control.Click event.
This alternates the image between the up arrow and the down arrow.
protected OnClick ( EventArgs e ) : void
e System.EventArgs An describing the event arguments.
리턴 void

OnMouseEnter() 보호된 메소드

Raises the Control.MouseEnter event.
This switches the image to the hot version of the current image.
protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs An describing the event arguments.
리턴 void

OnMouseLeave() 보호된 메소드

Raises the Control.MouseLeave event.
This switches the image to the normal version of the current image.
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs An describing the event arguments.
리턴 void