Exemplo n.º 1
0
 public void hide()
 {
     PartOrder po = new PartOrder(consumption);
     po = (PartOrder)this.Owner;
     po.Visible = true;
     this.Close();
 }
Exemplo n.º 2
0
        public void hide()
        {
            PartOrder po = new PartOrder(consumption);

            po         = (PartOrder)this.Owner;
            po.Visible = true;
            this.Close();
        }
Exemplo n.º 3
0
 public void add()
 {
     foreach (ListViewItem ctl in this.lv.Items)
     {
         if (ctl.Checked)
         {
             listpercent.Add(ctl.Tag.ToString());
         }
     }
     PassValue.listItemID = new ArrayList(listpercent.ToArray());
     PartOrder po = new PartOrder(consumption);
     po = (PartOrder)this.Owner;
     po.lbCount.Text = PassValue.listItemID.Count.ToString();
     hide();
 }
Exemplo n.º 4
0
        public List <string> listpercent = new List <string>();//部分打折的菜品ID

        public void add()
        {
            foreach (ListViewItem ctl in this.lv.Items)
            {
                if (ctl.Checked)
                {
                    listpercent.Add(ctl.Tag.ToString());
                }
            }
            PassValue.listItemID = new ArrayList(listpercent.ToArray());
            PartOrder po = new PartOrder(consumption);

            po = (PartOrder)this.Owner;
            po.lbCount.Text = PassValue.listItemID.Count.ToString();
            hide();
        }
Exemplo n.º 5
0
        /// <summary>
        /// 部分打折
        /// </summary>
        public void Btn_Part_Click(object sender, EventArgs e)
        {
            initPic();
            this.Btn_Part.Image     = Properties.Resources.部分打折3;
            this.panelInfor.Visible = false;
            CloseMemberCard();
            this.panelChildren.Controls.Clear();

            PartOrder po = new PartOrder(memberConsumptionsid);

            po.Owner    = this;
            po.TopLevel = false;
            po.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.panelChildren.Controls.Add(po);
            po.Show();
            this.lbTitle.Text = "部分打折";
        }
Exemplo n.º 6
0
        /// <summary>
        /// 部分打折
        /// </summary>
        public void Btn_Part_Click(object sender, EventArgs e)
        {
            initPic();
            this.Btn_Part.Image = Properties.Resources.部分打折3;
            this.panelInfor.Visible = false;
            CloseMemberCard();
            this.panelChildren.Controls.Clear();

            PartOrder po = new PartOrder(memberConsumptionsid);
            po.Owner = this;
            po.TopLevel = false;
            po.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panelChildren.Controls.Add(po);
            po.Show();
            this.lbTitle.Text = "部分打折";
        }