Beispiel #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            //products = dao.getList();

            try
            {
                presenter.loadProducts();
                //products = productDao.getList();
                //listBox1.DataSource = products;
                Groups = groupDao.getList();
                cmbProductGroupID.DataSource = Groups;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }