This is a class for Folder Processing Class
예제 #1
0
 /// <summary>
 /// Return file title
 /// </summary>
 /// <returns>file title</returns>
 public String GetFileTitle()
 {
     return(FolderHelper.GetFileTitle(saveFileDialog.FileName));
 }
예제 #2
0
 /// <summary>
 /// Return only filename
 /// </summary>
 /// <returns>filename</returns>
 public String GetFileName()
 {
     return(FolderHelper.GetFileName(openFileDialog.FileName));
 }
예제 #3
0
 /// <summary>
 /// Return only ext
 /// </summary>
 /// <returns>ext</returns>
 public String GetFileExt()
 {
     return(FolderHelper.GetFileExtension(saveFileDialog.FileName));
 }
예제 #4
0
 /// <summary>
 /// Default Constructor
 /// </summary>
 public LogWriter()
 {
     m_fileName = FolderHelper.GetModuleFileName();
     m_fileName = m_fileName.Replace(".EXE", ".log");
     m_fileName = m_fileName.Replace(".exe", ".log");
 }