C# Класс Longkong.ColorPicker.Controls.DragForm

Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

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