public void Execute(object parameter) { System.Windows.Forms.OpenFileDialog fd = new System.Windows.Forms.OpenFileDialog(); if (fd.ShowDialog() == System.Windows.Forms.DialogResult.OK) { string conString = ExcelImporter.GetConnectionString(fd.FileName); conString.Replace("\\", "\\\\"); //LogViewModel.WriteLine("Открываю файл переменных: " + conString); LogWriter.AppendLog("Анализ файла переменных: " + conString + " ..."); ExcelImporter.ReadExcelFile(conString); } }