Esempio n. 1
0
        public ZszlYzxmReport()
        {
            InitializeComponent();
            var filter = new SqlFilter();

            filter.Bgrq1 = null;
            filter.Bgrq2 = null;
            sqlFilterBindingSource.DataSource = filter;
            var lstBlk  = T_BLK_CS_DAL.GetAll();
            var lstCyc  = T_CYC_DAL.GetListByFl("F_sjdw");
            var lstXmfl = T_CYC_DAL.GetListByFl("f_bblx");

            foreach (var blkCs in lstBlk)
            {
                PathLibImageComboBoxEdit.Properties.Items.Add(blkCs.F_BLKMC);
            }

            foreach (T_CYC cyc in lstCyc)
            {
                SendHspComboBoxEdit.Properties.Items.Add(cyc.CycMc);
            }

            cmbCmfl.Properties.Items.Add("全部");
            lstXmfl.ForEach(o => cmbCmfl.Properties.Items.Add(o.CycMc));
            cmbCmfl.SelectedIndex = 0;

            Sdrq1DateEdit.EditValue = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1);
            Bgrq1DateEdit.EditValue = null;
        }
Esempio n. 2
0
        public GxzlynblcxReport()
        {
            InitializeComponent();
            sqlFilterBindingSource.DataSource = new SqlFilter();
            var lstBlk = T_BLK_CS_DAL.GetAll();

            foreach (var blkCs in lstBlk)
            {
                PathLibImageComboBoxEdit.Properties.Items.Add(blkCs.F_BLKMC);
            }
        }
        public ZszlExceptionReport()
        {
            InitializeComponent();
            sqlFilterBindingSource.DataSource = new SqlFilter();
            var lstBlk  = T_BLK_CS_DAL.GetAll();
            var lstXmfl = T_CYC_DAL.GetListByFl(T_CYC_DAL.Dict.F_XMFL);
            var lstYzxm = T_CYC_DAL.GetListByFl(T_CYC_DAL.Dict.F_FZBL_YZXM).Select(o => o.CycMc).ToList();

            lstYzxm.Insert(0, "");
            YzxmLookUpEdit.Properties.DataSource = lstYzxm;

            foreach (var blkCs in lstBlk)
            {
                PathLibImageComboBoxEdit.Properties.Items.Add(blkCs.F_BLKMC);
            }

            lstXmfl.ForEach(o => XmflComboBoxEdit.Properties.Items.Add(o.CycMc));
        }
        public ZszlOutsideHspReport()
        {
            InitializeComponent();
            sqlFilterBindingSource.DataSource = new SqlFilter();
            var lstBlk = T_BLK_CS_DAL.GetAll();
            var lstCyc = T_CYC_DAL.GetListByFl("f_sjdw");

            foreach (var blkCs in lstBlk)
            {
                PathLibImageComboBoxEdit.Properties.Items.Add(blkCs.F_BLKMC);
            }

            foreach (T_CYC cyc in lstCyc)
            {
                if (cyc.CycMc != "本院" && cyc.CycMc != "汇款")
                {
                    SendHspComboBoxEdit.Properties.Items.Add(cyc.CycMc);
                }
            }
        }