private void btnAddLineItemtoCurrentListView_Click(object sender, EventArgs e) { vendorOrder = new VendorOrder(Int32.Parse(txtVendorOrderID.Text), Int32.Parse(txtVendorID.Text)); FrmAddLineItemToVendorOrder _FrmAddLineItemToVendorOrder = new FrmAddLineItemToVendorOrder(vendorOrder, _myAccessToken); _FrmAddLineItemToVendorOrder.ShowDialog(); populateListView(); }