public MainWindow() { InitializeComponent(); DataBaseWrapper.ConnectDataBase(); Bread.BreadTypes = DataBaseWrapper.GetBreadTypeTable(); StoreHouse.CreateStoreHouse(100); store = StoreHouse.GetStoreHouse(); }
private void RefreshData() { Bread.BreadTypes = DataBaseWrapper.GetBreadTypeTable(); }