}//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(..)
}//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(..)
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; }
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; }