//-----
 public DataLoaderFacade(DBase datab)
 {
     db    = datab;
     store = new Stores(db);
     fods  = new Foods(db);
     price = new Prices(db);
 }
예제 #2
0
 //-----
 public DBTable(DBase datab, string tb_Name)
 {
     db        = datab;
     tableName = tb_Name;
     filled    = false;
     opened    = false;
     names     = new Hashtable();
 }
예제 #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");
        }
예제 #4
0
 public Prices(DBase db) : base(db, "Prices")
 {
     priceList = new ArrayList();
 }
예제 #5
0
 public Stores(DBase db) : base(db, "Stores")
 {
 }
예제 #6
0
 public Foods(DBase db) : base(db, "Foods")
 {
 }