0 Yes, I've tried it. And i've tried it again just before posting this reply. I even wrote:
this.Visible=false;
Thread.Sleep(2000);
this.Visible=true;
and it works just fine (hides the form, waits 2 seconds, displays the form)!
Maybe you should take care of the casing : "visible"!="Visible".
0 did you ever try that ??? I'd tried this.visible manytimes before i made a post here.
0 The main form sure has the Visible property:
this.Visible=false;
0 i can only find the similiar answer on google at http://www.greatis.com/delphicb/tips/lib/application-showform.html
but it's in Delphi/ c++ and in c# we don't have Application.ShowMainForm=False;
my question seems to be dumb, but i do need this function for my windows service to call this app running on the background.