public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { UIStoryboard storyboard = UIStoryboard.FromName("TagEditstory", NSBundle.MainBundle); TagEditViewController tagEditVC = (TagEditViewController)storyboard.InstantiateViewController("FromTable"); UINavigationController navController = new UINavigationController(tagEditVC); navController.NavigationBar.TintColor = UIColor.Red; tagEditVC.Title = "Edit Tag"; curVC.NavigationController.PushViewController(tagEditVC, true); tagEditVC.AnnoTag = TagList[indexPath.Row].AnnoTag; }
partial void addTagClick(NSObject sender) { UIStoryboard storyboard = UIStoryboard.FromName("TagEditstory", NSBundle.MainBundle); TagEditViewController tagEditVC = (TagEditViewController)storyboard.InstantiateViewController("FromTable"); UINavigationController navController = new UINavigationController(tagEditVC); navController.NavigationBar.TintColor = UIColor.Red; navController.View.BackgroundColor = UIColor.White; tagEditVC.Title = "New Tag"; this.NavigationController.PushViewController(tagEditVC, true); }