C# 클래스 TestMSBSDF.CompletionArrayControl

파일 보기 프로젝트 열기: Patapom/GodComplex

보호된 프로퍼티들

프로퍼티 타입 설명
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[,,]