private void PrintResult(string path) { string msg = LogStrings.ResultOfMultiplyingMatricies(matrixFileName, vectorFileName, path); WriteLog(msg); Invoke(new Method(() => { if (MessageBox.Show(msg, "Result", MessageBoxButtons.OK, MessageBoxIcon.Information) == DialogResult.OK) { Process.Start(path); } })); }