partial void OnRemove(NSObject sender) { nint row = AttributeToExportTableView.SelectedRow; if (row >= (nint)0) { _attrToExportDs.attrList.RemoveAt((int)row); AttributeToExportTableView.ReloadData(); } }
void ReleaseDesignerOutlets() { if (RemoveButton != null) { RemoveButton.Dispose(); RemoveButton = null; } if (AddButton != null) { AddButton.Dispose(); AddButton = null; } if (RemoveAllButton != null) { RemoveAllButton.Dispose(); RemoveAllButton = null; } if (AllReturnAttrCheckBox != null) { AllReturnAttrCheckBox.Dispose(); AllReturnAttrCheckBox = null; } if (AttributeToExportComboBox != null) { AttributeToExportComboBox.Dispose(); AttributeToExportComboBox = null; } if (AttributeToExportTableView != null) { AttributeToExportTableView.Dispose(); AttributeToExportTableView = null; } if (FormatComboBox != null) { FormatComboBox.Dispose(); FormatComboBox = null; } if (ScopeComboBox != null) { ScopeComboBox.Dispose(); ScopeComboBox = null; } }
partial void OnRemoveAll(NSObject sender) { _attrToExportDs.attrList.Clear(); AttributeToExportTableView.ReloadData(); }
partial void OnAdd(NSObject sender) { _attrToExportDs.attrList.Add(AttributeToExportComboBox.SelectedValue.ToString()); AttributeToExportTableView.ReloadData(); }