FileDialog.FileOk Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the user selects a file name by either clicking the Open button of the OpenFileDialog or the Save button of the SaveFileDialog.
public:
event System::ComponentModel::CancelEventHandler ^ FileOk;
public event System.ComponentModel.CancelEventHandler FileOk;
member this.FileOk : System.ComponentModel.CancelEventHandler
Public Custom Event FileOk As CancelEventHandler
Public Event FileOk As CancelEventHandler
Event Type
Remarks
FileOk is raised after the user selects a file name, but before the dialog closes, which allows you to process the selection. If required, the user's selection can be cancelled by setting the Cancel property of the CancelEventArgs argument to true
.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.