private void InitData() { try { if (actions == FormTypes.New) { InfoObj = new T_OA_WELFAREMASERT(); InfoObj.CHECKSTATE = ((int)CheckStates.UnSubmit).ToString(); } else { if (actions == FormTypes.Audit) { actionFlag = DataActionFlag.SubmitComplete; } wssc.GetWelfareByIdAsync(welfareInfoID); } } catch (Exception ex) { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), ex.Message.ToString()); } }