示例#1
0
        /// <summary>
        /// 增加日志
        /// </summary>
        /// <param name="content"></param>
        public void Log(string content)
        {
            string filename = DateTime.Now.ToString("yyyyMMdd");
            string log      = string.Format("{0}\t{1:yyyy-MM-dd HH:mm:ss}\r\n", content, DateTime.Now);

            lblog.Items.Insert(0, content);
            Comm.AddMyLog(content, filename);
        }