Esempio n. 1
0
 /// <summary>
 /// 从数据库获取数据 并展现数据。
 /// </summary>
 private void GetData()
 {
     try
     {
         //m_WaitDialog = new WaitDialogForm("正在加载数据", "请稍后...");
         DS_Common.SetWaitDialogCaption(m_WaitDialog, "正在加载数据");
         DateTime date = dateEdit1.DateTime;
         if (date == null)
         {
             return;
         }
         string dateStr = date.ToString("yyyy-MM-dd");
         InCommonNoteItemEntityListAll = m_InCommonNoteBiz.GetIncommNoteItemByDay(m_CommonNoteEntity.CommonNoteFlow, dateStr);
         BindDate();
         //m_WaitDialog.Hide();
         DS_Common.HideWaitDialog(m_WaitDialog);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }