Esempio n. 1
0
        }//End of setDefaults()

        //Need to make sure that this links up with Nathan's code correctly.
        private void btnAdd_Click(object sender, EventArgs e)
        {
            ProductView frm = new ProductView(_myAccessToken);

            frm.ShowDialog();
            findActiveSelection();
        }//End of btnAdd_Click(..)
Esempio n. 2
0
        }//End of btnAdd_Click(..)

        //Need to make sure that this links up with Nathan's code correctly.
        private void btnUpdateProduct_Click(object sender, EventArgs e)
        {
            int         currentIndex = this.lvProducts.SelectedIndices[0];
            Product     thisProduct  = _myProductManager.Products[currentIndex];
            ProductView frm          = new ProductView(_myAccessToken, thisProduct);

            frm.ShowDialog();
            findActiveSelection();
        }//End of btnUpdateProduct_Click(..)
Esempio n. 3
0
 //Need to make sure that this links up with Nathan's code correctly.
 private void btnAdd_Click(object sender, EventArgs e)
 {
     ProductView frm = new ProductView(_myAccessToken);
     frm.ShowDialog();
     findActiveSelection();
 }
Esempio n. 4
0
 //Need to make sure that this links up with Nathan's code correctly.
 private void btnUpdateProduct_Click(object sender, EventArgs e)
 {
     int currentIndex = this.lvProducts.SelectedIndices[0];
     Product thisProduct = _myProductManager.Products[currentIndex];
     ProductView frm = new ProductView(_myAccessToken, thisProduct);
     frm.ShowDialog();
     findActiveSelection();
 }