Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        public override void New()
        {
            frmPopup2040101 frm = new frmPopup2040101();

            frm.ShowDialog();

            if (frm.IsRequireRefresh)
            {
                EntityPromotionTemplateConfig vo = frm.promotionTemplateConfig;

                if (!lstPromotionSelect.Exists(r => r.planPeriod == vo.planPeriod && r.planWay == vo.planWay && r.planContent == vo.planContent))
                {
                    lstPromotionSelect.Add(vo);
                    gcPlan.DataSource = lstPromotionSelect;
                    gcPlan.RefreshDataSource();
                }
            }
        }
Exemple #2
0
        public override void Edit()
        {
            frmPopup2040101 frm = new frmPopup2040101();

            frm.ShowDialog();
        }