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