コード例 #1
0
ファイル: SelectSchemeCW.xaml.cs プロジェクト: JuRogn/OA
        void client_GetEmployeeSurveysCompleted(object sender, GetEmployeeSurveysCompletedEventArgs e)
        {
            loadbar.Stop();
            if (e.Error != null)
            {
                ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
                return;
            }

            ObservableCollection<T_OA_REQUIREMASTER> dataList = e.Result;
            if (dataList != null && dataList.Count > 0)
            {
                BindDateGrid(dataList);
            }
            else
            {
                BindDateGrid(null);
            }
        }
コード例 #2
0
        void client_GetEmployeeSurveysCompleted(object sender, GetEmployeeSurveysCompletedEventArgs e)
        {
            loadbar.Stop();
            if (e.Error != null)
            {
                ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
                return;
            }

            ObservableCollection <T_OA_REQUIREMASTER> dataList = e.Result;

            if (dataList != null && dataList.Count > 0)
            {
                BindDateGrid(dataList);
            }
            else
            {
                BindDateGrid(null);
            }
        }