Does the OpenFileDialog class normally show an icon? How to set?

Viewed 1579

In the past, I thought that the OpenFileDialog class normally wouldn't show an form icon in the upper left hand corner but I am seeing the default form icon now. I have seen other posts that say that there is no icon but I am seeing one with the following code.

    OpenFileDialog openFileDialog1 = new OpenFileDialog();            
    openFileDialog1.Title = "Open Project";
    openFileDialog1.Filter = "File2Table Project (*.f2tproj)|*.f2tproj|All Files (*.*)|*.*";
    openFileDialog1.FileName = "";
    DialogResult result = openFileDialog1.ShowDialog();

    if (result == DialogResult.OK)
    {

    }

How do I set it to a better icon or remove it?

0 Answers
Related