Method | Description | |
---|---|---|
MyMessageBox ( String strMsg ) : void |
Custom MessageBox for this sample, with special caption/button/icon.
|
|
ViewFiltersForm ( Autodesk commandData ) : System |
Overload the constructor
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
AddAppliableCategories ( ) : void |
This method will reset Category check list box with all applicable categories with document
|
|
CreateNewFilterRule ( BuiltInParameter curParam ) : |
Create new FilterRuleBuilder for current parameter
|
|
GetCurrentRuleData ( ) : |
Get FilterRuleBuilder for current filter
|
|
GetCurrentRuleDataIndex ( ) : int |
Get index for selected filter rule
|
|
GetRuleValueDouble ( bool isEpsilon, double &ruleValue ) : bool |
Get rule value of double type from control
|
|
GetRuleValueInt ( int &ruleValue ) : bool |
Get rule value of integer type
|
|
HasFilterData ( ) : bool |
Check if some filter exists
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
InitializeFilterData ( ) : void |
Initialize filter data with existing view filters
|
|
ParameterAlreadyExist ( BuiltInParameter param ) : bool |
Check to see if rule for this parameter exists or not
|
|
ParameterInUse ( BuiltInParameter selParameter ) : bool |
Check if selected parameter already in use(has criteria)
|
|
ResetCategoriesControl ( bool reAddAll ) : void |
Reset categories CheckListBox control
|
|
ResetControlByParamType ( StorageType paramType ) : void |
Update controls' status and visibility according to storage type of current parameter
|
|
ResetControls_HasFilter ( ) : void |
Update controls when has filter
|
|
ResetControls_NoFilter ( ) : void |
Reset controls when no any filter
|
|
ResetControls_NoFilterRule ( ) : void |
Update control when no filter rule
|
|
ResetParameterCombox ( ICollection |
Reset paramerComboBox with new parameters
|
|
ResetRule_CategoriesChanged ( ) : void |
Reset rules because categories were changed
|
|
ViewFiltersForm_Load ( object sender, |
When the form was loaded, display the information of existing filters
|
|
ViewFiltersForm_MouseMove ( object sender, MouseEventArgs e ) : void |
Enable or disable some buttons according to current status/values of controls
|
|
categoryCheckedListBox_ItemCheck ( object sender, System.Windows.Forms.ItemCheckEventArgs e ) : void |
Categories for filter were changed, clean all old filter rules.
|
|
checkAllButton_Click ( object sender, |
Check all items of categories
|
|
checkNoneButton_Click ( object sender, |
Cancel check for all items of categories
|
|
deleRuleButton_Click ( object sender, |
Delete some filter rule
|
|
deleteButton_Click ( object sender, |
Delete one filter
|
|
filtersListBox_SelectedIndexChanged ( object sender, |
Select one filter, it will reset categories and accordingly rules.
|
|
hideUnCheckCheckBox_CheckedChanged ( object sender, |
Hide or show un-checked categories
|
|
newButton_Click ( object sender, |
Create new filter
|
|
newRuleButton_Click ( object sender, |
Create one new rule
|
|
okButton_Click ( object sender, |
Update ParameterFilterElement within document with
|
|
paramerComboBox_DropDown ( object sender, |
Dynamically adjust the width of parameter so that all parameters can be visible
|
|
paramerComboBox_SelectedIndexChanged ( object sender, |
Select parameter for current filter rule
|
|
rulesListBox_SelectedIndexChanged ( object sender, |
Select one filter rule
|
|
updateButton_Click ( object sender, |
Update change rule criteria and values for current filter rule Filter criteria and values won't be changed until you click this button.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public static MyMessageBox ( String strMsg ) : void | ||
strMsg | String | Message to be displayed. |
return | void |
public ViewFiltersForm ( Autodesk commandData ) : System | ||
commandData | Autodesk | an instance of Data class |
return | System |