编码:
private void viewLogFileToolStripMenuItem_Click(object sender, EventArgs e)
{
string path_log = Path.GetDirectoryName(Application.LocalUserAppDataPath) + @"\log";
string logger_file = @"\logger.txt";
string LoggerFileName = Path.Combine(path_log, logger_file);
}
我希望当我单击菜单项时,它将在记事本中自动打开 LoggerFileName 并向我显示记事本窗口。