Beispiel #1
0
        public void AddToLog(string text)
        {
            string line = String.Format(@"{0} {1}{2}", System.DateTime.Now.ToString(), text, Environment.NewLine);

            LogBox.BeginInvoke(
                ((Action)(() => LogBox.AppendText(line))));
        }