Exemple #1
0
        /// <summary>
        /// 获取导出数据流
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void clientAtt_OutClockInRdListByMultSearchCompleted(object sender, OutClockInRdListByMultSearchCompletedEventArgs e)
        {
            loadbar.Stop();
            if (e.Error == null)
            {
                if (!string.IsNullOrEmpty(e.strMsg))
                {
                    Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.strMsg));
                    return;
                }

                byExport = e.Result;
            }
            else
            {
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
            }
        }
Exemple #2
0
        /// <summary>
        /// 获取导出数据流
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void clientAtt_OutClockInRdListByMultSearchCompleted(object sender, OutClockInRdListByMultSearchCompletedEventArgs e)
        {
            loadbar.Stop();
            if (e.Error == null)
            {
                if (!string.IsNullOrEmpty(e.strMsg))
                {
                    Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.strMsg));
                    return;
                }

                byExport = e.Result;

            }
            else
            {
                Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), Utility.GetResourceStr(e.Error.Message));
            }
        }