Example #1
0
 /// <summary>
 /// Guarda em ficheiro binário a informação relativa à classe Equipamento
 /// </summary>
 /// <param name="fileName">Diretório do ficheiro</param>
 public static bool GuardarEquipamentos(string fileName)
 {
     try
     {
         return(Equipamentos.GuardarEquipamentos(fileName));
     }
     catch (IOException x)
     {
         throw new IOException("ERRO : " + x.Message);
     }
     catch (Exception x)
     {
         throw new Exception("ERRO : " + x.Message);
     }
 }