/// <summary>
        /// ซื้อช่วงนาทีทอง สบายๆ ง่ายๆ
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        //private CampaignDiscountDayForm _campaignDiscountDayForm;
        private void  อชวงนาททองToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CampaignDiscountDayForm cd = new CampaignDiscountDayForm();

            cd.MdiParent = this;
            cd.Show();
            //if (_campaignDiscountDayForm == null)
            //{
            //    CampaignDiscountDayForm cd = new CampaignDiscountDayForm();
            //    cd.MdiParent = this;
            //    _campaignDiscountDayForm = cd;
            //    cd.Show();
            //}
            //else
            //{
            //    _campaignDiscountDayForm.Activate();
            //}
        }
Exemple #2
0
 /// <summary>
 /// มาจากโปรโมชั่น นาทีทอง
 /// </summary>
 /// <param name="campaignDiscountDayForm"></param>
 public SelectedProductPopup(CampaignDiscountDayForm campaignDiscountDayForm)
 {
     InitializeComponent();
     this.campaignDiscountDayForm = campaignDiscountDayForm;
     _FromForm = "CampaignDiscountDayForm";
 }