The following example demonstrates how to maintain the visibility of components (such as DataSet and DataAdapter) in the End-User Report Designer for Windows Forms.
To hide a report's associated components together, or list them in the Report Explorer or the Component Tray displayed at the bottom of the Design Panel, use the XRDesignPanel.ComponentVisibility property.