public void CUST_SRCH_BOX_Click(object sender, EventArgs e) { this.Close(); AllInventory s = new AllInventory(); s.searchquery = CustomerSearchBox.Text; s.Show(); }
private void btnViewAll_Click(object sender, EventArgs e) { this.Hide(); AllInventory AllInventory = new AllInventory(); AllInventory.searchquery = "*"; AllInventory.Show(); }