mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-06 23:43:07 +02:00
Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14) * Breadcrumb / TOC / Move net5 to net folder (#15) * change path from net5 to net * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Add .net 5 winforms placeholder article (#16) * added some metadata and adjusted net5 placeholder * corrections * corrections * corrections * Test1 * Swapping landing page vs concept * fix links * Fix links * Fix desc
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
---
|
||||
title: "SaveFileDialog Component Overview"
|
||||
ms.date: "03/30/2017"
|
||||
f1_keywords:
|
||||
- "SaveFileDialog"
|
||||
helpviewer_keywords:
|
||||
- "Save File dialog box [Windows Forms], displaying"
|
||||
- "SaveFileDialog component [Windows Forms], about SaveFileDialog"
|
||||
ms.assetid: be7a625f-46fd-4d06-9985-b613dcbf9bd2
|
||||
---
|
||||
# SaveFileDialog Component Overview (Windows Forms)
|
||||
|
||||
The Windows Forms <xref:System.Windows.Forms.SaveFileDialog> component is a pre-configured dialog box. It is the same as the standard **Save File** dialog box used by Windows. It inherits from the <xref:System.Windows.Forms.CommonDialog> class.
|
||||
|
||||
## Working with the SaveFileDialog Component
|
||||
|
||||
Use it as a simple solution for enabling users to save files instead of configuring your own dialog box. By relying on standard Windows dialog boxes, the basic functionality of applications you create is immediately familiar to users. Be aware, however, that when using the <xref:System.Windows.Forms.SaveFileDialog> component, you must write your own file-saving logic.
|
||||
|
||||
You can use the <xref:System.Windows.Forms.CommonDialog.ShowDialog%2A> method to display the dialog box at run time. You can open a file in read/write mode using the <xref:System.Windows.Forms.SaveFileDialog.OpenFile%2A> method.
|
||||
|
||||
When it is added to a form, the <xref:System.Windows.Forms.SaveFileDialog> component appears in the tray at the bottom of the Windows Forms Designer in Visual Studio.
|
||||
|
||||
## See also
|
||||
|
||||
- <xref:System.Windows.Forms.SaveFileDialog>
|
||||
- [SaveFileDialog Component](savefiledialog-component-windows-forms.md)
|
||||
Reference in New Issue
Block a user