C# 클래스 ARCed.Helpers.ControlHelper

파일 보기 프로젝트 열기: borisblizzard/arcreator

공개 메소드들

메소드 설명
GetMapLabel ( int id ) : string
Populate ( ComboBox ctrl, IList data, bool none ) : void

Clears and fills the control with the given data.

Painting is suspended until after items have been added

Populate ( ListBox ctrl, IList data, bool none ) : void

Clears and fills the control with the given data.

Painting is suspended until after items have been added

RenderHeaderImage ( PictureBox picBox, string text ) : void

RenderHeaderImage ( PictureBox picBox, string text, Font font, Brush textBrush, Color gradient1, Color gradient2 ) : void

메소드 상세

GetMapLabel() 공개 정적인 메소드

public static GetMapLabel ( int id ) : string
id int
리턴 string

Populate() 공개 정적인 메소드

Clears and fills the control with the given data.
Painting is suspended until after items have been added
public static Populate ( ComboBox ctrl, IList data, bool none ) : void
ctrl System.Windows.Forms.ComboBox Combobox control to fill
data IList List of data
none bool Flag to fill the first position with "None"
리턴 void

Populate() 공개 정적인 메소드

Clears and fills the control with the given data.
Painting is suspended until after items have been added
public static Populate ( ListBox ctrl, IList data, bool none ) : void
ctrl System.Windows.Forms.ListBox Listbox control to fill
data IList List of data
none bool Flag to fill the first position with "None"
리턴 void

RenderHeaderImage() 공개 정적인 메소드

public static RenderHeaderImage ( PictureBox picBox, string text ) : void
picBox System.Windows.Forms.PictureBox
text string
리턴 void

RenderHeaderImage() 공개 정적인 메소드

public static RenderHeaderImage ( PictureBox picBox, string text, Font font, Brush textBrush, Color gradient1, Color gradient2 ) : void
picBox System.Windows.Forms.PictureBox
text string
font System.Drawing.Font
textBrush System.Drawing.Brush
gradient1 Color
gradient2 Color
리턴 void