how to start a smartdevice application minimized in c#

Posted by x86shadow on Stack Overflow See other posts from Stack Overflow or by x86shadow
Published on 2010-03-28T14:37:50Z Indexed on 2010/03/28 14:43 UTC
Read the original article Hit count: 433

Filed under:
|
|

I made a smart device application in c# and I want to run it at startup (I know how to do that) but the problem is that I can't make my application to run minimized (hidden) on the first time.

I've tried this.Hide() and this.Visible = false and also used ShowWindow API with SW_HIDE(6) but non of them worked.

It seems it's impossible to use these methods on Form_Load() or in InitializeComponent() to start the application minimized or hidden. anyone can help me with this ?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#