Is there a c# equivalent of m_nCmdShow?
<p>In an MFC program, you can determine whether the application shortcut had the Run value set to "Minimized" by checking the value of <code>m_nCmdShow</code>. Is there an equivalent way to do this in c#?</p>

<p>To clarify, I don't want to set the state of a particular form. If you look at the properties for a shortcut, there is a "Run" option. You can set this value to Normal Window, Minimized, or Maximized. </p>

<p>In C++ you can read what that startup value was set to by looking at <code>m_nCmdShow</code>. I need to do the same thing in C#.</p>

<p><strong>Update</strong></p>

<p>This attempt:</p>

<pre><code>[STAThread]
static void Main(string[] args)
{
    ProcessStartInfo processInfo = Process.GetCurrentProcess().StartInfo;
    MessageBox.Show(processInfo.WindowStyle.ToString());
    ...
}
</code></pre>

<p>always reports <code>Normal</code>, no matter what the shortcut is set to.</p>
