System.Windows.Forms.Design.FileNameEditor.InitializeDialog Method

Initializes the open file dialog when it is created.

Syntax

protected virtual void InitializeDialog (System.Windows.Forms.OpenFileDialog openFileDialog)

Parameters

openFileDialog
The System.Windows.Forms.OpenFileDialog to use to select a file name.

Remarks

This method configures the dialog box with a generic file filter and title.

Requirements

Namespace: System.Windows.Forms.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0