ciao ho il seguente codice
errore: occorre un riferimento a listBoxLog (che è un membro della windows form)...che devo mettere?codice:public static void log(string msg) { if (msg.Length > 0) { listBoxLog.Items.Insert(0, DateTime.Now.ToString() + " - " + msg); } }
Grazie