Exemplo n.º 1
0
 private void btnStandardData_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (this.ActiveDataForm != null && !this.ActiveDataForm.IsBusy)
     {
         var targetform = this.ActiveDataForm;
         var configform = new ConfigForm.DataStandardForm(targetform.GetDataTable().GetColumnsList(false, typeof(string), typeof(DateTime), typeof(bool)));
         if (configform.ShowDialog() == DialogResult.OK)
         {
             MPPO.Kernel.BusinessLogicOperation.DataProcessOperation.DataStandard(targetform, configform.InputColumns, configform.OutputColumns);
         }
     }
 }
 private void btnStandardData_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (this.ActiveDataForm != null && !this.ActiveDataForm.IsBusy)
     {
         var targetform = this.ActiveDataForm;
         var configform = new ConfigForm.DataStandardForm(targetform.GetDataTable().GetColumnsList(false,typeof(string),typeof(DateTime),typeof(bool)));
         if(configform.ShowDialog()==DialogResult.OK)
         {
             MPPO.Kernel.BusinessLogicOperation.DataProcessOperation.DataStandard(targetform, configform.InputColumns, configform.OutputColumns);
         }
     }
 }