//-----
 public DataLoaderFacade(DBase datab)
 {
     db    = datab;
     store = new Stores(db);
     fods  = new Foods(db);
     price = new Prices(db);
 }
Esempio n. 2
0
 //-----
 public DBTable(DBase datab, string tb_Name)
 {
     db        = datab;
     tableName = tb_Name;
     filled    = false;
     opened    = false;
     names     = new Hashtable();
 }
Esempio n. 3
0
        //-----------
        private void init()
        {
            db    = new AxsDatabase("Groceries.mdb");
            shops = new Stores(db);
            prc   = new Prices(db);
            loadFoodTable();
            ToolTip tips = new ToolTip();

            tips.SetToolTip(btLoad, "Reload data from groceries.txt file");
        }
Esempio n. 4
0
 public Prices(DBase db) : base(db, "Prices")
 {
     priceList = new ArrayList();
 }
Esempio n. 5
0
 public Stores(DBase db) : base(db, "Stores")
 {
 }
Esempio n. 6
0
 public Foods(DBase db) : base(db, "Foods")
 {
 }