예제 #1
0
 static void Main(string[] args)
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     //string[] strInfo = args[0].Split(new string[] { "|*|" }, StringSplitOptions.None);
     LogWrite.WriteEventLog("多路视频播放", "Test");
     Application.Run(new Form1());
 }
예제 #2
0
        public void WriteEventLogTest1()
        {
            string Temp_strLog = Environment.CurrentDirectory + "\\RemoveAlarmException";

            Assert.IsTrue(LogWrite.WriteEventLog("123", "312", Temp_strLog));
        }