C# Class Smrf.NodeXL.ExcelTemplate.ConvertNodeXLWorkbookDialog

Copies a NodeXL workbook created on another machine and converts the copy to work on this machine.
A NodeXLWorkbookConverter object does most of the work.
Inheritance: ExcelTemplateForm
Afficher le fichier Open project: 2014-sed-team3/term-project

Protected Properties

Свойство Type Description
m_oApplication Microsoft.Office.Interop.Excel.Application
m_oConvertNodeXLWorkbookDialogUserSettings ConvertNodeXLWorkbookDialogUserSettings
m_oOpenFileDialog System.Windows.Forms.OpenFileDialog
m_sConvertedWorkbookFile String
m_sOtherWorkbookFile String

Méthodes publiques

Méthode Description
AssertValid ( ) : void
ConvertNodeXLWorkbookDialog ( ) : System

Initializes a new instance of the class for the Visual Studio designer.

Do not use this constructor. It is for use by the Visual Studio designer only.

ConvertNodeXLWorkbookDialog ( Microsoft application ) : System

Initializes a new instance of the class with an Excel Application object.

Méthodes protégées

Méthode Description
ConvertNodeXLWorkbook ( String sOtherWorkbookFile, String sConvertedWorkbookFile ) : System.Boolean
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
OtherToConvertedWorkbook ( String sOtherWorkbookFile ) : String

Private Methods

Méthode Description
InitializeComponent ( ) : void

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

btnBrowse_Click ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, EventArgs e ) : void
txbOtherWorkbookFile_TextChanged ( object sender, EventArgs e ) : void

Method Details

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

ConvertNodeXLWorkbook() protected méthode

protected ConvertNodeXLWorkbook ( String sOtherWorkbookFile, String sConvertedWorkbookFile ) : System.Boolean
sOtherWorkbookFile String
sConvertedWorkbookFile String
Résultat System.Boolean

ConvertNodeXLWorkbookDialog() public méthode

Initializes a new instance of the class for the Visual Studio designer.
Do not use this constructor. It is for use by the Visual Studio designer only.
public ConvertNodeXLWorkbookDialog ( ) : System
Résultat System

ConvertNodeXLWorkbookDialog() public méthode

Initializes a new instance of the class with an Excel Application object.
public ConvertNodeXLWorkbookDialog ( Microsoft application ) : System
application Microsoft /// Excel application. ///
Résultat System

Dispose() protected méthode

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

DoDataExchange() protected méthode

protected DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
bFromControls System.Boolean
Résultat System.Boolean

OtherToConvertedWorkbook() protected méthode

protected OtherToConvertedWorkbook ( String sOtherWorkbookFile ) : String
sOtherWorkbookFile String
Résultat String

Property Details

m_oApplication protected_oe property

protected Application,Microsoft.Office.Interop.Excel m_oApplication
Résultat Microsoft.Office.Interop.Excel.Application

m_oConvertNodeXLWorkbookDialogUserSettings protected_oe property

protected ConvertNodeXLWorkbookDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oConvertNodeXLWorkbookDialogUserSettings
Résultat ConvertNodeXLWorkbookDialogUserSettings

m_oOpenFileDialog protected_oe property

protected OpenFileDialog,System.Windows.Forms m_oOpenFileDialog
Résultat System.Windows.Forms.OpenFileDialog

m_sConvertedWorkbookFile protected_oe property

protected String m_sConvertedWorkbookFile
Résultat String

m_sOtherWorkbookFile protected_oe property

protected String m_sOtherWorkbookFile
Résultat String