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