Initializes the open file dialog when it is created.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
protected override void InitializeDialog( OpenFileDialog openFileDialog )
Protected Overrides Sub InitializeDialog ( _ openFileDialog As OpenFileDialog _ )
protected: virtual void InitializeDialog( OpenFileDialog^ openFileDialog ) override
![](../icons/collapse_all.gif)
- openFileDialog (OpenFileDialog)
- The OpenFileDialog to use to select a file name.