![]() ![]() | ||
As discussed in the In Depth section of this chapter, you can use Save File dialogs to get the name of the file that the user wants to save data to. Here is the class hierarchy for this class:
Object MarshalByRefObject Component CommonDialog FileDialog SaveFileDialog
You can find the notable public properties of SaveFileDialog objects in Table 9.12, the notable public methods in Table 9.13, and the notable public events in Table 9.14.
Method |
Means |
---|---|
OpenFile |
Opens the file with read/write permission selected by the user. |
Reset |
Resets all dialog options to their default values. |
ShowDialog |
Shows the dialog. |
Event |
Means |
---|---|
FileOk |
Occurs when the user clicks the Open or Save button. |
HelpRequest |
Occurs when the user clicks the Help button. |
![]() ![]() | ||