Exemple #1
0
        private void showColumnChart(string nuYear, string EndnuYear)
        {
            ////(Companyid, StartDate, EndDate, filterString, paras, userID);
            //DateTime dtLandStart = new DateTime();
            //DateTime dtLandEnd = new DateTime();
            //DateTime.TryParse(nuYear + "-01-01", out dtLandStart);
            //DateTime.TryParse(EndnuYear + "-12-31", out dtLandEnd);
            string dtLandStart  = nuYear + "-01-01";
            string dtLandEnd    = EndnuYear + "-12-01";
            string filterString = "";
            string style        = "1";

            if (this.RadY.IsChecked == true)
            {
                style = "0";
            }
            string userID = SMT.SAAS.Main.CurrentContext.Common.CurrentLoginUserInfo.EmployeeID;

            System.Collections.ObjectModel.ObservableCollection <object> paras = new System.Collections.ObjectModel.ObservableCollection <object>();
            serviceClient.GetAgePieEmployeeceInfoAsync(StrCompanyIDs, style, dtLandStart, dtLandEnd, filterString, paras, userID);
        }