コード例 #1
0
        public void Fill()
        {
            List <Customer> customers = CustomerDB.GetCustomers();

            foreach (Customer c in customers)
            {
                base.Add(c);
            }
        }
コード例 #2
0
 public frmCustomers()
 {
     InitializeComponent();
     customerList = CustomerDB.GetCustomers();
     foreach (Customer c in customerList)
     {
         lstCustomers.Items.Add(c.GetDisplayText(" "));
     }
 }
コード例 #3
0
        private void frmCustomers_Load(object sender, EventArgs e)
        {
            customers = CustomerDB.GetCustomers();

            foreach (Customer c in customers)
            {
                lstCustomers.Items.Add(c);
            }
        }
コード例 #4
0
        public void Fill()
        {
            List <Customer> customers = CustomerDB.GetCustomers();

            foreach (Customer customer in customers)
            {
                base.Add(customer);
            }
            Changed(this);
        }
コード例 #5
0
 // Form load event handler
 private void frmCustomers_Load(object sender, EventArgs e)
 {
     customers = CustomerDB.GetCustomers();
     FillCustomerListBox();
 }
コード例 #6
0
ファイル: CustomerList.cs プロジェクト: MKperson/234N_lab_2
 public void Fill()
 {
     customers = CustomerDB.GetCustomers();
 }
コード例 #7
0
        private List <Customer> customers = null; // create class variable list for customer

        private void frmCustomers_Load(object sender, EventArgs e)
        {
            customers = CustomerDB.GetCustomers(); // get list of customers
            FillCustomerListBox();                 // call method to fill customer list box
        }
コード例 #8
0
 private void frmProductionMain_Load(object sender, System.EventArgs e)
 {
     customers = CustomerDB.GetCustomers();
     FillCustomerListBox();
 }
コード例 #9
0
 private void frmCustomers_Load(object sender, EventArgs e) // When the form loads...
 {
     customers = CustomerDB.GetCustomers();                 // Grab the customers out of the database
     FillCustomerListBox();                                 // Then fill the list box with them
 }
コード例 #10
0
ファイル: frmCustomers.cs プロジェクト: GenericOreos/School
 private void frmCustomers_Load(object sender, EventArgs e)
 {
     // TODO: Add a statement that gets the customers here
     customers = CustomerDB.GetCustomers();
     FillCustomerListBox();
 }