C# Класс CadEditor.UtilsGui

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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