public void StartFile(string fullName) { Process process = new Process(); process.StartInfo.WorkingDirectory = System.IO.Path.GetDirectoryName(fullName); process.StartInfo.UseShellExecute = true; process.StartInfo.FileName = fullName; process.Start(); LastStartedFilesManager lsfm = new LastStartedFilesManager(); lsfm.AddlastStartedFile(fullName); }
private void btnClearLastFiles_Click(object sender, RoutedEventArgs e) { LastStartedFilesManager lsfm = new LastStartedFilesManager(); lsfm.Clear(); cmLastStartedFiles.IsOpen = false; }