Esempio n. 1
0
        /// <summary>
        /// 获取身份列表
        /// </summary>
        public void m_mthGetPayTypeList()
        {
            DataTable     dt;
            clsDcl_Charge objCharge = new clsDcl_Charge();
            long          l         = objCharge.m_lngGetPayTypeInfo(out dt);

            if (l > 0)
            {
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    DataRow dr = dt.Rows[i];

                    if (!HasPay.ContainsKey(dr["paytypename_vchr"].ToString().Trim()))
                    {
                        HasPay.Add(dr["paytypename_vchr"].ToString().Trim(), dr["paytypeid_chr"].ToString().Trim());
                        this.cboPayTypeID.Items.Add(dr["paytypename_vchr"].ToString().Trim());
                    }
                }

                if (HasPay.Count > 0)
                {
                    this.cboPayTypeID.SelectedIndex = 0;
                }
            }
        }
Esempio n. 2
0
        /// <summary>
        /// 建树
        /// </summary>
        private void m_mthLoad()
        {
            clsDcl_Charge objCharge = new clsDcl_Charge();

            long l = objCharge.m_lngGetDeptArea(out dt, 1);

            if (l > 0)
            {
                this.m_mthCreateTree(null, null);
            }
        }
Esempio n. 3
0
 public frmRptItemDetailStat()
 {
     InitializeComponent();
     objReport = new clsCtl_ReportZY();
     objSvc    = new clsDcl_Charge();
 }