Exemple #1
0
        internal async Task AddMachine(string machine, string description)
        {
            try
            {
                MachineToTestDisplay nouvelleMachine = new MachineToTestDisplay(machine, description);
                ListeDesMachines.Add(nouvelleMachine);

                await SaveToFile();
            }
            catch (Exception ex)
            {
                LogErreur(ex);
                Notify.ShowNotification("Erreur", "Erreur ajouté au fichier log", System.Windows.Forms.ToolTipIcon.Error);
            }
        }