hMailServer.Administrator.ucBackup.ShowLogFile C# (CSharp) 메소드

ShowLogFile() 개인적인 정적인 메소드

private static ShowLogFile ( ) : void
리턴 void
        private static void ShowLogFile()
        {
            hMailServer.BackupSettings backupSettings = APICreator.Application.Settings.Backup;

            string logFileName = backupSettings.LogFile;

            try
            {
                System.Diagnostics.Process process = new System.Diagnostics.Process();
                process.StartInfo.FileName = logFileName;
                process.StartInfo.UseShellExecute = true;
                process.Start();
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, EnumStrings.hMailServerAdministrator);
            }
        }