C# Класс Revit.SDK.Samples.ImportExport.CS.ImportDWGForm

It contains a dialog which provides the options of importing dwg format
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ImportDWGForm ( ImportDWGData importData ) : System

Constructor

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

SetImportColorMode ( ) : void

Set the value of color mode

SetImportLayers ( ) : void

Set the value of ImportVisibleLayersOnly

SetImportPlacement ( ) : void

Set the value of placement

SetImportUnitsAndScaling ( ) : void

Set the value of unit, scaling

SetImportViewsRelated ( ) : void

Set the value of ImportThisViewOnly, ImportOrientToView, ImportView

ValidateFileName ( ) : System.Boolean

Validate the file to import

buttonBrowser_Click ( object sender, EventArgs e ) : void

Specify a file to export from

buttonOpen_Click ( object sender, EventArgs e ) : void

Transfer information back to ImportData class and execute IMPORT operation

checkBoxCurrentViewOnly_CheckedChanged ( object sender, EventArgs e ) : void

Change the status of checkBoxOrient2View and comboBoxLevel according to the selection

comboBoxUnits_SelectedIndexChanged ( object sender, EventArgs e ) : void

Change the status of textBoxScale according to the selection

textBoxScale_KeyPress ( object sender, KeyPressEventArgs e ) : void

Only numbers and '.' permitted

textBoxScale_TextChanged ( object sender, EventArgs e ) : void

Only one '.' permitted

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

ImportDWGForm() публичный Метод

Constructor
public ImportDWGForm ( ImportDWGData importData ) : System
importData ImportDWGData
Результат System