Example #1
0
File: hjqk.cs Project: lanhaiyin/-
        private void hjqk_Load(object sender, EventArgs e)
        {
            Classzhuye zy = new Classzhuye();

            zy.a(this);
            cx.bh(comboxhjbh);
        }
Example #2
0
        private void cktj_Load(object sender, EventArgs e)
        {
            Classzhuye zy = new Classzhuye();

            zy.a(this);
            ck.DataBindingCmbckSpm(cmbspm);
            cmbspm.SelectedIndex = 0;

            c.spbh = int.Parse(cmbspm.SelectedValue.ToString());
            ck.DataBindingCmbckSpxh(cmdxh, c);
            cmdxh.SelectedIndex = 0;

            c.spbh = int.Parse(cmbspm.SelectedValue.ToString());
            c.xh   = cmdxh.SelectedValue.ToString();
            ck.DataBindingCmbckcfhj(cmbhj, c);
            cmbhj.SelectedIndex = 0;

            ck.DataBindingCmbckshr(cmbshr);
            cmbshr.SelectedIndex = 0;

            c.spbh = int.Parse(cmbspm.SelectedValue.ToString());
            c.cfhj = cmbhj.SelectedValue.ToString();
            c.xh   = cmdxh.SelectedValue.ToString();
            ck.DataBindingCmbcksl(c);
            sl.Text = "最多" + c.sl.ToString();
        }
Example #3
0
        private void rkyz_Load(object sender, EventArgs e)
        {
            Classzhuye zy = new Classzhuye();

            zy.a(this);
            yz.DataBindingDataGridView(dgvrkyz);
        }
Example #4
0
        private void spsc_Load(object sender, EventArgs e)
        {
            Classzhuye zy = new Classzhuye();

            zy.a(this);
            sp.jz(dg, dg2);
        }
Example #5
0
        private void ckdh_Load(object sender, EventArgs e)
        {
            Classzhuye zy = new Classzhuye();

            zy.a(this);
            cx.bh(comboxrkdh, "select * from ckdh", "ckbh", "ckbh");
        }
Example #6
0
File: xgyh.cs Project: lanhaiyin/-
        private void xgyh_Load(object sender, EventArgs e)
        {
            Classzhuye zy = new Classzhuye();

            zy.a(this);
            cr.cr(dg);
        }
Example #7
0
File: tjyh.cs Project: lanhaiyin/-
        private void tjyh_Load(object sender, EventArgs e)
        {
            boxqx.SelectedIndex = 0;
            Classzhuye zy = new Classzhuye();

            zy.a(this);
        }
Example #8
0
        private void hjxg_Load(object sender, EventArgs e)
        {
            Classzhuye zy = new Classzhuye();

            zy.a(this);
            hj.jz(dg);
        }
Example #9
0
        private void rktj_Load(object sender, EventArgs e)
        {
            Classzhuye zy = new Classzhuye();

            zy.a(this);
            rk.DataBindingCmbSpm(cmbspm);
            rk.DataBindingCmbgys(cmbgys);
            rk.DataBindingCmbcfhj(cmbhj);
        }
Example #10
0
File: spkc.cs Project: lanhaiyin/-
        private void spkc_Load(object sender, EventArgs e)
        {
            DataTable tc = new DataTable();

            tc = kc.cx(dg);
            Classzhuye zy = new Classzhuye();

            zy.a(this);
            Label[] lab = new Label[tc.Rows.Count];
            for (int i = 0; i < tc.Rows.Count; i++)
            {
                lab[i]          = new Label();
                lab[i].Location = new Point(550, (i + 1) * 40);
                lab[i].Text     = tc.Rows[i][0].ToString() + "规格为:" + tc.Rows[i][1].ToString() + "的数量为" + tc.Rows[i][2].ToString();
                lab[i].Size     = new Size(100, 25);
                this.Controls.Add(lab[i]);
            }
        }
Example #11
0
        private void rqcx_Load(object sender, EventArgs e)
        {
            Classzhuye zy = new Classzhuye();

            zy.a(this);
        }