Exemplo n.º 1
0
 private void btnQuerySupportHis_Click(object sender, EventArgs e)
 {
     try
     {
         if (_currentOrder != null && _belongSystem == ConfigManager.YK_SYSTEM)
         {
             if (_currentOrder.MakerDicID > 0)
             {
                 FrmSupportHis frmSupportHis = new FrmSupportHis();
                 if (frmSupportHis.SetDgvDataSource(_billQuery.LoadSupportHis(_currentOrder.MakerDicID,
                                                                              (int)_currentDeptId)))
                 {
                     frmSupportHis.ShowDialog();
                 }
             }
         }
     }
     catch (Exception error)
     {
         MessageBox.Show(error.Message);
     }
 }