Пример #1
0
 public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     drinkList = dBHelper.getAllDrinks();
     HistoryTableView.Source = new TableSource(drinkList, this);
     HistoryTableView.ReloadData();
 }
Пример #2
0
 public override void ViewWillAppear(bool animated)
 {
     base.ViewWillAppear(animated);
     drinkList = dBHelper.getAllDrinks();
     HistoryTableView.Source = new TableSource(drinkList, this);
     HistoryTableView.ReloadData();
 }
        void ReleaseDesignerOutlets()
        {
            if (HistoryLabel != null)
            {
                HistoryLabel.Dispose();
                HistoryLabel = null;
            }

            if (HistoryTableView != null)
            {
                HistoryTableView.Dispose();
                HistoryTableView = null;
            }

            if (NoHistoryLabel != null)
            {
                NoHistoryLabel.Dispose();
                NoHistoryLabel = null;
            }
        }