C# 클래스 Smrf.NodeXL.ExcelTemplate.AutomateTasksDialog

Edits a AutomateTasksUserSettings object and optionally runs the tasks specified in the object.
Unlike other dialogs in this application, you do not pass a user settings object to the constructor. That's because when automating a folder, this class must update the user settings before opening other workbooks, so those other workbooks will have access to the updated settings.

The Form.ShowDialog() return value does indicate whether the settings were updated: it returns DialogResult.OK if they were edited, or DialogResult.Cancel if they were not.

상속: ExcelTemplateForm
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
m_bIgnoreItemCheckEvents System.Boolean
m_eMode DialogMode
m_oAutomateTasksDialogUserSettings AutomateTasksDialogUserSettings
m_oAutomateTasksUserSettings AutomateTasksUserSettings
m_oNodeXLControl Smrf.NodeXL.Visualization.Wpf.NodeXLControl
m_oThisWorkbook ThisWorkbook

공개 메소드들

메소드 설명
AssertValid ( ) : void
AutomateTasksDialog ( DialogMode mode, ThisWorkbook thisWorkbook, NodeXLControl nodeXLControl ) : System

Initializes a new instance of the AutomateTasksDialog class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoDataExchange ( System.Boolean bFromControls ) : System.Boolean
EditFolderToSaveWorkbookTo ( ) : void
EnableControls ( ) : void
GetTasksToRun ( ) : AutomationTasks
ItemToAutomationTask ( Object oCheckedListBoxItem ) : AutomationTasks
PopulateTasksToRun ( ) : void
SetTasksToRun ( AutomationTasks eTasksToRun ) : void

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

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

OnCheckOrUncheckAll ( object sender, System e ) : void
OnEventThatRequiresControlEnabling ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, System e ) : void
btnOptions_Click ( object sender, EventArgs e ) : void
clbTasksToRun_ItemCheck ( object sender, System.Windows.Forms.ItemCheckEventArgs e ) : void

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

AutomateTasksDialog() 공개 메소드

Initializes a new instance of the AutomateTasksDialog class.
public AutomateTasksDialog ( DialogMode mode, ThisWorkbook thisWorkbook, NodeXLControl nodeXLControl ) : System
mode DialogMode /// Indicates the mode in which the dialog is being used. ///
thisWorkbook ThisWorkbook /// Workbook containing the graph contents. ///
nodeXLControl Smrf.NodeXL.Visualization.Wpf.NodeXLControl /// The NodeXLControl object. This can be null if /// is . ///
리턴 System

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

EditFolderToSaveWorkbookTo() 보호된 메소드

protected EditFolderToSaveWorkbookTo ( ) : void
리턴 void

EnableControls() 보호된 메소드

protected EnableControls ( ) : void
리턴 void

GetTasksToRun() 보호된 메소드

protected GetTasksToRun ( ) : AutomationTasks
리턴 AutomationTasks

ItemToAutomationTask() 보호된 메소드

protected ItemToAutomationTask ( Object oCheckedListBoxItem ) : AutomationTasks
oCheckedListBoxItem Object
리턴 AutomationTasks

PopulateTasksToRun() 보호된 메소드

protected PopulateTasksToRun ( ) : void
리턴 void

SetTasksToRun() 보호된 메소드

protected SetTasksToRun ( AutomationTasks eTasksToRun ) : void
eTasksToRun AutomationTasks
리턴 void

프로퍼티 상세

m_bIgnoreItemCheckEvents 보호되어 있는 프로퍼티

protected Boolean,System m_bIgnoreItemCheckEvents
리턴 System.Boolean

m_eMode 보호되어 있는 프로퍼티

protected DialogMode m_eMode
리턴 DialogMode

m_oAutomateTasksDialogUserSettings 보호되어 있는 프로퍼티

protected AutomateTasksDialogUserSettings,Smrf.NodeXL.ExcelTemplate m_oAutomateTasksDialogUserSettings
리턴 AutomateTasksDialogUserSettings

m_oAutomateTasksUserSettings 보호되어 있는 프로퍼티

protected AutomateTasksUserSettings,Smrf.NodeXL.ExcelTemplate m_oAutomateTasksUserSettings
리턴 AutomateTasksUserSettings

m_oNodeXLControl 보호되어 있는 프로퍼티

protected NodeXLControl,Smrf.NodeXL.Visualization.Wpf m_oNodeXLControl
리턴 Smrf.NodeXL.Visualization.Wpf.NodeXLControl

m_oThisWorkbook 보호되어 있는 프로퍼티

protected ThisWorkbook,Smrf.NodeXL.ExcelTemplate m_oThisWorkbook
리턴 ThisWorkbook