Hi there,
I am showing a message box like this:
public Home()
{
InitializeComponent();
folderBrowserDialog1.SelectedPath = TSMLfolder;
DialogResult res = folderBrowserDialog1.ShowDialog();
if (res == DialogResult.OK)
{
TSMLfolder = folderBrowserDialog1.SelectedPath;
MessageBox.Show("You are now working in the folder " + TSMLfolder, "Environment Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
The message box appears minimized. I am on Vista. Am I not using the proper method?
Thanks,
Emilie
Loading
Scott LyslePosted Jul 21, 2008, 6:38 AM
Create an event handler for Form_Shown and move the code used to open the folder browser dialog there. Your code will fire after the form is rendered and the messagebox will appear normally and will not get minimized.