示例#1
0
文件: Form1.cs 项目: HongPan7/codes
 public rptItem(item a, item_desc b, item_type c)
 {
     item_id = a.item_id;
     in_date = (DateTime)a.inDate;
     type_desc = c.type_desc;
     item_desc = string.Concat(b.brand, " ",b.item_desc1);
     quality = a.quality;
     unit_price = (Single)b.price;
     total_price = (Single)(a.quality * b.price);
 }
 private void button3_Click(object sender, EventArgs e)
 {
     item I = new item();
     I.Show();
 }
 private void itemsInformationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     item itemsf = new item();
     itemsf.Show();
 }