Beispiel #1
0
        private void buttonOK_Click(object sender, EventArgs e)
        {
            UseWaitCursor = true;
            Application.DoEvents();

            try
            {
                if (surveyEndReport == null)
                    surveyEndReport = new SurveyEndReport();

                GetEntity(surveyEndReport);

                InvokeUtil.SystemService.EntityUpdate(surveyEndReport);
                CommonInvoke.MessageBox("操作成功!");
                CloseWindow();
            }
            catch (Exception ex)
            {
                CommonInvoke.ErrorMessageBox(ex);
            }

            UseWaitCursor = false;
        }
Beispiel #2
0
 public frmEditSurveyEndReport(SurveyEndReport surveyEndReport)
     : this()
 {
     this.surveyEndReport = surveyEndReport;
 }
Beispiel #3
0
 /// <summary>
 /// 行政处罚案件调查终结报告列表
 /// </summary>
 /// <param name="page">当前页</param>
 /// <param name="pageSize">显示记录数</param>
 /// <param name="docTitle">文号</param>
 /// <returns>实体集合</returns>
 public EList<SurveyEndReport> SurveyEndReportGetAll(int page, int pageSize, string docTitle)
 {
     try
     {
         SurveyEndReport Obj = new SurveyEndReport();
         Obj.SystemService = this;
         return Obj.SurveyEndReportGetAll(page, pageSize, docTitle);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }