BF2Statistics.ExceptionForm.buttonViewLog_Click C# (CSharp) Method

buttonViewLog_Click() private method

Opens the Trace Log in a text editor
private buttonViewLog_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void buttonViewLog_Click(object sender, EventArgs e)
        {
            if (File.Exists(_logFile))
                Process.Start(_logFile);
            else
                MessageBox.Show("The program was unable to create the debug log!", "Error");
        }