C# Class Smrf.NodeXL.ExcelTemplate.GeneralUserSettingsDialog

Edits a GeneralUserSettings object.
Pass a GeneralUserSettings 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.
Inheritance: ExcelTemplateForm
ファイルを表示 Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_oAxisFont System.Drawing.Font
m_oGeneralUserSettings GeneralUserSettings
m_oGeneralUserSettingsDialogUserSettings GeneralUserSettingsDialogUserSettings
m_oLabelUserSettings LabelUserSettings
m_oOpenFileDialog System.Windows.Forms.OpenFileDialog
m_oWorkbook Microsoft.Office.Interop.Excel.Workbook

Public Methods

Method Description
AssertValid ( ) : void
GeneralUserSettingsDialog ( GeneralUserSettings generalUserSettings, Microsoft workbook ) : System

Initializes a new instance of the class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
DoDataExchangeEdgeCurvature ( System.Boolean bFromControls ) : System.Boolean
DoDataExchangeVertexEffect ( System.Boolean bFromControls ) : System.Boolean
EnableControls ( ) : void

Private Methods

Method Description
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
btnAxisFont_Click ( object sender, EventArgs e ) : void
btnBrowseBackgroundImageUri_Click ( object sender, EventArgs e ) : void
btnCustomizeVertexMenu_Click ( object sender, EventArgs e ) : void
btnLabels_Click ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, System e ) : void
btnResetAll_Click ( object sender, EventArgs e ) : void

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

DoDataExchange() protected method

protected DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
bFromControls System.Boolean
return System.Boolean

DoDataExchangeEdgeCurvature() protected method

protected DoDataExchangeEdgeCurvature ( System.Boolean bFromControls ) : System.Boolean
bFromControls System.Boolean
return System.Boolean

DoDataExchangeVertexEffect() protected method

protected DoDataExchangeVertexEffect ( System.Boolean bFromControls ) : System.Boolean
bFromControls System.Boolean
return System.Boolean

EnableControls() protected method

protected EnableControls ( ) : void
return void

GeneralUserSettingsDialog() public method

Initializes a new instance of the class.
public GeneralUserSettingsDialog ( GeneralUserSettings generalUserSettings, Microsoft workbook ) : System
generalUserSettings GeneralUserSettings /// The object being edited. ///
workbook Microsoft /// Workbook containing the graph data. ///
return System

Property Details

m_oAxisFont protected_oe property

protected Font,System.Drawing m_oAxisFont
return System.Drawing.Font

m_oGeneralUserSettings protected_oe property

protected GeneralUserSettings,Smrf.NodeXL.ExcelTemplate m_oGeneralUserSettings
return GeneralUserSettings

m_oGeneralUserSettingsDialogUserSettings protected_oe property

protected GeneralUserSettingsDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oGeneralUserSettingsDialogUserSettings
return GeneralUserSettingsDialogUserSettings

m_oLabelUserSettings protected_oe property

protected LabelUserSettings,Smrf.NodeXL.ExcelTemplate m_oLabelUserSettings
return LabelUserSettings

m_oOpenFileDialog protected_oe property

protected OpenFileDialog,System.Windows.Forms m_oOpenFileDialog
return System.Windows.Forms.OpenFileDialog

m_oWorkbook protected_oe property

protected Microsoft.Office.Interop.Excel.Workbook m_oWorkbook
return Microsoft.Office.Interop.Excel.Workbook