C# Класс TestMSBSDF.CompletionArrayControl

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
m_brushFailed SolidBrush
m_brushSuccess SolidBrush
m_dimensionX int
m_dimensionY int
m_dimensionZ int
m_penGrid Pen
m_penSelection Pen
m_selectedX int
m_selectedY int
m_selectedZ int
m_states float[,,]
m_texts string[,,]

Открытые методы

Метод Описание
CompletionArrayControl ( ) : System
GetState ( int _X, int _Y, int _Z ) : float

Gets a state

GetText ( int _X, int _Y, int _Z ) : string

Gets a state error

GetXYAt ( Point _clientPos, int &_X, int &_Y ) : bool
Init ( int _dimensionX, int _dimensionY, int _dimensionZ ) : void

Initializes the control with the correct dimensions

IsPointValid ( Point _clientPos ) : bool
Select ( int _X, int _Y, int _Z ) : void

Updates selection

SelectAt ( Point _clientPos ) : void
SetState ( int _X, int _Y, int _Z, float _state, string _text ) : void

Sets a state

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

DisposeGraphics ( ) : void
FillRectangle ( Graphics _g, Brush _brush, float x0, float y0, float x1, float y1 ) : void
InitializeGraphics ( ) : void
IsInputKey ( Keys keyData ) : bool
OnKeyDown ( KeyEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseHover ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnResize ( EventArgs eventargs ) : void

Приватные методы

Метод Описание
GetCapsule ( RectangleF baseRect ) : GraphicsPath
GetRoundedRect ( RectangleF baseRect, float radius ) : GraphicsPath
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

timer1_Tick ( object sender, EventArgs e ) : void

Описание методов

CompletionArrayControl() публичный Метод

public CompletionArrayControl ( ) : System
Результат System

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

DisposeGraphics() защищенный Метод

protected DisposeGraphics ( ) : void
Результат void

FillRectangle() защищенный Метод

protected FillRectangle ( Graphics _g, Brush _brush, float x0, float y0, float x1, float y1 ) : void
_g Graphics
_brush Brush
x0 float
y0 float
x1 float
y1 float
Результат void

GetState() публичный Метод

Gets a state
public GetState ( int _X, int _Y, int _Z ) : float
_X int
_Y int
_Z int
Результат float

GetText() публичный Метод

Gets a state error
public GetText ( int _X, int _Y, int _Z ) : string
_X int
_Y int
_Z int
Результат string

GetXYAt() публичный Метод

public GetXYAt ( Point _clientPos, int &_X, int &_Y ) : bool
_clientPos Point
_X int
_Y int
Результат bool

Init() публичный Метод

Initializes the control with the correct dimensions
public Init ( int _dimensionX, int _dimensionY, int _dimensionZ ) : void
_dimensionX int
_dimensionY int
_dimensionZ int
Результат void

InitializeGraphics() защищенный Метод

protected InitializeGraphics ( ) : void
Результат void

IsInputKey() защищенный Метод

protected IsInputKey ( Keys keyData ) : bool
keyData Keys
Результат bool

IsPointValid() публичный Метод

public IsPointValid ( Point _clientPos ) : bool
_clientPos Point
Результат bool

OnKeyDown() защищенный Метод

protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
Результат void

OnMouseDown() защищенный Метод

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

OnMouseHover() защищенный Метод

protected OnMouseHover ( EventArgs e ) : void
e EventArgs
Результат void

OnMouseMove() защищенный Метод

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

OnMouseWheel() защищенный Метод

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

OnPaint() защищенный Метод

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Результат void

OnPaintBackground() защищенный Метод

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
Результат void

OnResize() защищенный Метод

protected OnResize ( EventArgs eventargs ) : void
eventargs EventArgs
Результат void

Select() публичный Метод

Updates selection
public Select ( int _X, int _Y, int _Z ) : void
_X int
_Y int
_Z int
Результат void

SelectAt() публичный Метод

public SelectAt ( Point _clientPos ) : void
_clientPos Point
Результат void

SetState() публичный Метод

Sets a state
public SetState ( int _X, int _Y, int _Z, float _state, string _text ) : void
_X int
_Y int
_Z int
_state float
_text string
Результат void

Описание свойств

m_brushFailed защищенное свойство

protected SolidBrush m_brushFailed
Результат SolidBrush

m_brushSuccess защищенное свойство

protected SolidBrush m_brushSuccess
Результат SolidBrush

m_dimensionX защищенное свойство

protected int m_dimensionX
Результат int

m_dimensionY защищенное свойство

protected int m_dimensionY
Результат int

m_dimensionZ защищенное свойство

protected int m_dimensionZ
Результат int

m_penGrid защищенное свойство

protected Pen m_penGrid
Результат Pen

m_penSelection защищенное свойство

protected Pen m_penSelection
Результат Pen

m_selectedX защищенное свойство

protected int m_selectedX
Результат int

m_selectedY защищенное свойство

protected int m_selectedY
Результат int

m_selectedZ защищенное свойство

protected int m_selectedZ
Результат int

m_states защищенное свойство

protected float[,,] m_states
Результат float[,,]

m_texts защищенное свойство

protected string[,,] m_texts
Результат string[,,]