예제 #1
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     if (OFDReports.FileName != "")
     {
         AGRDReports.Post();
         Report.SaveToFile(OFDReports.FileName);
     }
 }
예제 #2
0
 private void btnSaveas_Click(object sender, EventArgs e)
 {
     SFDReports.FileName = OFDReports.FileName;
     if (SFDReports.ShowDialog() == DialogResult.OK)
     {
         AGRDReports.Post();
         Report.SaveToFile(SFDReports.FileName);
     }
 }