Beispiel #1
0
 private void lstBoxFile_MouseClick(object sender, MouseEventArgs e)
 {
     if (!ServerManager.CheckForServerDisconnection())
     {
         ServerManager.RequestFile(toDownload);
     }
     else
     {
         MetroFramework.MetroMessageBox.Show(this, "\n\n" + "Impossibile contattare il server", "Errore", MessageBoxButtons.OK, MessageBoxIcon.Error);
         ToggleFields(Status.Offline);
     }
 }