C# 클래스 CadEditor.UtilsGui

파일 보기 프로젝트 열기: spiiin/CadEditor 1 사용 예제들

공개 메소드들

메소드 설명
askToSave ( bool &dirty, SaveFunction saveToFile, ReturnComboBoxIndexFunction returnCbLevelIndex ) : bool
getVisibleRectangle ( Control panel, Control insideControl ) : Rectangle
prepareBlocksPanel ( System.Windows.Forms.FlowLayoutPanel blocksPanel, Size buttonSize, ImageList buttonsImages, EventHandler buttonBlockClick, int startIndex, int count ) : void
reloadBlocksPanel ( System.Windows.Forms.FlowLayoutPanel blocksPanel, ImageList buttonsImages, int startIndex, int count ) : void
setCbCheckedWithoutUpdateLevel ( CheckBox cb, EventHandler ev, bool index = false ) : void
setCbIndexWithoutUpdateLevel ( ComboBox cb, EventHandler ev, int index ) : void
setCbItemsCount ( ComboBox cb, int count, int first, bool inHex = false ) : void

메소드 상세

askToSave() 공개 정적인 메소드

public static askToSave ( bool &dirty, SaveFunction saveToFile, ReturnComboBoxIndexFunction returnCbLevelIndex ) : bool
dirty bool
saveToFile SaveFunction
returnCbLevelIndex ReturnComboBoxIndexFunction
리턴 bool

getVisibleRectangle() 공개 정적인 메소드

public static getVisibleRectangle ( Control panel, Control insideControl ) : Rectangle
panel System.Windows.Forms.Control
insideControl System.Windows.Forms.Control
리턴 System.Drawing.Rectangle

prepareBlocksPanel() 공개 정적인 메소드

public static prepareBlocksPanel ( System.Windows.Forms.FlowLayoutPanel blocksPanel, Size buttonSize, ImageList buttonsImages, EventHandler buttonBlockClick, int startIndex, int count ) : void
blocksPanel System.Windows.Forms.FlowLayoutPanel
buttonSize System.Drawing.Size
buttonsImages System.Windows.Forms.ImageList
buttonBlockClick EventHandler
startIndex int
count int
리턴 void

reloadBlocksPanel() 공개 정적인 메소드

public static reloadBlocksPanel ( System.Windows.Forms.FlowLayoutPanel blocksPanel, ImageList buttonsImages, int startIndex, int count ) : void
blocksPanel System.Windows.Forms.FlowLayoutPanel
buttonsImages System.Windows.Forms.ImageList
startIndex int
count int
리턴 void

setCbCheckedWithoutUpdateLevel() 공개 정적인 메소드

public static setCbCheckedWithoutUpdateLevel ( CheckBox cb, EventHandler ev, bool index = false ) : void
cb System.Windows.Forms.CheckBox
ev EventHandler
index bool
리턴 void

setCbIndexWithoutUpdateLevel() 공개 정적인 메소드

public static setCbIndexWithoutUpdateLevel ( ComboBox cb, EventHandler ev, int index ) : void
cb System.Windows.Forms.ComboBox
ev EventHandler
index int
리턴 void

setCbItemsCount() 공개 정적인 메소드

public static setCbItemsCount ( ComboBox cb, int count, int first, bool inHex = false ) : void
cb System.Windows.Forms.ComboBox
count int
first int
inHex bool
리턴 void