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
ファイルを表示 Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
m_oApplication Microsoft.Office.Interop.Excel.Application
m_oConvertNodeXLWorkbookDialogUserSettings ConvertNodeXLWorkbookDialogUserSettings
m_oOpenFileDialog System.Windows.Forms.OpenFileDialog
m_sConvertedWorkbookFile String
m_sOtherWorkbookFile String

Public Methods

Method 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.

Protected Methods

Method 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

Method 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 method

public AssertValid ( ) : void
return void

ConvertNodeXLWorkbook() protected method

protected ConvertNodeXLWorkbook ( String sOtherWorkbookFile, String sConvertedWorkbookFile ) : System.Boolean
sOtherWorkbookFile String
sConvertedWorkbookFile String
return System.Boolean

ConvertNodeXLWorkbookDialog() public method

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
return System

ConvertNodeXLWorkbookDialog() public method

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

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

OtherToConvertedWorkbook() protected method

protected OtherToConvertedWorkbook ( String sOtherWorkbookFile ) : String
sOtherWorkbookFile String
return String

Property Details

m_oApplication protected_oe property

protected Application,Microsoft.Office.Interop.Excel m_oApplication
return Microsoft.Office.Interop.Excel.Application

m_oConvertNodeXLWorkbookDialogUserSettings protected_oe property

protected ConvertNodeXLWorkbookDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oConvertNodeXLWorkbookDialogUserSettings
return ConvertNodeXLWorkbookDialogUserSettings

m_oOpenFileDialog protected_oe property

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

m_sConvertedWorkbookFile protected_oe property

protected String m_sConvertedWorkbookFile
return String

m_sOtherWorkbookFile protected_oe property

protected String m_sOtherWorkbookFile
return String