protected void HandleTouchUpInsideMyRecipes(object sender, System.EventArgs e) { // Launches a new instance of PictureRecipesViewController RootViewController callHistory = this.Storyboard.InstantiateViewController("RootViewController") as RootViewController; if (callHistory != null) { this.NavigationController.PushViewController(callHistory, true); } }
// this will be called before the view is displayed public void SetStock(RootViewController d, Stock Stock) { Delegate = d; currentStock = Stock; }