private void Form3_Load(object sender, EventArgs e) { productNumber.Text = productnumber; productName.Text = productname; productInventory.Text = productinventory; productPrice.Text = productprice; productManufacturer.Text = productmanufacturer; if (Owner != null) { mainForm = Owner as mainForm1; } }
private void Form2_Load(object sender, EventArgs e) { custID.Text = custid; custName.Text = custname; custAge.Text = custage; custClass.Text = custclass; custJob2.Text = custjob; custPoint.Text = custpoint; if (Owner != null) { mainForm = Owner as mainForm1; } }
private void Form4_Load(object sender, EventArgs e) { orderNumber.Text = ordernumber; orderCust.Text = ordercust; orderProductNum.Text = orderproductNum; orderNum.Text = ordernum; orderHouse.Text = orderhouse; orderDate.Text = orderdate; if (Owner != null) { mainForm = Owner as mainForm1; } }