Пример #1
0
        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();
        }
Пример #2
0
        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();
        }