示例#1
0
        private void NewSB_Click(object sender, EventArgs e)
        {
            DiscountRuleData form = new DiscountRuleData("new", null, Convert.ToInt32(discountId));

            form.ShowDialog();
            Fill();
        }
示例#2
0
 private void EditSB_Click(object sender, EventArgs e)
 {
     DiscountRuleData form = new DiscountRuleData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value), null);
     form.ShowDialog();
     manager.Save();
     manager.CloseContext();
     manager = new ContextManager();
     Fill();
 }
示例#3
0
        private void EditSB_Click(object sender, EventArgs e)
        {
            DiscountRuleData form = new DiscountRuleData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value), null);

            form.ShowDialog();
            manager.Save();
            manager.CloseContext();
            manager = new ContextManager();
            Fill();
        }
示例#4
0
 private void NewSB_Click(object sender, EventArgs e)
 {
     DiscountRuleData form = new DiscountRuleData("new", null, Convert.ToInt32(discountId));
     form.ShowDialog();
     Fill();
 }