C# Класс Smrf.NodeXL.ExcelTemplate.GraphImageUserSettingsDialog

Edits a GraphImageUserSettings object.
Pass a GraphImageUserSettings object to the constructor. If the user edits the object, Form.ShowDialog() returns DialogResult.OK. Otherwise, the object is not modified and returns DialogResult.Cancel.
Наследование: ExcelTemplateForm
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
m_bCalculatingHeightOrWidth System.Boolean
m_oGraphImageUserSettings GraphImageUserSettings
m_oGraphImageUserSettingsDialogUserSettings GraphImageUserSettingsDialogUserSettings
m_oHeaderFooterFont System.Drawing.Font
m_oNodeXLControlSizePx System.Drawing.Size

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

Метод Описание
AssertValid ( ) : void
GraphImageUserSettingsDialog ( GraphImageUserSettings graphImageUserSettings, Size nodeXLControlSizePx ) : System

Initializes a new instance of the class.

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

Метод Описание
CalculateWidthOrHeight ( System.Boolean bCalculateWidth ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
EnableControls ( ) : void
ValidateHeight ( Int32 &iHeight ) : System.Boolean
ValidateWidth ( Int32 &iWidth ) : System.Boolean

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

Метод Описание
InitializeComponent ( ) : void

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

OnEventThatRequiresControlEnabling ( object sender, EventArgs e ) : void
OnWidthOrHeightValueChanged ( object sender, EventArgs e ) : void
btnHeaderFooterFont_Click ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, System e ) : void
chkPreserveAspectRatio_CheckedChanged ( object sender, EventArgs e ) : void

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

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

public AssertValid ( ) : void
Результат void

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

protected CalculateWidthOrHeight ( System.Boolean bCalculateWidth ) : void
bCalculateWidth System.Boolean
Результат void

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

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

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

protected DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
bFromControls System.Boolean
Результат System.Boolean

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

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

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

Initializes a new instance of the class.
public GraphImageUserSettingsDialog ( GraphImageUserSettings graphImageUserSettings, Size nodeXLControlSizePx ) : System
graphImageUserSettings GraphImageUserSettings /// The object being edited. ///
nodeXLControlSizePx System.Drawing.Size /// The size of the NodeXLControl, in pixels. ///
Результат System

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

protected ValidateHeight ( Int32 &iHeight ) : System.Boolean
iHeight System.Int32
Результат System.Boolean

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

protected ValidateWidth ( Int32 &iWidth ) : System.Boolean
iWidth System.Int32
Результат System.Boolean

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

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

protected Boolean,System m_bCalculatingHeightOrWidth
Результат System.Boolean

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

protected GraphImageUserSettings,Smrf.NodeXL.ExcelTemplate m_oGraphImageUserSettings
Результат GraphImageUserSettings

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

protected GraphImageUserSettingsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oGraphImageUserSettingsDialogUserSettings
Результат GraphImageUserSettingsDialogUserSettings

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

protected Font,System.Drawing m_oHeaderFooterFont
Результат System.Drawing.Font

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

protected Size,System.Drawing m_oNodeXLControlSizePx
Результат System.Drawing.Size