private void hjqk_Load(object sender, EventArgs e) { Classzhuye zy = new Classzhuye(); zy.a(this); cx.bh(comboxhjbh); }
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(); }
private void rkyz_Load(object sender, EventArgs e) { Classzhuye zy = new Classzhuye(); zy.a(this); yz.DataBindingDataGridView(dgvrkyz); }
private void spsc_Load(object sender, EventArgs e) { Classzhuye zy = new Classzhuye(); zy.a(this); sp.jz(dg, dg2); }
private void ckdh_Load(object sender, EventArgs e) { Classzhuye zy = new Classzhuye(); zy.a(this); cx.bh(comboxrkdh, "select * from ckdh", "ckbh", "ckbh"); }
private void xgyh_Load(object sender, EventArgs e) { Classzhuye zy = new Classzhuye(); zy.a(this); cr.cr(dg); }
private void tjyh_Load(object sender, EventArgs e) { boxqx.SelectedIndex = 0; Classzhuye zy = new Classzhuye(); zy.a(this); }
private void hjxg_Load(object sender, EventArgs e) { Classzhuye zy = new Classzhuye(); zy.a(this); hj.jz(dg); }
private void rktj_Load(object sender, EventArgs e) { Classzhuye zy = new Classzhuye(); zy.a(this); rk.DataBindingCmbSpm(cmbspm); rk.DataBindingCmbgys(cmbgys); rk.DataBindingCmbcfhj(cmbhj); }
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]); } }
private void rqcx_Load(object sender, EventArgs e) { Classzhuye zy = new Classzhuye(); zy.a(this); }