예제 #1
0
        }//End of btnUpdateVendor_Click(..)

        private void btAddVendor_Click(object sender, EventArgs e)
        {
            FrmAttachVendorSource frmVendorSource = new FrmAttachVendorSource(_currentProduct, _myAccessToken);

            frmVendorSource.ShowDialog();
            PopulateListView(lvVendors, _currentProduct.Id);
            btnRemoveVendor.Enabled = false;
            btnUpdateVendor.Enabled = false;
        }//End of btAddVendor_Click(..)
예제 #2
0
        }//End of lvVendors_SelectedIndexChanged(..)

        private void btnUpdateVendor_Click(object sender, EventArgs e)
        {
            int currentIndex = this.lvVendors.SelectedIndices[0];
            FrmAttachVendorSource frmVendorSource = new FrmAttachVendorSource(_currentProduct, vendorSourceList[currentIndex]);

            frmVendorSource.ShowDialog();
            PopulateListView(lvVendors, _currentProduct.Id);
            btnRemoveVendor.Enabled = false;
            btnUpdateVendor.Enabled = false;
        }//End of btnUpdateVendor_Click(..)
예제 #3
0
 private void btnUpdateVendor_Click(object sender, EventArgs e)
 {
     int currentIndex = this.lvVendors.SelectedIndices[0];
     FrmAttachVendorSource frmVendorSource = new FrmAttachVendorSource(_currentProduct, vendorSourceList[currentIndex]);
     frmVendorSource.ShowDialog();
     PopulateListView(lvVendors, _currentProduct.Id);
     btnRemoveVendor.Enabled = false;
     btnUpdateVendor.Enabled = false;
 }
예제 #4
0
 private void btAddVendor_Click(object sender, EventArgs e)
 {
     FrmAttachVendorSource frmVendorSource = new FrmAttachVendorSource(_currentProduct, _myAccessToken);
     frmVendorSource.ShowDialog();
     PopulateListView(lvVendors, _currentProduct.Id);
     btnRemoveVendor.Enabled = false;
     btnUpdateVendor.Enabled = false;
 }