private void BindForm() { fileDialog.Filter = Resources.frmJewelMaster_BindForm_All_Graphics_Types___jpg__JPG___jpg_; groupBox.Enabled = btnSave.Enabled = false; cboJewelDesc.DataSource = LocalStore.Products.GetProducts(); QueryableItems = _jewelService.GetJewelMaster().OrderBy(x => x.JewelId); MDIForm.autoComplete.Items.Clear(); if (QueryableItems != null) { BindValues(CurrentItem.Entity); } }
public frmAllJewelsBarcodePrint(IJewelService jewelService) : this() { SelectedJewels = new List <JewelMaster>(); Jewels = jewelService.GetJewelMaster(); }