private void logToolStripMenuItem_Click(object sender, EventArgs e) { HistoryGen Historic = new HistoryGen(Application.StartupPath); string CalculatorLog = Historic.ReadLog("CalculatorLog.txt"); frmLog formLog = new frmLog(CalculatorLog, "CalculatorLog"); formLog.ShowDialog(); }
private void btnReadFile_Click(object sender, EventArgs e) { HistoryGen Historic = new HistoryGen(Application.StartupPath); string MoneyExchangeLog = Historic.ReadLog("MoneyExchange.txt"); frmLog formLog = new frmLog(MoneyExchangeLog, "MoneyExchangeLog"); formLog.ShowDialog(); }