private void btnUpdateReorderAmount_Click(object sender, EventArgs e) { int currentIndex = this.lvProducts.SelectedIndices[0]; Product thisProduct = _myProductManager.Products[currentIndex]; FrmUpdateReorderAmount frm = new FrmUpdateReorderAmount(thisProduct._reorderAmount, thisProduct.Id, _myAccessToken); frm.ShowDialog(); findActiveSelection(); }