示例#1
0
 private void send2btn_Click(object sender, EventArgs e)
 {
     Presentation_Layer.Buy_Forms.PurchaseOrder po = Owner as Buy_Forms.PurchaseOrder;
     po.codeproduct     = code;
     po.producttxt.Text = productname;
     this.Close();
 }
示例#2
0
 private void neworderbtn_Click(object sender, EventArgs e)
 {
     this.Controls.Clear();
     Presentation_Layer.Buy_Forms.PurchaseOrder po = new Presentation_Layer.Buy_Forms.PurchaseOrder();
     po.TopLevel = false;
     //po.Dock = DockStyle.Fill;
     this.Controls.Add(po);
     //this.Tag = po;
     po.Show();
 }