Ejemplo n.º 1
0
 public POSelForm(string partno, int custid,string cname)
 {
     cList = new CustomerList();
     CustID =custid;
     PartNum = partno;
     InitializeComponent();
     pList = new POList("OPEN");
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 private void Form2_Load(object sender, EventArgs e)
 {
     CustList = new CustomerList();
     CustCombo.DataSource = CustList.ListCustomers();
 }