Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I hide or minimize windows form?
Message
De
14/12/2006 21:12:13
Dave Porter
Medical Systematics, Inc.
Merced, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
How can I hide or minimize windows form?
Divers
Thread ID:
01177859
Message ID:
01177859
Vues:
66
I have a C# windows form that when you click one of the buttons, it starts another process and waits for it to finish. It works fine. BUT when the process finishes, my form is displayed for a second or two or three, it looks funky! The buttons and other controls are not there and there is leftover crud from the finished process displayed in their place and it just doesn't look professional. Is there a way to avoid this problem or can I hide or minimize the form while the process is runnning and restore it when the process finishes? thanks in advance! Dave

using (Process proc = Process.Start(msiprog, msiparams))
{
if (msiWait)
proc.WaitForExit();
//if(proc.ExitCode == 0) return true;
}
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform