Update: exit del child --> IOB-MAN DOVREBBE uscire
This commit is contained in:
@@ -186,8 +186,13 @@ namespace IOB_MAN
|
||||
Arguments = "NONE",
|
||||
WindowStyle = ProcessWindowStyle.Normal
|
||||
};
|
||||
// avvio processo
|
||||
Process p = Process.Start(psi);
|
||||
// avvio processo con using...
|
||||
using (Process p = Process.Start(psi))
|
||||
{
|
||||
p.WaitForExit();
|
||||
// ora chiudo current...
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Chiudo primo processo child (se ce ne sono)
|
||||
@@ -585,8 +590,6 @@ namespace IOB_MAN
|
||||
updateStatus();
|
||||
// apre solo 1 con conf "fake" x condurre update...
|
||||
apriOneUpdate();
|
||||
Thread.Sleep(1000);
|
||||
updateStatus();
|
||||
}
|
||||
|
||||
private void panel1_Paint(object sender, PaintEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user