C# 클래스 Longkong.ColorPicker.Controls.DragForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: Longkong/Pojjaman 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ChangeSize void
DragForm System
ShowForm void
UpdateLocation void

보호된 메소드들

메소드 설명
OnPaint ( PaintEventArgs e ) : void

Paints a thin 1f border around the boundaries of the client area.

WndProc ( Message &m ) : void

Overrides the Form's WndProc method to return HTTRANSPARENT when the WM_NCHITTEST message is returned.

비공개 메소드들

메소드 설명
ChangeSize ( Size newSize ) : void

Sets the client size of the form equal to the Size parameter.

DragForm ( ) : System

Overloaded constructor that allows you to set the size property.

ShowForm ( ) : void

Displays the form with a transparency of .5, but does not make it active.

UpdateLocation ( Point newLocation ) : void

Sets the location of the form relative to the top left corner of the client area as opposed to the top left corner of the window.

메소드 상세

OnPaint() 보호된 메소드

Paints a thin 1f border around the boundaries of the client area.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data.
리턴 void

WndProc() 보호된 메소드

Overrides the Form's WndProc method to return HTTRANSPARENT when the WM_NCHITTEST message is returned.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message A message object containing the message data.
리턴 void