C# Class Revit.SDK.Samples.ImportExport.CS.SelectViewsForm

Provide a dialog which lets users choose views to export.
Inheritance: System.Windows.Forms.Form
Show file Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
SelectViewsForm ( SelectViewsData selectViewsData ) : System

Constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
GetSelectedViews ( ) : void

Transfer information back to SelectViewsData class

InitializeComponent ( ) : void

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

InitializeControls ( ) : void

Initialize values and status of controls

UpdateViews ( ) : void

Update the views in the checked list box

buttonCheckAll_Click ( object sender, EventArgs e ) : void

Check all items

buttonCheckNone_Click ( object sender, EventArgs e ) : void

Un-check all items

buttonOK_Click ( object sender, EventArgs e ) : void

OK button clicked

checkBoxSheets_CheckedChanged ( object sender, EventArgs e ) : void

Whether to show the sheets

checkBoxViews_CheckedChanged ( object sender, EventArgs e ) : void

Whether to show the views (except sheets)

Method Details

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

SelectViewsForm() public method

Constructor
public SelectViewsForm ( SelectViewsData selectViewsData ) : System
selectViewsData SelectViewsData
return System