private void LocationListView_Load(object sender, EventArgs e) { // Bind the storage types StorageType storageType = new StorageType(); storageType.LoadAll(); lkStorageType.Properties.DataSource = storageType.DefaultView; lkStorageType.ItemIndex = 0; }
private void lkPhysicalStore_EditValueChanged(object sender, EventArgs e) { StorageType stt = new StorageType(); stt.LoadDistictStoreTypeForPhysicalStore((int)lkPhysicalStore.EditValue); lkStorageType2.Properties.DataSource = stt.DefaultView; }
private void LocationReports_Load(object sender, EventArgs e) { StorageType stt = new StorageType(); stt.LoadAll(); lkStorageType.Properties.DataSource = stt.DefaultView; lkStorageType2.Properties.DataSource = stt.DefaultView; lkStorageType.ItemIndex = 0; lkStorageType2.EditValue = 1; }
private void lkPhysicalStores_EditValueChanged(object sender, EventArgs e) { BLL.StorageType storageType=new BLL.StorageType(); storageType.LoadByPhysicalStoreID(int.Parse(lkPhysicalStores.EditValue.ToString())); lkStorageType.Properties.DataSource = storageType.DefaultView; }
private void lkPhysicalStores_EditValueChanged(object sender, EventArgs e) { BLL.StorageType storageType = new BLL.StorageType(); storageType.LoadByPhysicalStoreID(int.Parse(lkPhysicalStores.EditValue.ToString())); lkStorageType.Properties.DataSource = storageType.DefaultView; }