Example #1
0
 private void bBnOpl_Click(object sender, System.EventArgs e)
 {
     if (this.ValidateDate(this.dateBnOpl))
     {
         System.Windows.Forms.SaveFileDialog dialog = new System.Windows.Forms.SaveFileDialog();
         dialog.set_Filter("DBF|*.dbf");
         dialog.set_Title("Сохранить безналичников в файл");
         dialog.set_RestoreDirectory(true);
         if ((dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) && (dialog.get_FileName() == ""))
         {
             Mappers.ExportMapper.Save_BnOpl(this.dateBnOpl.Value.Date, dialog.get_FileName());
         }
     }
 }