public void Manual() { string path = winForms.Application.StartupPath + @"\\Report\finalReport.pdf"; Preview p = new Preview(path); p.Show(); }
public void Preview() { if (save == true) { Preview p = new Preview(savepath); p.Show(); } else { MessageBox.Show("Please first save your file", "Save File", MessageBoxButton.OK, MessageBoxImage.Warning); } }