public POSelForm(string partno, int custid,string cname) { cList = new CustomerList(); CustID =custid; PartNum = partno; InitializeComponent(); pList = new POList("OPEN"); }
private void Form3_Load(object sender, EventArgs e) { CustList = new CustomerList(); CustCombo.DataSource = CustList.ListCustomers(); Customer TCust = CustList.SearchCustomer(CustCombo.Text); custNameLbl.Text = TCust.CustName; PartList = new PartsList(); PartCombo.DataSource = PartList.GetCustParts(TCust.ID); POL = new POList(); cid = 0; }
private void Form2_Load(object sender, EventArgs e) { CustList = new CustomerList(); CustCombo.DataSource = CustList.ListCustomers(); }