private void categoryComboBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            //Item Load
            stockOut.Id         = Convert.ToInt32(itemComboBox.SelectedValue);
            stockOut.CategoryId = Convert.ToInt32(categoryComboBox.SelectedValue);
            stockOut.CompanyId  = Convert.ToInt32(companyComboBox.SelectedValue);

            DataTable itemDt = new DataTable();

            itemDt = stockOutRepository.LoadItem(stockOut);
            itemComboBox.DataSource = itemDt;

            itemComboBox.AutoCompleteMode   = AutoCompleteMode.SuggestAppend;
            itemComboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
        }
 public List <string> LoadItem(Company company, Category category)
 {
     return(_stockOutRepository.LoadItem(company, category));
 }
 public DataTable LoadItem(Item item)
 {
     return(_stockOutRepository.LoadItem(item));
 }