38 lines
723 B
C#
38 lines
723 B
C#
using System.ComponentModel;
|
|
|
|
namespace C968Project;
|
|
|
|
public class Inventory
|
|
{
|
|
public BindingList<Product> Products { get; set; }
|
|
public BindingList<Part> Parts { get; set; }
|
|
|
|
public void AddProduct(Product product){}
|
|
|
|
public bool RemoveProduct(int productIndex)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public Product LookupProduct(int partIndex)
|
|
{
|
|
return null;
|
|
}
|
|
public void UpdateProduct(int index, Product newProduct){}
|
|
|
|
|
|
public void AddPart(Part part){}
|
|
|
|
public bool DeletePart(Part part)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public Part LookupPart(int partIndex)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public void UpdatePart(int index, Part newPart){}
|
|
|
|
} |