示例#1
0
        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();
        }
示例#2
0
 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();
 }