예제 #1
0
 private void button7_Click(object sender, EventArgs e)
 {
     AdministratorController.GenerateReport(radioButton1.Checked ? "CSV" : "PDF");
     Process.Start("explorer.exe", "/select," + Path.GetFullPath(radioButton1.Checked ? "report.csv" : "report.pdf"));
     MessageBox.Show("Success!");
 }