示例#1
0
        private void btnUpdateReorderThreshold_Click(object sender, EventArgs e)
        {
            int     currentIndex          = this.lvProducts.SelectedIndices[0];
            Product thisProduct           = _myProductManager.Products[currentIndex];
            FrmUpdateReorderThreshold frm = new FrmUpdateReorderThreshold(thisProduct._reorderThreshold, thisProduct.Id, _myAccessToken);

            frm.ShowDialog();
            findActiveSelection();
        }
示例#2
0
 private void btnUpdateReorderThreshold_Click(object sender, EventArgs e)
 {
     int currentIndex = this.lvProducts.SelectedIndices[0];
     Product thisProduct = _myProductManager.Products[currentIndex];
     FrmUpdateReorderThreshold frm = new FrmUpdateReorderThreshold(thisProduct._reorderThreshold, thisProduct.Id, _myAccessToken);
     frm.ShowDialog();
     findActiveSelection();
 }