예제 #1
0
 public static void Init(string a_logFileName, XmsDemoForm a_formView)
 {
     if ((a_logFileName != null) && !(a_logFileName == ""))
         m_logFile = a_logFileName;
     //            if (!File.Exists(m_logFile))
     {
         FileStream l_fs = File.Create(m_logFile);
         l_fs.Close();
     }
     m_formView = a_formView;
 }
예제 #2
0
        public static void Init(string a_logFileName, XmsDemoForm a_formView)
        {
            if ((a_logFileName != null) && !(a_logFileName == ""))
            {
                m_logFile = a_logFileName;
            }
//            if (!File.Exists(m_logFile))
            {
                FileStream l_fs = File.Create(m_logFile);
                l_fs.Close();
            }
            m_formView = a_formView;
        }